Open vethwoop opened 5 months ago
I solved this issue by manually creating 4 folders named "avatars", "generated-thumbnails", "posts" and "temporary-uploads" at the host mountpoint.
- My .env says:
MOUNT_DATA=/var/local/szurubooru/data
- In Terminal, I went to
cd szuru
and then triedchown -R 1000:1000 /var/local/szurubooru/data
, but was told the directory did not exist.
I'm afraid this is because of a faulty installation, I'd advise you to reinstall szuru but I am not sure what went wrong during the install and caused this.
- I created a new directory with that path (I'm not sure if this was what I was supposed to do).
- Now when I try
chown -R 1000:1000 /var/local/szurubooru/data
, I get the messagechown: /var/local/szurubooru/data: Operation not permitted
When you use chown
to change the owner of a file, you need to invoke the command as root
, what I'm guessing you did was simply write
$ chown -R 1000:1000 /var/local/szurubooru/data
As a rule of thumb you should avoid doing this if you are not sure what you are actually doing, but in this case you can safely bypass this problem by prefixing your command with sudo
, which asks for your password and runs the command as root (super-user).
$ sudo chown -R 1000:1000 /var/local/szurubooru/data
Hi! I'm extremely new to using the command line in general, so I apologize in advance for my ignorance. This seems to be a common issue and should be simple to fix, but nothing I've found about it seems to work for me.
Info: I'm running macOS 14.2.1. I don't know what other data is needed to diagnose the issue, but please let me know and I'll provide it.
Issue: I've set up szurubooru on my computer, but when I try to upload an image, I get an internal server error.
chown -R 1000:1000
the mountpoint for the data directory ($MOUNT_DATA
in.env
)".MOUNT_DATA=/var/local/szurubooru/data
cd szuru
and then triedchown -R 1000:1000 /var/local/szurubooru/data
, but was told the directory did not exist.chown -R 1000:1000 /var/local/szurubooru/data
, I get the messagechown: /var/local/szurubooru/data: Operation not permitted
And now I'm stuck. What should I do? Thank you so much in advance for your help!