mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Testing (#69)
* #39 * Update upgrade * Update manifest.json * Auto-update README * Update _common.sh * Update _common.sh * Cleaning up * Fix * Create DESCRIPTION.md * Auto-update README * Create updater.sh * Update updater.sh * Create updater.yml (#42) * Update upgrade * Update upgrade * Auto-update README * Update upgrade * Update upgrade * Apply example_ynh (#43) * Auto-update README * Apply example_ynh * Auto-update README * fix missing datadir * Fix missing phpversion * Update upgrade * Update check_process Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update README * 4.7.0 (#50) * 4.6.2 * Auto-update README * 4.7.0 * Auto-update README * Fix PHP * Update upgrade * Update restore * Update install * Update install * Update PHP to 8.1 * Update upgrade * Update install * Fix * Update ffprobe.patch * Update install * Update install * Update upgrade Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Upgrade auto-updater (#58) * [autopatch] Upgrade auto-updater * Auto-update README --------- Co-authored-by: tituspijean <titus@pijean.ovh> * Update .env.example * Version 2 (#61) * v2 * fix * v2 * Update manifest.toml * Auto-update README * Fix * Auto-update README * 4.7.2 * Auto-update README * Update install * Update manifest.toml * Update _common.sh * Update install * Update install * Update .env.example * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Fix * Update install * Update install * Update .env.example * Update install * Update install * Update install * Update manifest.toml * Auto-update README * remove config panel * Update manifest.toml * Auto-update README * Update upgrade * Update manifest.toml * Auto-update README * Delete app.src * Update manifest.toml * Update manifest.toml * Auto-update README * add sudir (#68) --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: tituspijean <titus@pijean.ovh>
This commit is contained in:
parent
680fe303b3
commit
cde414d65e
5 changed files with 9 additions and 18 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
||||||
|
|
||||||
**Shipped version:** 4.7.2~ynh4
|
**Shipped version:** 4.7.4~ynh1
|
||||||
|
|
||||||
**Demo:** https://lycheeorg.github.io/demo/
|
**Demo:** https://lycheeorg.github.io/demo/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
||||||
|
|
||||||
**Version incluse :** 4.7.2~ynh4
|
**Version incluse :** 4.7.4~ynh1
|
||||||
|
|
||||||
**Démo :** https://lycheeorg.github.io/demo/
|
**Démo :** https://lycheeorg.github.io/demo/
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Lychee"
|
||||||
description.en = "Photo-management-system to manage and share photos"
|
description.en = "Photo-management-system to manage and share photos"
|
||||||
description.fr = "Système de gestion de photos pour gérer et partager des photos"
|
description.fr = "Système de gestion de photos pour gérer et partager des photos"
|
||||||
|
|
||||||
version = "4.7.2~ynh4"
|
version = "4.7.4~ynh1"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ admindoc = "https://lycheeorg.github.io/docs/"
|
||||||
code = "https://github.com/LycheeOrg/Lychee"
|
code = "https://github.com/LycheeOrg/Lychee"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.15"
|
yunohost = ">= 11.1.18"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = false
|
ldap = false
|
||||||
|
@ -45,14 +45,15 @@ ram.runtime = "50M"
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/LycheeOrg/Lychee/releases/download/v4.7.2/Lychee.zip"
|
url = "https://github.com/LycheeOrg/Lychee/releases/download/v4.7.4/Lychee.zip"
|
||||||
sha256 = "6353db3f2b0963f4a94576c2b16ed7eb7bb2954cd0b0dd745ba4db47998e8df0"
|
sha256 = "e36e4864760c9dd401cd2bba56e4a989e09bdc0352a7d1f56c8cd3a5b0a7f7f5"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
||||||
[resources.data_dir]
|
[resources.data_dir]
|
||||||
|
subdirs = ["uploads/big", "uploads/import", "uploads/medium", "uploads/raw", "uploads/small", "uploads/thumb"]
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
|
@ -63,8 +63,8 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Creating a data directory..." --weight=1
|
ynh_script_progression --message="Creating a data directory..." --weight=1
|
||||||
|
|
||||||
mkdir -p $data_dir/uploads
|
#mkdir -p $data_dir/uploads
|
||||||
mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
#mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
||||||
|
|
||||||
chgrp $app -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads
|
chgrp $app -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads
|
||||||
chmod -R 2775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/
|
chmod -R 2775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/
|
||||||
|
|
|
@ -22,16 +22,6 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
# If new "/home/yunohost.app/$app" doesn't exist, create it
|
|
||||||
if [ -z "/home/yunohost.app/$app" ]; then
|
|
||||||
data_dir=/home/yunohost.app/$app
|
|
||||||
mkdir -p $data_dir
|
|
||||||
chmod 755 $data_dir
|
|
||||||
chown -R $app:www-data $data_dir
|
|
||||||
#REMOVEME? ynh_app_setting_set --app=$app --key=data_dir --value=$data_dir
|
|
||||||
cp -a "$install_dir/public/uploads" "$data_dir/uploads"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If fpm_footprint doesn't exist, create it
|
# If fpm_footprint doesn't exist, create it
|
||||||
if [ -z "${fpm_footprint:-}" ]; then
|
if [ -z "${fpm_footprint:-}" ]; then
|
||||||
fpm_footprint=low
|
fpm_footprint=low
|
||||||
|
|
Loading…
Reference in a new issue