-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug]: Regression in 24.2.0 - EACCES: permission denied, open '/data/.migrate' #2321
Comments
Looking a bit further, something that is new is that the e@nas01:/mnt/pool01/containers/actual-server$ ls -lA
total 43
-rw-r--r-- 1 root apps 373 Dec 8 11:13 .migrate
drwxr-xr-x 2 apps apps 3 Nov 5 10:21 server-files
drwxr-xr-x 2 apps apps 4 Feb 2 15:10 user-files Note that the .migrate is owned by Not sure how it's creating the .migrate file as |
Yeah, looks like it was a permissions error. e@nas01:/mnt/pool01/containers/actual-server$ sudo chown apps:apps .migrate The above command to change owner of the Given that I've found a way to get running again, would you prefer for the issue to be closed? Or would you want try to dive into why the ownership of .migrate wasn't of the appropriate user that the container runs under? |
I'm finding that when upgrading from a much older version to 24.2.0, the app tries to use the migration folder "/migrate" in root instead of in the data directory I have set for the app. |
@ALurker It looks like that .migrate file was created back on Dec 8th according to your output. The previous image probably works because it's only reading that file, and not writing to it. Vs now that you've upgraded and have new migrations to write to it. So I'm betting this was still a leftover permission issue from last month. |
What you probably should do if you are still having the issue is to export all your files, the start out clean on the server to get the server side of things cleaned up, then import your files. The .migrate file lives in server-files now instead of directly in the /data folder. If you want you can try deleting the old .migrate and see what happens, but its probably safer to just start a new server and let it create the .migrate properly. |
Verified issue does not already exist?
Is this related to GoCardless, Simplefin or another bank-sync provider?
What happened?
Actual-Server Container Fails to start with read-only filesystems. This is a regression to the same behaviour that was resolved in issue #2011. Downgrading back to version 24.1.0 allows my container to start again.
Running in k3s on a TrueNAS Scale System
Logs:
What error did you receive?
Where are you hosting Actual?
NAS
What browsers are you seeing the problem on?
Firefox
Operating System
Linux
The text was updated successfully, but these errors were encountered: