fix: use new uploads path #12

Open
decentral1se wants to merge 1 commits from fix-uploads-volume into main
Owner

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

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
decentral1se added 1 commit 2024-04-23 07:23:10 +00:00
continuous-integration/drone/pr Build is failing Details
c727320a31
fix: use new uploads path
Author
Owner

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.

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.
Author
Owner

Oh, I did have to run chown -R 10000:65534 .../_data on the volume from the host machine because #11

Oh, I did have to run `chown -R 10000:65534 .../_data` on the volume from the host machine because https://git.coopcloud.tech/coop-cloud/hedgedoc/issues/11
decentral1se requested review from moritz 2024-04-30 19:51:31 +00:00
Member

I 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.

I 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.
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b fix-uploads-volume main
git pull origin fix-uploads-volume

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff fix-uploads-volume
git push origin main
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/hedgedoc#12
No description provided.