embydood33 0 Posted November 18, 2021 Share Posted November 18, 2021 (edited) Hi, I run nightly updates on my docker emby server, and I think something last night busted... I'm now getting 403 Forbidden on all devices trying to access the embyserver. I restarted the docker container several times, and even went back several versions and it's still having issues. Any ideas how I can fix this? Edit: I noticed these popping up in the logs: 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Maybe related? Edited November 18, 2021 by embydood33 Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 18, 2021 Share Posted November 18, 2021 35 minutes ago, embydood33 said: Hi, I run nightly updates on my docker emby server, and I think something last night busted... I'm now getting 403 Forbidden on all devices trying to access the embyserver. I restarted the docker container several times, and even went back several versions and it's still having issues. Any ideas how I can fix this? Edit: I noticed these popping up in the logs: 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.643 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.14, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.644 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2021-11-18 15:50:10.645 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.7.0.8, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Maybe related? Hi, this is due to rolling back and forth between the beta and stable channels on the same installation, which is not supported. I would suggest going back up to the beta channel. Link to comment Share on other sites More sharing options...
embydood33 0 Posted November 18, 2021 Author Share Posted November 18, 2021 (edited) 8 minutes ago, Luke said: Hi, this is due to rolling back and forth between the beta and stable channels on the same installation, which is not supported. I would suggest going back up to the beta channel. Interesting. I added `:beta` to my docker-compose and it's still showing forbidden. Also, could the documentation for `emby/embyserver` (in the docker-compose examples) be updated from the following to something that it should be if we don't want it to flip between stable and beta? I think I had the wrong impression that this was only pulling from stable: image: emby/embyserver What would the proper tag be if I want to use only stable? I see it's ":latest". Updated it to that. In the meantime, is there a way I can fix this issue I'm running into? Edited November 18, 2021 by embydood33 Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 18, 2021 Share Posted November 18, 2021 @embydood33 please attach the complete emby server log file. thanks. Link to comment Share on other sites More sharing options...
embydood33 0 Posted November 18, 2021 Author Share Posted November 18, 2021 Here's a clean log. Started it, refreshed the page once to get the 403 forbidden, then stopped it. embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 18, 2021 Share Posted November 18, 2021 Try updating back to the beta and then attach the complete emby server log. thanks. Link to comment Share on other sites More sharing options...
embydood33 0 Posted November 18, 2021 Author Share Posted November 18, 2021 Changed to `emby/embyserver:beta` and did the same steps (up, refresh, down). Looks like the "file not found" errors do disappear, but it's still giving a 403 forbidden. Note: For what it's worth, if anything, I did a `diff -r` on the /config/config folder w/ a backup over the weekend and there are zero differences (and I use emby daily to listen to radio streams), so I don't think any configs got changed that would have caused blocking local ip addresses or something. I also moved my emby root config folder to a tmp name and then restarted the server (so that it would re-create the whole thing), and it starts up with the introduction of setting up the server... So I'm wondering if something in the database is erroring out to cause this 403? Total guesses without knowledge of what would make 403s for embyserver embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 18, 2021 Share Posted November 18, 2021 Have you customized any emby server network settings? Link to comment Share on other sites More sharing options...
embydood33 0 Posted November 18, 2021 Author Share Posted November 18, 2021 Outside of the default settings? Yes. Since yesterday or the weekend/backup? No. I just restored my backup and explicitely put `emby/embyserver:4.6.4.0` since that's what was showing in the latestversion.txt file. This seems to have worked and allowed me to start it up. I then updated it to 4.6.5.0 and then it showed forbidden. I'm attaching the output from "docker-compose up" after updating it to version 4.6.5.0... Nothing stands out to me personally, but it looks like something in between those two patch versions may have caused this to start. embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 18, 2021 Share Posted November 18, 2021 Try going to /config/config/system.xml and removing some of the options. Same subnet detection was improved in this release, so you might be running into this if you designed your rules around the previous behavior. Of course as always, better to just leave the options at defaults and only customize them if you have a specific reason to. 1 Link to comment Share on other sites More sharing options...
embydood33 0 Posted November 18, 2021 Author Share Posted November 18, 2021 3 minutes ago, Luke said: Try going to /config/config/system.xml and removing some of the options. Same subnet detection was improved in this release, so you might be running into this if you designed your rules around the previous behavior. Of course as always, better to just leave the options at defaults and only customize them if you have a specific reason to. I did what I did earlier with creating a new "setup" instance and ran a diff on system.xml. Found this one that stood out to me when running a diff: < <EnableRemoteAccess>false</EnableRemoteAccess> --- > <EnableRemoteAccess>true</EnableRemoteAccess> Changed my config file to true and voila, newest stable version works again. Thanks for the super quick responses and support, much appreciated! Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 18, 2021 Share Posted November 18, 2021 Thanks for the feedback. Link to comment Share on other sites More sharing options...
bpeters504 0 Posted November 20, 2021 Share Posted November 20, 2021 On 11/18/2021 at 12:20 PM, embydood33 said: I did what I did earlier with creating a new "setup" instance and ran a diff on system.xml. Found this one that stood out to me when running a diff: < <EnableRemoteAccess>false</EnableRemoteAccess> --- > <EnableRemoteAccess>true</EnableRemoteAccess> Changed my config file to true and voila, newest stable version works again. Thanks for the super quick responses and support, much appreciated! Just wanted to let people know this happened to me also. I'm on the same subnet, but had to enable remote access. I think the "improved" same-subnet checking code, needs to be looked at. Thanks, -Bill Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 20, 2021 Share Posted November 20, 2021 2 hours ago, bpeters504 said: Just wanted to let people know this happened to me also. I'm on the same subnet, but had to enable remote access. I think the "improved" same-subnet checking code, needs to be looked at. Thanks, -Bill We'd have to look at a specific example. Since you didn't' provide a server log, let's look at the previous user's example. His local network address is: NetworkManager: Detected local ip addresses: 172.23.0.2 192.X is not part of that subnet and is therefore rejected. Perhaps the local network address isn't' correct, which could potentially be caused by the way the docker container is configured. If it's not correct, then the user will probably want to look at that. If it is correct, then 192.X can be made to be considered on the local network using the Lan networks field. 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