fix: use new uploads path #12
Merged
moritz
merged 1 commits from 2024-07-16 14:52:03 +00:00
fix-uploads-volume into main
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/hedgedoc#12
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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 .../_dataon 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.