I think there are two versions of the mysql plugin floating around, one from stable one from testing archive.
One has the drop down, one needs an entry in extra options.
Don't know which one is the one with the drop down, my guess is it is in testing.
How to install Seafile with MySQL and SSL
-
- OMV 2.x
- baldman
-
-
Where can I install the right version? I have the version from omv plugins (omv extras) installed.
-
Uncheck the testing plugins in omv extras
-
-
Hallo zusammen,
eine Aktuelle News vom 21.07. der Seafile Deutschland!
Sehr lesenswert!https://seafile.de/zur-zukunft-von-seafile/
dazu noch deren Forumseintrag zum Thema
https://forum.seafile.de/t/zur…he-future-of-seafile/5451
Da scheint es erhebliche Differenzen zu geben zwischen der Chinesischen Seafile Ltd.
und dem Deutschen Ableger! -
-
FYI: Version 5.1.4 is released:
Seafile Server 5.1.4 for Raspberry Pi
https://github.com/haiwen/seaf….1.4_stable_pi.tar.gz.tar
-> Be aware that it's packaged twice. 1) extract with "tar -xf ...." 2) extract with "tar -xzf ...."
Update procedure:
- Stop Seafile
- Be sure to use the seafile-dedicated user from now on:
- Extract downloaded file
- Check that all permissions are correct, according to your user used for seafile
- Select appropriate update script in the extracted directory (e.g. seafile-server-5.1.4/upgrade/minor_upgrade.sh)
- Execute the script.
- Start Seafile- Delete old seafile version, or keep it as a fallback version
-
-
one needs an entry in extra options
Why do you need an entry in extra options?
You can leave it as it is, to store the mysql data in the default directory. -
Tried to upgrade seafile today, but encountered an error:
Code
Display Moresudo ./minor-upgrade.sh ------------------------------------------------------------- This script would do the minor upgrade for you. Press [ENTER] to contiune ------------------------------------------------------------- ------------------------------ migrating avatars ... Error: avatars directory "/opt/seafile/seahub-data/avatars" does not exist
-
Create the avatars folder with same chmod and chown as the seahub-data folder and run the script again.
-
-
Why do you need an entry in extra options?You can leave it as it is, to store the mysql data in the default directory.
Yes, but this will be the system drive ...
-
Tried to upgrade seafile today, but encountered an error:
Code
Display Moresudo ./minor-upgrade.sh ------------------------------------------------------------- This script would do the minor upgrade for you. Press [ENTER] to contiune ------------------------------------------------------------- ------------------------------ migrating avatars ... Error: avatars directory "/opt/seafile/seahub-data/avatars" does not exist
Are you sure you need to run minor-upgrade.sh as sudo?
To my undserstanding this should be run as the seafile user. -
yes, the upgrade scripts have to be run as seafile user, if you don't run seafile as root in general.
-
-
Yes, it's minor from 5.1.3 to 5.1.4.
I don't think the run as user is the issue, but the missing avatar folder. -
I already upgraded it, too, to 5.1.4, but didn't encounter that error.
Did it work after creating the folder? -
-
-
The avatar folder is part of seafile ever since.
If you do not have it, the application would show a strange behaviour.
One thing which might cause these kind of errors is if you run the seafile scripts with different users (which changes file permissions on the go)So to all:
Do only run seafile scripts as the seafile user.
Do not use sudo unless you did installed as root.
If things go wrong, check file permissions and ownership first. -
The avatar folder is part of seafile ever since.
If you do not have it, the application would show a strange behaviour.
One thing which might cause these kind of errors is if you run the seafile scripts with different users (which changes file permissions on the go)So to all:
Do only run seafile scripts as the seafile user.
Do not use sudo unless you did installed as root.
If things go wrong, check file permissions and ownership first.Thanks Zoki, I totally agree!!
AND: Stop the seafile server before upgrading!
-
I see script errors sometimes where a folder needs to be created. But if one of you were able to upgrade fine and the other not I am not sure what the issue is for @tinh_x7. He seems to be having a lot of odd problems on his system.
No, I only have a few issues.
I got the scripted updated, but it still showing I'm on 5.1.3.
Code
Display More/opt/seafile$ ls -la total 40 drwxr-xr-x 9 seafile seafile 4096 Jul 26 17:53 . drwxr-xr-x 7 root root 4096 Jul 22 18:39 .. -rw------- 1 seafile users 975 Jul 26 17:55 .bash_history drwx------ 3 seafile seafile 4096 Jul 26 17:55 ccnet drwxr-xr-x 2 seafile seafile 4096 Jun 9 21:32 conf drwxr-xr-x 2 seafile seafile 4096 Jun 7 22:18 installed drwxr-xr-x 2 seafile seafile 4096 Jun 8 17:52 logs drwxr-xr-x 2 seafile seafile 4096 Jul 26 17:56 pids drwxrwxr-x 6 seafile seafile 4096 May 29 23:49 seafile-server-5.1.3 lrwxrwxrwx 1 seafile users 20 Jul 26 17:53 seafile-server-latest -> seafile- server-5.1.3 drwxr-xr-x 3 seafile seafile 4096 Jul 26 17:47 seahub-data
-
-
Did you restart seafile?
I always change to a user like this if I have something like a script that needs to be run by a certain user.
su - seafile
Then you would be the seafile user. Run the script and then use "exit" to get back to the root user. Have to do this with virtualbox for
certain things. -
Yes, I ran it as 'seafile', and updated, and restart the system too.
Code
Display MoreThis script would do the minor upgrade for you. Press [ENTER] to contiune ------------------------------------------------------------- ------------------------------ migrating avatars ... DONE ------------------------------ updating seafile-server-latest symbolic link to /opt/seafile/seafile-server-5.1.3 ... DONE ------------------------------
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!