fix: use new uploads path #12
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix-uploads-volume"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See https://docs.hedgedoc.org/setup/docker/. This means that each on each update of the deployment, the volume for uploads is wiped. I think this was the issue I was running into with using images on https://pad.local-it.org @moritz
I just tested this and since the volume name is not removed, docker can seamlessly move the volume contents to another path. So, I think this shouldn't break deployment. In any case, people should back up their stuff before migrating.
Oh, I did have to run
chown -R 10000:65534 .../_data
on the volume from the host machine because #11I haven't tested it yet but it looks fine. I think there should be a release note that informs the people to do a backup before upgrading.
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.