Snakeoil Forums
REST not responding (503 error) - Printable Version

+- Snakeoil Forums (https://forums.snakeoil-os.net)
+-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics)
+--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting)
+--- Thread: REST not responding (503 error) (/Thread-REST-not-responding-503-error)



REST not responding (503 error) - Primare11 - 27-Mar-2025

Hi Kith

I have issues with REST not responding (503 error) on Snakeoil 1.4.2 (the problem was on 1.4.1 also).
  • OS:Ubuntu 24.04.2 LTS
  • Version: 1.4.2 (High-End U2)
  • Kernel: 6.8.1-1015-realtime
  • MB: Asus H81I-Plus
  • CPU: i3-4130T
  • RAM: 8 GB

The server come back by it self after about 2 minutes (25 retries).
I have reinstalled Snakeoil (sudo apt install snakeoil --reinstall) but it does not help.
Please find the Snakeoil log below.
 
PHP Code:
Mar 26 15:24:43 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:24:43 snakeoilnuc snakeoil-server.sh[1292]: [*] Exiting API Rest server
Mar 26 15
:24:44 snakeoilnuc snakeoil-server.sh[1326]: [*] Snakeoil OS API Server 1.4.1 (High-End U1) [RELEASE]
Mar 26 15:25:46 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:25:46 snakeoilnuc snakeoil-server.sh[1326]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:25:46 snakeoilnuc snakeoil-server.sh[1326]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:25:46 snakeoilnuc snakeoil-server.sh[1326]: mount.nfsmount(2): No route to host
Mar 26 15
:25:46 snakeoilnuc snakeoil-server.sh[1326]: mount.nfsmount(2): No route to host
Mar 26 15
:25:46 snakeoilnuc snakeoil-server.sh[1326]: mount.nfsmount(2): No route to host
Mar 26 15
:25:46 snakeoilnuc snakeoil-server.sh[1326]: mount.nfsmount(2): No route to host
Mar 26 15
:25:46 snakeoilnuc snakeoil-server.sh[1326]: mount.nfsmount(2): No route to host
Mar 26 15
:25:46 snakeoilnuc snakeoil-server.sh[1326]: mount.nfsmount(2): No route to host [service/os.cpp:183|os_c::mount()]
Mar 26 15:25:46 snakeoilnuc snakeoil-server.sh[1326]: [5]   code15 [service/os.cpp:184|os_c::mount()]
Mar 26 15:25:46 snakeoilnuc snakeoil-server.sh[1326]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:25:46 snakeoilnuc snakeoil-server.sh[1326]: [5restart SSH service failed [service/snakeoil.cpp:513|snakeoil_c::run_service_ssh()]
Mar 26 15:25:46 snakeoilnuc snakeoil-server.sh[1326]: [5restart samba service failed [service/snakeoil.cpp:521|snakeoil_c::run_service_samba()]
Mar 26 15:25:47 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:25:47 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
-- 
Boot f13a9df91e9f4200a1099bfc9b7e3df0 --
Mar 26 15:26:20 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:26:20 snakeoilnuc snakeoil-server.sh[1149]: [*] Exiting API Rest server
Mar 26 15
:26:21 snakeoilnuc snakeoil-server.sh[1183]: [*] Snakeoil OS API Server 1.4.1 (High-End U1) [RELEASE]
Mar 26 15:27:30 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:27:30 snakeoilnuc snakeoil-server.sh[1183]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:27:30 snakeoilnuc snakeoil-server.sh[1183]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:27:30 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:27:30 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:27:30 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:27:30 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:27:30 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:27:30 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host [service/os.cpp:183|os_c::mount()]
Mar 26 15:27:30 snakeoilnuc snakeoil-server.sh[1183]: [5]   code15 [service/os.cpp:184|os_c::mount()]
Mar 26 15:27:30 snakeoilnuc snakeoil-server.sh[1183]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:27:30 snakeoilnuc snakeoil-server.sh[1183]: [5restart SSH service failed [service/snakeoil.cpp:513|snakeoil_c::run_service_ssh()]
Mar 26 15:27:30 snakeoilnuc snakeoil-server.sh[1183]: [5restart samba service failed [service/snakeoil.cpp:521|snakeoil_c::run_service_samba()]
Mar 26 15:27:30 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:27:30 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
-- 
Boot 0619ddf41743490cb481f5ca31a90107 --
Mar 26 15:27:57 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:27:57 snakeoilnuc snakeoil-server.sh[1147]: [*] Exiting API Rest server
Mar 26 15
:27:58 snakeoilnuc snakeoil-server.sh[1181]: [*] Snakeoil OS API Server 1.4.1 (High-End U1) [RELEASE]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5]   stdoutmount.nfstimeout set for Wed Mar 26 15:29:58 2025
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsmount(2): No route to host
Mar 26 15
:30:01 snakeoilnuc snakeoil-server.sh[1181]: mount.nfsNo route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5]   code32 [service/os.cpp:184|os_c::mount()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5Starting PlayerMediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 26 15:30:01 snakeoilnuc snakeoil-server.sh[1181]: [5CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 26 15:30:02 snakeoilnuc snakeoil-server.sh[1181]: [5Singleton is readystarting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 26 15:30:02 snakeoilnuc snakeoil-server.sh[1181]: [5Snakeoil API Listening to requests at127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 26 15:31:09 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:31:09 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:31:09 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:31:09 snakeoilnuc systemd[1]: snakeoil-rest.serviceConsumed 8.283s CPU time322.9M memory peak0B memory swap peak.
Mar 26 15:31:09 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:31:09 snakeoilnuc snakeoil-server.sh[4298]: [*] Exiting API Rest server
Mar 26 15
:31:10 snakeoilnuc snakeoil-server.sh[4329]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 26 15:31:21 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:31:21 snakeoilnuc snakeoil-server.sh[4329]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:31:21 snakeoilnuc snakeoil-server.sh[4329]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:31:21 snakeoilnuc snakeoil-server.sh[4329]: mount.nfsmount(2): No route to host [service/os.cpp:183|os_c::mount()]
Mar 26 15:31:21 snakeoilnuc snakeoil-server.sh[4329]: [5]   code15 [service/os.cpp:184|os_c::mount()]
Mar 26 15:31:21 snakeoilnuc snakeoil-server.sh[4329]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:31:21 snakeoilnuc snakeoil-server.sh[4329]: [5restart SSH service failed [service/snakeoil.cpp:514|snakeoil_c::run_service_ssh()]
Mar 26 15:31:21 snakeoilnuc snakeoil-server.sh[4329]: [5restart samba service failed [service/snakeoil.cpp:522|snakeoil_c::run_service_samba()]
Mar 26 15:31:22 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:31:22 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
-- 
Boot 84b7372879fb4b89a78a893377987bf8 --
Mar 26 15:31:49 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:31:49 snakeoilnuc snakeoil-server.sh[1152]: [*] Exiting API Rest server
Mar 26 15
:31:49 snakeoilnuc snakeoil-server.sh[1187]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5]   stdoutmount.nfstimeout set for Wed Mar 26 15:33:50 2025
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsmount(2): No route to host
Mar 26 15
:33:52 snakeoilnuc snakeoil-server.sh[1187]: mount.nfsNo route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5]   code32 [service/os.cpp:184|os_c::mount()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5Starting PlayerMediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5Singleton is readystarting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 26 15:33:52 snakeoilnuc snakeoil-server.sh[1187]: [5Snakeoil API Listening to requests at127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/Squeezelite-R2/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/Squeezelite-ralph/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/Squeezelite-v1.6.4-test/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/Squeezelite-v1.8/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/Squeezelite-v2/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/mpd-v21/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:35:11 snakeoilnuc snakeoil-server.sh[1187]: [3Ran /var/www//players/mpd-v22/uninstall.sh and exited with code 0 [worker/snakeoil_software.cpp:41|snakeoil_software_c::tasklet()]
Mar 26 15:36:02 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:36:03 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:36:03 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:36:03 snakeoilnuc systemd[1]: snakeoil-rest.serviceConsumed 14.307s CPU time510.2M memory peak0B memory swap peak.
Mar 26 15:36:03 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:36:03 snakeoilnuc snakeoil-server.sh[26335]: [*] Exiting API Rest server
Mar 26 15
:36:03 snakeoilnuc snakeoil-server.sh[26345]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 26 15:36:42 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:36:42 snakeoilnuc snakeoil-server.sh[26345]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:36:42 snakeoilnuc snakeoil-server.sh[26345]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:36:42 snakeoilnuc snakeoil-server.sh[26345]: mount.nfsmount(2): No route to host
Mar 26 15
:36:42 snakeoilnuc snakeoil-server.sh[26345]: mount.nfsmount(2): No route to host
Mar 26 15
:36:42 snakeoilnuc snakeoil-server.sh[26345]: mount.nfsmount(2): No route to host
Mar 26 15
:36:42 snakeoilnuc snakeoil-server.sh[26345]: mount.nfsmount(2): No route to host [service/os.cpp:183|os_c::mount()]
Mar 26 15:36:42 snakeoilnuc snakeoil-server.sh[26345]: [5]   code15 [service/os.cpp:184|os_c::mount()]
Mar 26 15:36:42 snakeoilnuc snakeoil-server.sh[26345]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:36:42 snakeoilnuc snakeoil-server.sh[26345]: [5restart SSH service failed [service/snakeoil.cpp:514|snakeoil_c::run_service_ssh()]
Mar 26 15:36:42 snakeoilnuc snakeoil-server.sh[26345]: [5restart samba service failed [service/snakeoil.cpp:522|snakeoil_c::run_service_samba()]
Mar 26 15:36:43 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:36:43 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
-- 
Boot 4cf1552bcfd841e390c2a4da0522f18b --
Mar 26 15:37:11 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:37:11 snakeoilnuc snakeoil-server.sh[1148]: [*] Exiting API Rest server
Mar 26 15
:37:11 snakeoilnuc snakeoil-server.sh[1183]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5]   stdoutmount.nfstimeout set for Wed Mar 26 15:39:11 2025
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsmount(2): No route to host
Mar 26 15
:39:14 snakeoilnuc snakeoil-server.sh[1183]: mount.nfsNo route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5]   code32 [service/os.cpp:184|os_c::mount()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5Starting PlayerMediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5Singleton is readystarting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 26 15:39:14 snakeoilnuc snakeoil-server.sh[1183]: [5Snakeoil API Listening to requests at127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 26 15:39:41 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service Snakeoil RestAPI server...
Mar 26 15:39:42 snakeoilnuc systemd[1]: snakeoil-rest.serviceDeactivated successfully.
Mar 26 15:39:42 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:39:42 snakeoilnuc systemd[1]: snakeoil-rest.serviceConsumed 5.857s CPU time325.1M memory peak0B memory swap peak.
Mar 26 15:39:42 snakeoilnuc systemd[1]: Started snakeoil-rest.service Snakeoil RestAPI server.
Mar 26 15:39:42 snakeoilnuc snakeoil-server.sh[3723]: [*] Exiting API Rest server
Mar 26 15
:39:42 snakeoilnuc snakeoil-server.sh[3760]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: [5]   stdoutmount.nfstimeout set for Wed Mar 26 15:41:42 2025
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsmount(2): No route to host
Mar 26 15
:41:44 snakeoilnuc snakeoil-server.sh[3760]: mount.nfsNo route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: [5]   code32 [service/os.cpp:184|os_c::mount()]
Mar 26 15:41:44 snakeoilnuc snakeoil-server.sh[3760]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:41:45 snakeoilnuc snakeoil-server.sh[3760]: [5Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 26 15:41:45 snakeoilnuc snakeoil-server.sh[3760]: [5Starting PlayerMediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 26 15:41:45 snakeoilnuc snakeoil-server.sh[3760]: [5CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 26 15:41:45 snakeoilnuc snakeoil-server.sh[3760]: [5Singleton is readystarting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 26 15:41:45 snakeoilnuc snakeoil-server.sh[3760]: [5Snakeoil API Listening to requests at127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 26 15:45:03 snakeoilnuc snakeoil-server.sh[3760]: [5Restarting API server [api/system.cpp:26|system_c::system_c()]
Mar 26 15:45:05 snakeoilnuc snakeoil-server.sh[4882]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: [5Mount error: [service/os.cpp:181|os_c::mount()]
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: [5]   stdoutmount.nfstimeout set for Wed Mar 26 15:47:05 2025
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfstrying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: [5]   stderrmount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsmount(2): No route to host
Mar 26 15
:47:07 snakeoilnuc snakeoil-server.sh[4882]: mount.nfsNo route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: [5]   code32 [service/os.cpp:184|os_c::mount()]
Mar 26 15:47:07 snakeoilnuc snakeoil-server.sh[4882]: [5]   args192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 26 15:47:08 snakeoilnuc snakeoil-server.sh[4882]: [5Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 26 15:47:08 snakeoilnuc snakeoil-server.sh[4882]: [5Starting PlayerMediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 26 15:47:08 snakeoilnuc snakeoil-server.sh[4882]: [5CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 26 15:47:08 snakeoilnuc snakeoil-server.sh[4882]: [5Singleton is readystarting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 26 15:47:08 snakeoilnuc snakeoil-server.sh[4882]: [5Snakeoil API Listening to requests at127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()] 

Please let me know if you need more information.

BR
Robert


RE: REST not responding (503 error) - agent_kith - 27-Mar-2025

From the logs it's still saying you're on 1.4.1.

Perhaps do this from the command line:
Code:
sudo apt remove snakeoil
sudo apt update
sudo apt install snakeoil
And confirm you are using 1.4.2
 
Code:
snakeoil-rest --long-version



RE: REST not responding (503 error) - Primare11 - 27-Mar-2025

Hi Kith

I am pretty sure that I is on 1.4.2, so I run the "snakeoil-rest --long-version" command first, please see results below.

Command:
snakeoil-rest --long-version

Return:
### Snakeoil Build information ###
  git hash: 1e89ae6
git branch: main
 Timestamp: 20250325T1059
     build: 1.4.2 (High-End U2)


Command:
sudo apt remove snakeoil

Return:
Removing snakeoil (1.4.2) ...
dpkg: warning: while removing snakeoil, directory '/var/www/players/mpd-v22' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/players/mpd-v21' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/players/Squeezelite-v2' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/players/Squeezelite-v1.8' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/players/Squeezelite-v1.6.4-test' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/players/Squeezelite-ralph' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/players/Squeezelite-R2' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/var/www/config' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/usr/local/share' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/usr/local/lib' not empty so not removed
dpkg: warning: while removing snakeoil, directory '/usr/local/bin' not empty so not removed


Command:
sudo apt update
sudo apt install snakeoil
snakeoil-rest --long-version

Return:
### Snakeoil Build information ###
  git hash: 1e89ae6
git branch: main
 Timestamp: 20250325T1059
     build: 1.4.2 (High-End U2)

Command:
sudo reboot


I still get "REST server is not responding. Service Unavailable (503)".
After approx 2 minutes the the REST server is starting up (same as before).

Snakeoil logs (I have deleted the data from yesterday):
 
Code:
Mar 27 07:17:35 snakeoilnuc systemd[1]: Started snakeoil-rest.service - Snakeoil RestAPI server.
Mar 27 07:17:35 snakeoilnuc snakeoil-server.sh[1274]: [*] Exiting API Rest server
Mar 27 07:17:36 snakeoilnuc snakeoil-server.sh[1309]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5] Mount error: [service/os.cpp:181|os_c::mount()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5]   stdout: mount.nfs: timeout set for Thu Mar 27 07:19:36 2025
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5]   stderr: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: mount(2): No route to host
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: mount.nfs: No route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5]   code: 32 [service/os.cpp:184|os_c::mount()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5]   args: 192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5] Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5] Starting Player: MediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 27 07:19:39 snakeoilnuc snakeoil-server.sh[1309]: [5] CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 27 07:19:40 snakeoilnuc snakeoil-server.sh[1309]: [5] Singleton is ready, starting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 27 07:19:40 snakeoilnuc snakeoil-server.sh[1309]: [5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 27 07:24:32 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service - Snakeoil RestAPI server...
Mar 27 07:24:32 snakeoilnuc systemd[1]: snakeoil-rest.service: Deactivated successfully.
Mar 27 07:24:32 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service - Snakeoil RestAPI server.
Mar 27 07:24:32 snakeoilnuc systemd[1]: snakeoil-rest.service: Consumed 13.664s CPU time, 322.8M memory peak, 0B memory swap peak.
Mar 27 07:24:32 snakeoilnuc systemd[1]: Started snakeoil-rest.service - Snakeoil RestAPI server.
Mar 27 07:24:32 snakeoilnuc snakeoil-server.sh[4535]: [*] Exiting API Rest server
Mar 27 07:24:33 snakeoilnuc snakeoil-server.sh[4568]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 27 07:26:10 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service - Snakeoil RestAPI server...
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: [5] Mount error: [service/os.cpp:181|os_c::mount()]
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: [5]   stderr: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: mount.nfs: mount(2): No route to host [service/os.cpp:183|os_c::mount()]
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: [5]   code: 15 [service/os.cpp:184|os_c::mount()]
Mar 27 07:26:10 snakeoilnuc snakeoil-server.sh[4568]: [5]   args: 192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 27 07:26:11 snakeoilnuc snakeoil-server.sh[4568]: [5] restart SSH service failed [service/snakeoil.cpp:514|snakeoil_c::run_service_ssh()]
Mar 27 07:26:11 snakeoilnuc snakeoil-server.sh[4568]: [5] restart samba service failed [service/snakeoil.cpp:522|snakeoil_c::run_service_samba()]
Mar 27 07:26:11 snakeoilnuc systemd[1]: snakeoil-rest.service: Deactivated successfully.
Mar 27 07:26:11 snakeoilnuc systemd[1]: Stopped snakeoil-rest.service - Snakeoil RestAPI server.
-- Boot f7a510d093614dbb81a6e04c5639292f --
Mar 27 07:26:38 snakeoilnuc systemd[1]: Started snakeoil-rest.service - Snakeoil RestAPI server.
Mar 27 07:26:38 snakeoilnuc snakeoil-server.sh[1155]: [*] Exiting API Rest server
Mar 27 07:26:39 snakeoilnuc snakeoil-server.sh[1190]: [*] Snakeoil OS API Server 1.4.2 (High-End U2) [RELEASE]
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: [5] Mount error: [service/os.cpp:181|os_c::mount()]
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: [5]   stdout: mount.nfs: timeout set for Thu Mar 27 07:28:39 2025
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101'
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.2,clientaddr=192.168.1.101' [service/os.cpp:182|os_c::mount()]
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: [5]   stderr: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: mount(2): No route to host
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: mount.nfs: No route to host for 192.168.1.2:/volume1/Media/Musik on /media/music/NAS [service/os.cpp:183|os_c::mount()]
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: [5]   code: 32 [service/os.cpp:184|os_c::mount()]
Mar 27 07:28:41 snakeoilnuc snakeoil-server.sh[1190]: [5]   args: 192.168.1.2:/volume1/Media/Musik /media/music//NAS --verbose -t nfs [service/os.cpp:185|os_c::mount()]
Mar 27 07:28:42 snakeoilnuc snakeoil-server.sh[1190]: [5] Running alsactl timed out [service/os.cpp:245|os_c::run_wait()]
Mar 27 07:28:42 snakeoilnuc snakeoil-server.sh[1190]: [5] Starting Player: MediaCenter32 [service/players.cpp:383|players_c::start()]
Mar 27 07:28:42 snakeoilnuc snakeoil-server.sh[1190]: [5] CPU shield: /usr/bin/mediacenter32 [service/players.cpp:418|players_c::_start()]
Mar 27 07:28:42 snakeoilnuc snakeoil-server.sh[1190]: [5] Singleton is ready, starting other services [helper/rest_server.cpp:33|rest_server_c::rest_server_c()]
Mar 27 07:28:42 snakeoilnuc snakeoil-server.sh[1190]: [5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]


Anything else I should test?

BR
Robert

I just realized when I checked the log that my mount point is not mounted since my NAS is offline, so I removed the mount point in the settings.
Now when I do a reboot the "REST not responding" is only there for 5 seconds, it starts up after the first retry. Smile

I hope this help you.

BR
Robert


RE: REST not responding (503 error) - agent_kith - 27-Mar-2025

(27-Mar-2025, 03:35 PM)Primare11 Wrote: Snakeoil logs (I have deleted the data from yesterday):
Snakeoil logs to journal now so the logs will be kept for a while (I don't actually know how to clear them).

(27-Mar-2025, 03:35 PM)Primare11 Wrote: Mar 27 07:19:40 snakeoilnuc snakeoil-server.sh[1309]: [5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 27 07:24:32 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service - Snakeoil RestAPI server...
This went for 5 minutes before crashing. Looks like a memory leak... Will look into this and fix it.


RE: REST not responding (503 error) - agent_kith - 27-Mar-2025

@Primare11 Can you generate a diagnostic file and send it to me pls? thanks.


RE: REST not responding (503 error) - Primare11 - 27-Mar-2025

Hi Kith
I have sent the diagnostic file via email.
Hope it helps.

BR
Robert


RE: REST not responding (503 error) - agent_kith - 28-Mar-2025

@Primare11 
Do you remember what happened here? Did you restart the API backend, or it exited on it's own? I cannot seem to recreate the crash/exit. But there is indeed a long delay if the NAS mount is not reachable (This will be fixed in 1.4.3)
Code:
Mar 27 07:19:40 snakeoilnuc snakeoil-server.sh[1309]: [5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
Mar 27 07:24:32 snakeoilnuc systemd[1]: Stopping snakeoil-rest.service - Snakeoil RestAPI server...



RE: REST not responding (503 error) - Primare11 - 28-Mar-2025

Sorry, but I don't remember.
The only thing I know for sure is that if Snakeoil try to mount an non accessible NAS share it take 2 minutes before the REST starts and if I remove the NAS share in Snakeoil it take 5 seconds for the REST to start.


RE: REST not responding (503 error) - agent_kith - 29-Mar-2025

(28-Mar-2025, 04:39 PM)Primare11 Wrote: Sorry, but I don't remember.
The only thing I know for sure is that if Snakeoil try to mount an non accessible NAS share it take 2 minutes before the REST starts and if I remove the NAS share in Snakeoil it take 5 seconds for the REST to start.

I will fix that first problem. With the new re-write mounting network shares is a blocking call. i.e. the whole Snakeoil API will do nothing but mount the drives, and proceed to do other tasks only after mounting shares has stopped. This is why you lost access for 2 minutes.  Blush

Never seen this problem in my home setup before cause my NAS is always online.

That's an easy fix.. Just change it to an unblocking call. <- What this means is snakeoil will continue to mount the shares in the background, and continue to work on other tasks.

Let me know if you're listening to music halfway, and then music suddenly stop and resume... That is a sign that the API server has restarted.  <- This is the part I need to look at to make sure this restart is not happening on it's on.


RE: REST not responding (503 error) - Primare11 - 29-Mar-2025

Thanks for the support.
I have not notice any interruptions in the music so far, but I will let you if that happens.

Thanks again for great work with snakeoil Thanks .