Kodi Community Forum
Database on NAS for shared acces ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Database on NAS for shared acces ? (/showthread.php?tid=354034)



Database on NAS for shared acces ? - estate2 - 2020-04-30

Hi, sorry for beeing away for such a long time but due to some health issues I've been unable to attend this forum and therefore I apologise if I have not answered my last post.

I have a question I had a long time ago though: Is it possible to store the database on my NAS server so I can acces it from the various devices on the home network ?

We own 3 streaming devices and one computer on which I like to share the data so I do not need to refresh every player separately but for example can manage it from my computer and let all streaming devices then pick up the data when they start up.

I am not looking for a solution with a separate database  or a database on my computer because then I need to have, for example, to keep my pc running all day.

Kind regards to all and please stay safe, stay away from Covid and stay healthy.


RE: Database on NAS for shared acces ? - Klojum - 2020-04-30

(2020-04-30, 21:32)estate2 Wrote: Is it possible to store the database on my NAS server so I can acces it from the various devices on the home network ?

If your NAS can run a MySQL or MariaDB server, then the answer is a simple 'yes'. (provided the NAS is not too old...)
The video and/or music databases will store all metadata, and will share them as requested to each Kodi device.

One other condition is that all connected Kodi devices have the same major version of Kodi running (v17, v18, etc).

And there is no need to apologize for anything.


RE: Database on NAS for shared acces ? - estate2 - 2020-04-30

(2020-04-30, 21:46)Klojum Wrote:
(2020-04-30, 21:32)estate2 Wrote: Is it possible to store the database on my NAS server so I can acces it from the various devices on the home network ?

If your NAS can run a MySQL or MariaDB server, then the answer is a simple 'yes'. (provided the NAS is not too old...)
The video and/or music databases will store all metadata, and will share them as requested to each Kodi device.

One other condition is that all connected Kodi devices have the same major version of Kodi running (v17, v18, etc).

And there is no need to apologize for anything. 
Hi,

It runs phpadmin and therefore mysql I found at the WD webpage, at least on my EX4.
I have installed phpadmin and can acces the standard account, but the first problem I see is that phpadmin says its an older version that needs an update.


RE: Database on NAS for shared acces ? - Klojum - 2020-04-30

NAS devices tend to have their own eco system, so I'm not sure if it can be updated that easily. Alternatively, you could install PHPMyAdmin on a PC, but you would need PHP as well for that.

The bigger question is: which version of MySQL is running on the NAS? The NAS being from 2014 does not radiate much hope.


RE: Database on NAS for shared acces ? - estate2 - 2020-04-30

(2020-04-30, 22:20)Klojum Wrote: NAS devices tend to have their own eco system, so I'm not sure if it can be updated that easily. Alternatively, you could install PHPMyAdmin on a PC, but you would need PHP as well for that.

The bigger question is: which version of MySQL is running on the NAS? The NAS being from 2014 does not radiate much hope.
As I just discovered after your reply it seems that the mysql version is way too old to even think of getting some hope up to a working databse.

So thats all folks, another peace of hardware to end up in the dustbin Smile

Thanks for your reply.


RE: Database on NAS for shared acces ? - Klojum - 2020-04-30

Some people use a Raspberry Pi with LibreELEC on it, along with a MariaDB database add-on. It's simple to setup as a cheap alternative.


RE: Database on NAS for shared acces ? - estate2 - 2020-04-30

(2020-04-30, 22:45)Klojum Wrote: Some people use a Raspberry Pi with LibreELEC on it, along with a MariaDB database add-on. It's simple to setup as a cheap alternative.

I will consider that, thanks.

As I have some old mediastreaming boxes laying around here on which I can flash libreElec onto it could be an option to try, thanks for the LibreElec tip.

And now to sleep a good night over it and see if I can cook up something Smile


RE: Database on NAS for shared acces ? - jmgibson1981 - 2020-05-01

(2020-04-30, 22:30)estate2 Wrote:
(2020-04-30, 22:20)Klojum Wrote: NAS devices tend to have their own eco system, so I'm not sure if it can be updated that easily. Alternatively, you could install PHPMyAdmin on a PC, but you would need PHP as well for that.

The bigger question is: which version of MySQL is running on the NAS? The NAS being from 2014 does not radiate much hope.
As I just discovered after your reply it seems that the mysql version is way too old to even think of getting some hope up to a working databse.

So thats all folks, another peace of hardware to end up in the dustbin Smile

Thanks for your reply.

This is a great reason to roll your own nas / file server. I don't know about windows. On Ubuntu I've got some fairly old hardware running current software just fine. Will likely continue to run till hardware failure. No forced obsolesence.