I recently installed Seafile and tried to change the data directory to a folder on my second hard drive (mounted at/media/DriveName). After doing the symlink to the old data directory location however, it's still telling me the data directory doesn't exist. I think the issue is with /media, but I'm not 100% sure. I've already set the chown command for the user, but no luck. OS is Ubuntu 22.04 Any recommendations?
#/media Permissions with Seafile
1 messages · Page 1 of 1 (latest)
Depending on what seafile is, it may not follow symlimks
It's a self-hosted dropbox alternative. I originally used the symlink because it was recommended on their forums by someone else who got it to work, but theirs wasn't in /media
What are the permissions of /media and your mount point.
Let me double check.
There isn't anything intrinsically special about /media/, but it's generally reserved for dynamic/ephemeral or external devices. I personally would move it elsewhere for that reason, but there's nothing wrong with it in principle
Drwxr-x---
The HDD is physically attached via a HBA 330 card and the OS is reading a virtual drive of it
That doesn't tell me who owns it.
You can also choose to move the mount point over the original location.
Oh it's root
For both? On the mount point? You need at least execute on the dir for others if non users are accessing it's contents
Yea, as far as I can tell. From the ls -l I got drwxr-x---+ 3 root root 4096
Do you have ACLs enabled
No, I don't believe so.
I've never had to run ubuntu on a multi-user machine before
I'd be fine completely remounting the drive, but I'm not sure where to mount it that wouldn't cause problems
Literally the default location for you Seafile application.
See also man hier
So I should mount the drive at /opt/seafile?
If you want
That seems to have fixed the majority of the problems, although now I'm unable to upload anything to the server. I've got the ports for http and https open already