Media Index and Multimedia Server doesn't start

Photo, music, video management; Video streaming, decoding, transcoding.
Locked
User avatar
Xcentric
Posts: 8
Joined: 07 Sep 2022, 00:55

Media Index and Multimedia Server doesn't start

Post by Xcentric »

Hardware: F2-221
OS: TOS 5 (5.0.176)

Recently I just changed my temporary 1 tb(1 slot) in my NAS and switched over to a larger capacity(2slot - RAID 1).
When I want to enable Media Index and apply, it will say "Configuration Saved!" but will return to unchecked. Same for the application Multimedia Server.
Enable.png
Success but not enabled.png
I have restarted, reinstalled the Multimedia Server, still does not work. Is there anything I can do other than starting from the start?
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Media Index and Multimedia Server doesn't start

Post by TMSupport »

Please export the log of the media index and send it to us.
Log in to SSH terminal

Code: Select all

cp -r /var/log/media.log /Volume1/public/

Code: Select all

cp -r /var/log/mediadb/mediadb.log /Volume1/public/
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
Xcentric
Posts: 8
Joined: 07 Sep 2022, 00:55

Re: Media Index and Multimedia Server doesn't start

Post by Xcentric »

I only managed to pull out media.log, couldn't find mediadb.log.
I looked through the log folder and there's no folder named "mediadb"

media.log

[2022/11/07 20:36:10] sql.c:136: error: sql=SELECT VALUE from SETTINGS where KEY = 'UPDATE_ID'
[2022/11/07 20:36:10] sql.c:34: error: connect postgresql failed!
[2022/11/07 20:36:10] minidlna.c:516: error: check_pg_db:new_db=-1
[2022/11/07 20:36:10] minidlna.c:619: warn: Creating new database at /Volume1/@system/media/pgsql
[2022/11/07 22:04:25] minidlna.c:349: error: connect postgresql failed!
[2022/11/07 22:04:25] sql.c:135: error: pg_sql_get_int_field: ERROR 7 [no connection to the server]
Locked