tvinhas 13 Posted December 23, 2016 Share Posted December 23, 2016 Tried a few times, but the Restart button shuts down Emby server but fails to bring it back up. Here is the exception just after I clicked Restart: 2016-12-23 13:49:54.8984 Info HttpServer: HTTP POST http://10.0.0.45:8096/emby/System/Restart. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 2016-12-23 13:49:54.9022 Info HttpServer: HTTP Response 204 to 10.0.0.10. Time: 4ms. http://10.0.0.45:8096/emby/System/Restart 2016-12-23 13:49:55.0116 Info App: Calling RestartInternal 2016-12-23 13:49:55.0121 Info Main: Disposing app host 2016-12-23 13:49:55.0121 Info App: Disposing MonoAppHost 2016-12-23 13:49:55.0135 Info App: Disposing TaskManager 2016-12-23 13:49:55.0147 Info App: Disposing HttpClientManager 2016-12-23 13:49:55.0147 Info App: Disposing IsoManager 2016-12-23 13:49:55.0152 Info App: [LinuxMount] Disposing [True]. 2016-12-23 13:49:55.0152 Info App: Disposing InstallationManager 2016-12-23 13:49:55.0152 Info App: Disposing SqliteUserRepository 2016-12-23 13:49:55.0152 Info App: Disposing SqliteDisplayPreferencesRepository 2016-12-23 13:49:55.0160 Info App: Disposing SqliteItemRepository 2016-12-23 13:49:55.0160 Info App: Disposing SqliteFileOrganizationRepository 2016-12-23 13:49:55.0160 Info App: Disposing AuthenticationRepository 2016-12-23 13:49:55.0160 Info App: Disposing SyncRepository 2016-12-23 13:49:55.0160 Info App: Disposing LibraryMonitor 2016-12-23 13:49:55.0160 Info App: Disposing ProviderManager 2016-12-23 13:49:55.0160 Info App: Disposing ServerManager 2016-12-23 13:49:55.0705 Info App: Disposing ImageProcessor 2016-12-23 13:49:55.0716 Info App: Disposing MediaSourceManager 2016-12-23 13:49:55.0726 Info App: Disposing LiveTvManager 2016-12-23 13:49:55.0726 Info App: Disposing ContentDirectory 2016-12-23 13:49:55.0733 Info App: Disposing MediaReceiverRegistrar 2016-12-23 13:49:55.0733 Info App: Disposing DeviceDiscovery 2016-12-23 13:49:55.0733 Info App: Disposing MediaEncoder 2016-12-23 13:49:55.0750 Info App: Disposing SharingRepository 2016-12-23 13:49:55.0750 Info App: Disposing ActivityRepository 2016-12-23 13:49:55.0750 Info App: Disposing SqliteNotificationsRepository 2016-12-23 13:49:55.0750 Info App: Disposing MovieDbProvider 2016-12-23 13:49:55.0750 Info App: Disposing EmbyTV 2016-12-23 13:49:55.0769 Info App: Disposing OpenSubtitleDownloader 2016-12-23 13:49:55.0771 Info App: Disposing LinuxIsoManager 2016-12-23 13:49:55.0771 Info App: Disposing ApiEntryPoint 2016-12-23 13:49:55.0781 Info App: Disposing ServerEntryPoint 2016-12-23 13:49:55.0781 Info App: Disposing ActivityLogEntryPoint 2016-12-23 13:49:55.0815 Info App: Disposing ConnectEntryPoint 2016-12-23 13:49:55.0815 Info App: Disposing AutomaticRestartEntryPoint 2016-12-23 13:49:55.0815 Info App: Disposing KeepServerAwake 2016-12-23 13:49:55.0815 Info App: Disposing LibraryChangedNotifier 2016-12-23 13:49:55.0822 Info App: Disposing LoadRegistrations 2016-12-23 13:49:55.0822 Info App: Disposing RecordingNotifier 2016-12-23 13:49:55.0831 Info App: Disposing RefreshUsersMetadata 2016-12-23 13:49:55.0831 Info App: Disposing ServerEventNotifier 2016-12-23 13:49:55.0844 Info App: Disposing StartupWizard 2016-12-23 13:49:55.0844 Info App: Disposing SystemEvents 2016-12-23 13:49:55.0844 Info App: Disposing UdpServerEntryPoint 2016-12-23 13:49:55.0850 Info App: Disposing UsageEntryPoint 2016-12-23 13:49:55.0850 Info App: Disposing UserDataChangeNotifier 2016-12-23 13:49:55.0850 Info App: Disposing FileOrganizationNotifier 2016-12-23 13:49:55.0863 Info App: Disposing EntryPoint 2016-12-23 13:49:55.0863 Info App: Disposing HdHomerunDiscovery 2016-12-23 13:49:55.0863 Info App: Disposing NewsEntryPoint 2016-12-23 13:49:55.0863 Info App: Disposing Notifications 2016-12-23 13:49:55.0870 Error App: Error receiving udp message *** Error Report *** Version: 3.1.1.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.4.0.57 64-Bit OS: True 64-Bit Process: True Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 28 20:49:26 UTC 2016) Processor count: 6 Program data path: /var/lib/emby-server Application directory: /usr/lib/emby-server/bin System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00033] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Udp.UdpServer+<StartListening>c__async2.MoveNext () [0x0008b] in <4d10c6f314a1415093d5e36c325ea280>:0 System.Threading.Tasks.TaskCanceledException at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00033] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Udp.UdpServer+<StartListening>c__async2.MoveNext () [0x0008b] in <4d10c6f314a1415093d5e36c325ea280>:0 2016-12-23 13:49:55.0870 Info App: Disposing WebSocketNotifier 2016-12-23 13:49:55.0870 Info App: Disposing SyncNotificationEntryPoint 2016-12-23 13:49:55.0870 Info App: Disposing CleanMissingEpisodesEntryPoint 2016-12-23 13:49:55.0870 Info App: Disposing LibraryMonitorStartup 2016-12-23 13:49:55.0870 Info App: Disposing ExternalPortForwarding 2016-12-23 13:49:55.0886 Info App: Disposing DlnaProfileEntryPoint 2016-12-23 13:49:55.0886 Info App: Disposing DlnaEntryPoint 2016-12-23 13:49:55.0905 Info App: Disposing EntryPoint 2016-12-23 13:49:55.0905 Info App: Disposing LibraryMonitorStartup 2016-12-23 13:49:55.0905 Info App: Disposing ExternalPortForwarding 2016-12-23 13:49:55.0905 Info Main: Starting new instance 2016-12-23 13:49:55.0905 Info Main: Executable: /usr/lib/emby-server/restart.sh 2016-12-23 13:49:55.0905 Info Main: Arguments: -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh 2016-12-23 13:49:55.0945 Info Main: Calling Environment.Exit Link to comment Share on other sites More sharing options...
Luke 37068 Posted December 23, 2016 Share Posted December 23, 2016 What distro are you on? Link to comment Share on other sites More sharing options...
tvinhas 13 Posted December 23, 2016 Author Share Posted December 23, 2016 Ubuntu 16.04.1 Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted December 23, 2016 Share Posted December 23, 2016 Ubuntu 16.04.1 Under what user is emby running as? Link to comment Share on other sites More sharing options...
tvinhas 13 Posted December 24, 2016 Author Share Posted December 24, 2016 Under what user is emby running as? Under the emby user. I did not change anything. See: root@dvr:~# ps axu|grep -i emby root 2951 0.0 0.0 14224 960 pts/0 R+ 21:39 0:00 grep --color=auto -i emby emby 41696 0.0 0.0 45248 3524 ? Ss 14:07 0:00 /lib/systemd/systemd --user emby 41701 0.0 0.0 61044 1812 ? S 14:07 0:00 (sd-pam) root 58860 0.0 0.0 52284 2788 ? Ss 15:25 0:00 su -s /bin/sh -c umask $0; exec "$1" "$@" emby -- 002 env MAGICK_HOME=/usr/lib/emby-server MAGICK_CODER_FILTER_PATH=/usr/lib/emby-server/x86_64-linux-gnu/EmbyMagick-6.9.6/modules-Q8/filters MAGICK_CODER_MODULE_PATH=/usr/lib/emby-server/x86_64-linux-gnu/EmbyMagick-6.9.6/modules-Q8/coders MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m LD_LIBRARY_PATH=/usr/lib/emby-server/x86_64-linux-gnu /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh emby 58906 38.5 9.4 3649392 768512 ? Ssl 15:25 144:08 /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted December 24, 2016 Share Posted December 24, 2016 How is Emby started? Are you using a service manner Sent from my ONEPLUS A3000 using Tapatalk 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