Merge pull request #107 from YunoHost-Apps/fix_install

Fix install
This commit is contained in:
Josue-T 2023-09-19 13:32:09 +02:00 committed by GitHub
commit d1f4006e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Seafile for YunoHost # Seafile for YunoHost
[![Integration level](https://dash.yunohost.org/integration/seafile.svg)](https://dash.yunohost.org/appci/app/seafile) ![Working status](https://ci-apps.yunohost.org/ci/badges/seafile.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/seafile.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/seafile.svg)](https://dash.yunohost.org/appci/app/seafile) ![Working status](https://ci-apps.yunohost.org/ci/badges/seafile.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/seafile.maintain.svg)
[![Install Seafile with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=seafile) [![Install Seafile with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=seafile)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Seafile pour YunoHost # Seafile pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/seafile.svg)](https://dash.yunohost.org/appci/app/seafile) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/seafile.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/seafile.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/seafile.svg)](https://dash.yunohost.org/appci/app/seafile) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/seafile.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/seafile.maintain.svg)
[![Installer Seafile avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=seafile) [![Installer Seafile avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=seafile)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*

View file

@ -17,8 +17,8 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
upgrade=1 from_commit=99c006ca044c1f82aee6ec68d73b59dd2de52411 upgrade=1 from_commit=3ce35d35ca4a8bac9b3d49d900af6a2b41577f9a
upgrade=1 from_commit=cb4a6e0d02782c75cf270276667ea2f062afd051 upgrade=1 from_commit=97c0b2f6548c2e415641533c4746682747eacb94
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=0
wrong_user=1 wrong_user=1
@ -31,7 +31,7 @@
change_url=1 change_url=1
;;; Upgrade options ;;; Upgrade options
; commit=99c006ca044c1f82aee6ec68d73b59dd2de52411 ; commit=3ce35d35ca4a8bac9b3d49d900af6a2b41577f9a
name=Version 7.1 Old version for CI 4 branch name=Version 7.1 Old version for CI 4 branch
; commit=cb4a6e0d02782c75cf270276667ea2f062afd051 ; commit=97c0b2f6548c2e415641533c4746682747eacb94
name=Version 8.x Old version for CI 5 branch name=Version 8.x Old version for CI 5 branch

View file

@ -44,7 +44,7 @@ install_dependance() {
chown -R $seafile_user:$seafile_user $final_path chown -R $seafile_user:$seafile_user $final_path
# Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5 # Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5
sudo -u $seafile_user pip3 install --user --no-warn-script-location --upgrade future mysqlclient PyMySQL Pillow pylibmc captcha Jinja2 SQLAlchemy psd-tools django-pylibmc django-simple-captcha python3-ldap pycryptodome==3.12.0 cffi==1.14.0 sudo -u $seafile_user pip3 install --user --no-warn-script-location --upgrade future mysqlclient PyMySQL 'Pillow<10.0.0' pylibmc captcha Jinja2 SQLAlchemy psd-tools django-pylibmc django-simple-captcha python3-ldap pycryptodome==3.12.0 cffi==1.14.0
# TODO add dependance when upgrade to seafile 8: django==2.2.* # TODO add dependance when upgrade to seafile 8: django==2.2.*
ynh_del_swap ynh_del_swap
} }