Page 1 of 1

[Solved] Web console Error adding shared folder

PostPosted: Mon Jul 10, 2017 11:44 am
by Urbietus
I´m here again... :roll: :roll:
I´m adding folder to serviio and i get server error
Captura de pantalla 2017-07-10 a las 13.38.12.png
Server Error
Captura de pantalla 2017-07-10 a las 13.38.12.png (86.84 KiB) Viewed 4004 times


It´s a fstab mounted disk, but it has 777 permissions.

where is the log file that it says to check.
i try with [serviio folder]/log/* files but, here it isn´t and also with /var/logs/*

some ideas please??

thank you.

Re: Web console Error adding shared folder

PostPosted: Tue Jul 11, 2017 5:08 pm
by atc98092
But does the Serviio service have 777 permissions? You can't go by your user permissions, unless you change the Serviio service to run under your user account.

Re: Web console Error adding shared folder

PostPosted: Tue Jul 11, 2017 10:07 pm
by zip
It's under Serviio folder log folder

Re: Web console Error adding shared folder

PostPosted: Wed Jul 12, 2017 12:30 am
by Urbietus
I don´t know where was the problems but after many proobes, I knew the ploblem was in permissions.
if i star service manually with sudo command, the console saves folders perfectly but i don´t know which files writes the console service, so i can´t change permission.
after some changes i saw an error messages in log( klap klap klap), here says something about database cant start or somethin like that
Captura de pantalla 2017-07-12 a las 2.24.02.png
db error
Captura de pantalla 2017-07-12 a las 2.24.02.png (54.58 KiB) Viewed 3977 times


So i thought, the first time that i started the program was with my user manually, it solves many problems, why not start it with serviio user manually and then with service that uses serviio user? and now it works.

if it helps someone, this is my experience.

Re: [Solved] Web console Error adding shared folder

PostPosted: Thu Jul 13, 2017 12:05 pm
by zip
the user that runs the service needs a write access to the installation folder

Re: [Solved] Web console Error adding shared folder

PostPosted: Tue Jul 18, 2017 11:30 pm
by Urbietus
i supposed that, so i changed the owner and group of serviio folder and i put 777 permissions( others), but it hadnt worked.

Re: [Solved] Web console Error adding shared folder

PostPosted: Fri Mar 29, 2024 9:19 pm
by Primerius
I have this error on linux when I try to add shared folders.
It works fine with windows 10. Not working in Linux though.
Great program, the best for my need to watch movies with tv from my pc.
All the other sofrwate I used cant load some video files, but serviio can do it, its the best.

But new to Linux, so I am probably doing something wrong.
I have java, ffmpeg
after I donloaded serviio it did not start until used the command sudo chown -R YOURUSER:YOURUSER SERVIOFOLDER
after that it started, but not possible to save the shared folders because of the error 500.
My samsung tv have access to serviio, but I cant add folder with movies.
Do i need some other permissions?

I see people attaching log files, not sure if this is the correct one!
Also not sure if I have to write in this thread of write a new one.
Thank you in advance.

Re: [Solved] Web console Error adding shared folder

PostPosted: Sat Mar 30, 2024 10:35 pm
by atc98092
Primerius wrote:I have this error on linux when I try to add shared folders.
It works fine with windows 10. Not working in Linux though.
Great program, the best for my need to watch movies with tv from my pc.
All the other sofrwate I used cant load some video files, but serviio can do it, its the best.

But new to Linux, so I am probably doing something wrong.
I have java, ffmpeg
after I donloaded serviio it did not start until used the command sudo chown -R YOURUSER:YOURUSER SERVIOFOLDER
after that it started, but not possible to save the shared folders because of the error 500.
My samsung tv have access to serviio, but I cant add folder with movies.
Do i need some other permissions?

With Linux, it's most likely a permissions issue for the folder you are trying to add. Linux permissions are more complicated than Windows in some respects, and easier in others. First determine what user account Serviio is using to run it's service under (I have no idea how that is determined in Linux) and then make sure that user account has permission to read the desired folder(s).

Re: [Solved] Web console Error adding shared folder

PostPosted: Thu Apr 04, 2024 4:30 pm
by Primerius
It was the group permission that was causing the trouble.
It is all working now :)