bigalpha 1 Posted May 12, 2023 Posted May 12, 2023 I was messing around trying to get my server accessible from a private domain. I changed the ports on my server to match this post. I'm now unable to access it via the LAN IP or the remote IP. These were working just fine before I touched things. I'm wondering how to manually update this via command line since I can't access the GUI anymore. Previous paths I came across while searching didn't pan out. The only complicating factor is that I have the server installed in an LXC in proxmox. Any help would be appreciated.
seanbuff 1132 Posted May 12, 2023 Posted May 12, 2023 14 minutes ago, bigalpha said: I'm wondering how to manually update this via command line since I can't access the GUI anymore. You can use a text editor to manually edit the following lines in: /Emby-Server/programdata/config/system.xml <HttpServerPortNumber>8096</HttpServerPortNumber> <HttpsPortNumber>8920</HttpsPortNumber>
bigalpha 1 Posted May 12, 2023 Author Posted May 12, 2023 Apologies if I'm missing something obvious, but I'm a linux novice. I tried this command in both the host and container, and the file did not exist in either location. nano /Emby-Server/programdata/config/system.xml
seanbuff 1132 Posted May 12, 2023 Posted May 12, 2023 6 minutes ago, bigalpha said: I tried this command in both the host and container, and the file did not exist in either location. Sorry that was an example. I don't have a linux system so am unsure of the correct full path. Typically it would be something like /opt/emby-server/.../.../.../ -- but I have no experience with LXC on Proxmox
bigalpha 1 Posted May 12, 2023 Author Posted May 12, 2023 Oh gotcha. Do you know if the config always located in system.xml?
seanbuff 1132 Posted May 12, 2023 Posted May 12, 2023 5 minutes ago, bigalpha said: Do you know if the config always located in system.xml? Yes, that is the file you want ...the full path to it may be different but it should always be in '.../programdata/config/system.xml' as per my original comment
bigalpha 1 Posted May 12, 2023 Author Posted May 12, 2023 Thanks for the lead. I'll poke around some more and see if I can find it!
Featured Comment bigalpha 1 Posted May 12, 2023 Author Featured Comment Posted May 12, 2023 Quick follow-up... I was able to find the file and revert the changes and access my server again! For others, I found it in /var/lib/emby/config/system.xml in the LXC. Thanks for the help! 1
seanbuff 1132 Posted May 12, 2023 Posted May 12, 2023 7 minutes ago, bigalpha said: Quick follow-up... Great, thanks for following up and glad you got it sorted! 1
Recommended Posts
Posted by bigalpha,
System config file path in LXC container
Recommended by seanbuff
1 reaction
Go to this post
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