-
-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update fails on FreeNAS #468
Comments
Usually Permissions, or Mono version problem. Can you double check your perms? |
Mono version is 4.6.2 (Stable 4.6.2.7/08fd525 Tue Jan 17 01:47:51 UTC 2017) Permissions are as follows: Ownership for everything is root:wheel and since this is running in a FreeBSD jail, mono runs as root |
/tmp/radarr_update contents should be 755 or else the updater exe cannot be executed. |
Same permissions as OP, changed /tmp/radarr_update contents to 755. Still failing to update. |
@mow4cash did you try chmod -R 755 /tmp/radarr_update ? or you did only chmod 755 /tmp/radarr_update ? |
The problem is Radarr keeps changing the permissions to 644 when you start the updater. The update was successful. I then had to restore my backup. Now I get this error |
I am finding the same issue where all permissions are reset when update is run from within the app. When I ran the updater manually it worked, but initially looked like all my settings were nuked. I tried restarting from within radarr, but still was all default settings. However, upon killing Radarr and manually restarting, everything seems ok and is running new version. This works for now, but would be nice if within app update worked. |
I have changed radarr to run in the FreeNAS jail as a non-root user and chowned the application and tmp folders for the non-root user. Now the updates work. It appears the issue only happens when radarr runs as root. This might be intentional since typically it is not a good idea to run services like this as root (although this is not necessarily the case in a FreeBSD jail) |
How did you change the user you were running Radarr as? I thought maybe changing the startup command to su USER -c "command" would work but no luck |
I created a daemon script in /etc/rc.d https://ghostbin.com/paste/nbzkt Of course you will also need to create the new user and change ownership of the appropriate folders. It is based on the latest sonarr script in FreeBSD ports. Note that the code is still a work in progress (a bunch of stuff commented out). |
#521 : "ln -s /usr/local/bin/mono /bin did the trick now I can update Radarr with GUI " That's what I found on Freenas inside a jail. |
I installed 0.2.0.210 on FreeNAS using the instructions on the wiki here. When I try to update to 0.0.0.266 via the gui, the new package downloads ok, and starts the updater, but then the update fails as follows:
The text was updated successfully, but these errors were encountered: