What is "unraid-api" process?


Recommended Posts

49 minutes ago, ljm42 said:

This isn't related to your issue, but I'd recommend going to Settings -> Scheduler -> Mover Settings and disabling "Mover logging". That is only meant to be on if you are troubleshooting issues with mover.

Interesting. I just checked my settings and "Mover logging" is already disabled.

 

1 hour ago, OmgImAlexis said:

Thank you.

In a terminal on that server can you run "unraid-api restart" and just see if that makes any difference.  

Restarting seems to work for now. I need keep monitoring to see if it goes up again. Thank you!

Edited by icodesign
Link to comment
  • 1 month later...

I'm not sure if this is related to the OP issue, but I had an issue with "My Servers" constantly backing up the flash every minute.

Flash backup initialization solved that.

I kept watching the server, found UNRAID-API taking up CPU resources, and this was in the log.

I stop the flash backup and started it again on 14:26 through the GUI, and so far all is OK.

 

Sep 27 11:03:57 Juno flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Sep 27 11:04:57 Juno flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Sep 27 11:05:58 Juno flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Sep 27 11:18:45 Juno dhcpcd[2116]: br0: failed to renew DHCP, rebinding
Sep 27 12:51:29 Juno emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin update unassigned.devices.plg
Sep 27 12:51:29 Juno root: plugin: running: anonymous
Sep 27 12:51:29 Juno root: plugin: creating: /boot/config/plugins/unassigned.devices/unassigned.devices-2021.09.26.tgz - downloading from URL https://github.com/dlandon/unassigned.devices/raw/master/unassigned.devices-2021.09.26.tgz
Sep 27 12:51:30 Juno root: plugin: checking: /boot/config/plugins/unassigned.devices/unassigned.devices-2021.09.26.tgz - MD5
Sep 27 12:51:30 Juno root: plugin: creating: /tmp/start_unassigned_devices - from INLINE content
Sep 27 12:51:30 Juno root: plugin: setting: /tmp/start_unassigned_devices - mode to 0770
Sep 27 12:51:30 Juno root: plugin: skipping: /boot/config/plugins/unassigned.devices/unassigned.devices.cfg already exists
Sep 27 12:51:30 Juno root: plugin: skipping: /boot/config/plugins/unassigned.devices/samba_mount.cfg already exists
Sep 27 12:51:30 Juno root: plugin: skipping: /boot/config/plugins/unassigned.devices/iso_mount.cfg already exists
Sep 27 12:51:30 Juno root: plugin: skipping: /tmp/unassigned.devices/smb-settings.conf already exists
Sep 27 12:51:30 Juno root: plugin: skipping: /tmp/unassigned.devices/config/smb-extra.conf already exists
Sep 27 12:51:30 Juno root: plugin: skipping: /tmp/unassigned.devices/add-smb-extra already exists
Sep 27 12:51:30 Juno root: plugin: setting: /tmp/unassigned.devices/add-smb-extra - mode to 0770
Sep 27 12:51:30 Juno root: plugin: skipping: /tmp/unassigned.devices/remove-smb-extra already exists
Sep 27 12:51:30 Juno root: plugin: setting: /tmp/unassigned.devices/remove-smb-extra - mode to 0770
Sep 27 12:51:30 Juno root: plugin: running: anonymous
Sep 27 14:22:34 Juno unraid-api[10980]: ⚠️ Caught exception: WebSocket is not open: readyState 0 (CONNECTING)
Sep 27 14:22:34 Juno unraid-api[10980]: ⚠️ UNRAID API crashed with exit code 1
Sep 27 14:26:36 Juno flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update

 

Link to comment