Error reinstalling Actual

What app is this about, and its version: Actual 26.2.0
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Virtual machine

Describe your issue

I had Actual installed, and had updated yunohost to the latest version, 12.1.39. Now I uninstalled Actual, and tried to reinstall it: and it failed.

Share relevant logs or error messages

https://paste.yunohost.org/raw/julipiveno

@otm33 suggested this: Error upgrading Jellyfin - #5 by otm33

For actual, I would check these folders permissions ls- la /var/www/actual and ls -la /home/yunohost.app/actual (looking for a .sqlite file).

I dug around and found this:

~$ sudo ls -la /var/www/actual
total 124
drwxr-x---    4 actual actual  4096 Feb  9 21:09 .
drwxr-xr-x+  19 root   root    4096 Feb  9 21:09 ..
-rw-------    1 actual actual   939 Feb  9 21:09 .env
drwxrwxrwx  204 root   root   12288 Feb  9 21:09 node_modules
drwxr-xr-x    3 actual actual  4096 Feb  9 21:09 .npm
-rw-rw-rw-    1 root   root      69 Feb  9 21:09 package.json
-rw-rw-rw-    1 root   root   94047 Feb  9 21:09 package-lock.json

and

~$ sudo ls -la /home/yunohost.app/actual/
total 10
drwxr-x---  3 actual actual  3 Jan  2 06:04 .
drwxr-xr-x 16 root   root   16 Feb  6 14:17 ..
drwxrwxrwx  4 root   root    5 Jan  2 06:09 data

and

root:/home/yunohost.app/actual/data# ls -la
total 7
drwxrwxrwx 4 root   root     5 Jan  2 06:09 .
drwxr-x--- 3    978    978   3 Jan  2 06:04 ..
-rw-r--r-- 1 sonarr sonarr 647 Jan  2 06:09 .migrate
drwxr-x--- 2    978    978   3 Jan  2 06:09 server-files
drwxr-x--- 2    978    978   2 Jan  2 06:04 user-files


root:/home/yunohost.app/actual/data/server-files# ls -la
total 6
drwxr-x--- 2 actual actual     3 Jan  2 06:09 .
drwxrwxrwx 4 root   root       5 Jan  2 06:09 ..
-rw-r--r-- 1 sonarr sonarr 61440 Jan  2 06:09 account.sqlite

I am so confused how sonarr became the owner of the .sqlite and the .migrate file…

but after changing the owner and group of those 2 files to 978 like the others, the Actual reinstall worked. Thanks!! Solved :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.