Slow file uploads (seemingly) due to "attempt to write a readonly database" #986
|
Hey, I'm putting this in Q&A because I assume is is the proper place to put it. I just installed copyparty on my server and it's been going great! But I'm running into a bottleneck when I try to upload files to the server. It fails at first, showing the error below, waits for a few seconds, fixes the error, then finishes uploading successfully.
It's not stopping me from uploading entirely, but it's making my file uploads slower. I'm assuming this is a problem on my end. I'm running copyparty as a systemd service using a file in |
Replies: 1 comment 3 replies
|
Some context: Copyparty uses a handful of databases; there's a few in ~/.config/copyparty/, but the one that's (almost definitely) related to this would be the one that's at the top-level of the volume you are uploading into. For example, assuming you're uploading to The issue is probably one of the following:
So the most likely reason is that you were uploading to Could also be smart to look for any suspicious messages in the copyparty log, it usually has some interesting details -- but for this specific case it is not so important |
Aaand the problem solved itself?
I don't exactly remember how it went, but I think a couple days ago I noticed the .hist files of my directories were owned by the root user, so I put them under my user instead. And suddenly I can write to all the directories without delay. Even in the ones whose .hist files are still under root's ownership...