Skip to content

Commit

Permalink
Merge pull request #391 from haiwen/update_12.0_upgrade_notes
Browse files Browse the repository at this point in the history
update 12.0 upgrade notes
  • Loading branch information
freeplant authored Nov 12, 2024
2 parents e854731 + 7d4fa46 commit 08f880a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion manual/upgrade/upgrade_notes_for_12.0.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ Note, you should install Python libraries system wide using root user or sudo mo
For Ubuntu 22.04/24.04

```sh
sudo pip3 install future==1.0.* mysqlclient==2.2.* pillow==10.4.* sqlalchemy==2.0.* gevent==24.2.* captcha==0.6.* django_simple_captcha==0.6.* djangosaml2==1.9.* pysaml2==7.3.* pycryptodome==3.20.* cffi==1.17.0 python-ldap==3.4.* PyMuPDF==1.24.*
sudo pip3 install future==1.0.* mysqlclient==2.2.* pillow==10.4.* sqlalchemy==2.0.* \
gevent==24.2.* captcha==0.6.* django_simple_captcha==0.6.* djangosaml2==1.9.* \
pysaml2==7.3.* pycryptodome==3.20.* cffi==1.17.0 python-ldap==3.4.* PyMuPDF==1.24.*
```

## Upgrade to 12.0 (for binary installation)
Expand All @@ -78,7 +80,13 @@ conf/.env
JWT_PRIVATE_KEY=xxx
SEAFILE_SERVER_PROTOCOL=https
SEAFILE_SERVER_HOSTNAME=seafile.example.com
SEAFILE_MYSQL_DB_HOST=db # your MySQL host
SEAFILE_MYSQL_DB_PORT=3306
SEAFILE_MYSQL_DB_USER=seafile
SEAFILE_MYSQL_DB_PASSWORD=<your MySQL password>
SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet_db
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile_db
SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub_db
```

Note: JWT_PRIVATE_KEY, A random string with a length of no less than 32 characters, generate example: `pwgen -s 40 1`
Expand Down

0 comments on commit 08f880a

Please sign in to comment.