Alex45 12 Posted April 30, 2021 Share Posted April 30, 2021 Hi , i would like to modify my system.xml on my synology nas. Which is the location please ? Link to comment Share on other sites More sharing options...
Solution FrostByte 5052 Posted April 30, 2021 Solution Share Posted April 30, 2021 /volume1/Emby/config 1 Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 3, 2021 Author Share Posted June 3, 2021 Hi , just upgraded to dsm 7. Where is the new location of system.xml please ? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted June 3, 2021 Share Posted June 3, 2021 Doesn't Dashboard Paths tell you the general location? Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 3, 2021 Author Share Posted June 3, 2021 Hi , i found , in dsm 7 var/packages/EmbyServer/var/config/system.xml But how i edit this file in putty ? Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 3, 2021 Author Share Posted June 3, 2021 I found how to edit in WinCSP but when i save the file it told me it's impossible , the owner is : emby and the group is : emby I don't know what to do ? Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 3, 2021 Share Posted June 3, 2021 Why do you need to edit the file? Link to comment Share on other sites More sharing options...
kaj 242 Posted June 3, 2021 Share Posted June 3, 2021 1 hour ago, Alex45 said: I found how to edit in WinCSP but when i save the file it told me it's impossible , the owner is : emby and the group is : emby I don't know what to do ? Give your user R/W permission for the EmbyServer folder.... 1 Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 4, 2021 Author Share Posted June 4, 2021 Hi , for Luke : I need to edit system.xml to add some line to let emby ignore french articles ( le la les un une) when i sort movie by name. for kaj : I understand your answer , but i don't know how to give my user R/W permission for the EmbyServer folder Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 4, 2021 Author Share Posted June 4, 2021 So the best i think is to login with WinSCP with the user : emby and his password. But i don't know how to find the password of the emby user.... Link to comment Share on other sites More sharing options...
kaj 242 Posted June 4, 2021 Share Posted June 4, 2021 You can SSH in as your admin user, then use the su command to change to the root user, then you can access the EmbyServer folder and either edit it directly, or change it's properties to give your normal user access. Either way, be careful... Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 4, 2021 Author Share Posted June 4, 2021 When i am in putty , i attemp to login with user : admin and my password , it said me access denied. I'm sure of my password is good. I don't understand why ? Link to comment Share on other sites More sharing options...
kaj 242 Posted June 4, 2021 Share Posted June 4, 2021 33 minutes ago, Alex45 said: When i am in putty , i attemp to login with user : admin and my password , it said me access denied. I'm sure of my password is good. I don't understand why ? https://community.synology.com/enu/forum/17/post/10827 Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 4, 2021 Author Share Posted June 4, 2021 hi , thanks for your answer kaj but the link you take to me is too complicated . I'm french and i don't understand the whole process explained in the link. So for me , the most simple is to log in in WinSCP with the user emby and his password , but i don't know the emby password.... Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 4, 2021 Share Posted June 4, 2021 We should look at adding this into the user interface. 1 Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 4, 2021 Author Share Posted June 4, 2021 Hi , anybody has a simple way to modify this system.xml ? Link to comment Share on other sites More sharing options...
kaj 242 Posted June 5, 2021 Share Posted June 5, 2021 If you log into to your NAS, via SSH, with your normal admin user...then type: sudo su - Then enter your normal admin user password. You should then see the prompt changes to 'root@servername'. This means you are now the superuser. Now you can access and change ANY folder or file on your system. Which is why you must be careful. Or else, you'll have to wait until Luke makes it more accessible. Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 5, 2021 Author Share Posted June 5, 2021 Hi , thanks kaj for your answer . I follow your unstructions. Now in putty , i'm root , i navigate to var/packages/EmbyServer/var/config/. I now see the system.xml Now , what to do to edit this file ? Link to comment Share on other sites More sharing options...
kaj 242 Posted June 5, 2021 Share Posted June 5, 2021 You can either copy it to a location you can normally access, edit it with Notepad, then copy it back or use the "vi" editor (Google it for use and commands) Link to comment Share on other sites More sharing options...
Alex45 12 Posted June 5, 2021 Author Share Posted June 5, 2021 Hi , i have successfully done the modication. Like kaj says , first connect with putty with your user and password , then sudo -i to obtain the root. Navigate to system.xml folder , change owner of the file with chown command. Go to winscp navigate to system.xml , edit and save change. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now