-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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]: Error while updating docker Image 2023.12.0 #2011
Comments
Running into the same issue. I am running on Synology NAS using these instructions |
Have you tried using Actual's docker account instead of using the old jlongster one? The new one is actualbudget/actual-server |
Having the same issue with
|
I'm having the same issue as well. I am using Actual's docker account instead of the old jlongster one as I am trying to update to 23.12.0 |
Running into the same issue using |
Same here. |
I also have the same issue. I am using docker on synology nas with the actualbudget/actual-server docker account |
👋 I followed the install instructions here and I think for v23.12.0 you will want to change a few things in those instructions to be more stable. On step 11: do not create any folders. On step 13: remove the
This should mount the entire folder. At which point it should be able to run the migrations that will automatically create the If someone could try doing this and letting me know if that works - I'd very much appreciate it. |
☝️ a bit more context for the technically savy. Before v23.12.0 we used to have code that manually creates Since v23.12.0 we moved to proper DB migrations. They are run when you launch the server. And they use a local As it turns out: some set-ups don't allow writing this |
I run Actual on my synology box and this is the docker-compose I use. I haven't had any issues that weren't my own doing with it. Edit the image and volumes to match your desired setup
|
Hi everyone. That guide from Marius Hosting has been updated. My recommended process, if you are still having issues, would be to:
That should get passed the issue of missing the .migration file and not having proper permissions. |
works. thanks for the quick fix
…On Sun, Dec 3, 2023 at 10:06 PM youngcw ***@***.***> wrote:
Hi everyone. That guide from Marius Hosting
<https://mariushosting.com/how-to-install-actual-on-your-synology-nas/>
has been updated. My recommended process, if you are still having issues,
would be to:
1. Revert to 23.11.0 and export your data as a backup
2. follow the new setup process in the guide
3. pull the updated docker container
4. if needed, import your exported budget.
That should get passed the issue of missing the .migration file and not
having write permissions.
—
Reply to this email directly, view it on GitHub
<#2011 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABH2TPCCRXBGAM4567DODJLYHTZU3AVCNFSM6AAAAABAEJAMUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGYYTINBRGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Working like a charm! |
If I understand the workflow of the app correctly, mounting the path
I tried this config on my Synology NAS, and it doesn't work. When you mount your host's What it worked for me is to manually create the
With this config, the container start-up without problems because the In the long term, it would be a good idea to store this |
I'm still having this issue and I've tried the solutions in this thread. Mounting my docker dir as If I need to make the |
The $ pwd
/volume1/docker/actualbudget
$ ls -la
total 4
drwxrwxrwx+ 1 user users 60 Dec 4 08:28 .
drwxrwxrwx+ 1 root root 360 Nov 17 10:08 ..
-rwxrwxrwx+ 1 user users 373 Dec 4 08:28 .migrate
drwxrwxrwx+ 1 user users 28 Dec 4 08:27 server-files
drwxrwxrwx+ 1 user users 950 Dec 4 09:32 user-files You can create the file simply using volumes:
- /volume1/docker/actual/server-files:/app/server-files
- /volume1/docker/actual/user-files:/app/user-files
- /volume1/docker/actual/.migrate:/app/.migrate If you face any error, send us the log, so we can help you. 😊 |
It might be a good time as any to move to an SQL query builder maybe? |
I am honestly going to sound like a noob and I have been searching online but how to I revert the container to 23.11.0. I'm trying to recreate it and point the image to actualbudget/actual-server:23.11.0 but each time I click create it just doesnt pull it down and loads the current one I have installed. |
Hey @MatissJanis, it think the migration file shouldn't live in the app root as if anybody is running this non-privileged, they don't have any way to write to things there. |
I've created actualbudget/actual-server#289 that will have the server store the migrations file in the dataDir instead of the application root |
Could someone please verify if the patch @bjw-s has graciously provided fixes the issue for you? actualbudget/actual-server#289 On my machine it works as expected (but TBH it worked fine before too). |
Could you please push the container with it? It seems PR's are built but not pushed. |
https://github.com/users/bjw-s/packages/container/actual-server/154582722?tag=pr-289 (based on the |
I have tested the container and it does indeed now go to the /data path, which is writable and works as one would expect it to.
|
That worked for me as well. |
Can confirm it's working as expected.
|
I have also tested @bjw-s fix and it is working for me with no additional changes required, simply mounting
I tried other solutions in this thread but this is the only one that is working for me - I'm on a Synology as well in case that matters. Thank you for your advice though @samcre |
v23.12.1 has been released with the patch from @bjw-s . Now that we have multiple solutions to the problem reported here. Thanks for everyone involved! |
Verified issue does not already exist?
What happened?
While updating docker image with latest tag 2023.12.0, the container is not able to start properly and crash.
What error did you receive?
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
No response
Operating System
Other
The text was updated successfully, but these errors were encountered: