mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Upgrade to upstream version 1.0.41 + manual database migration (#44)
Upgrade to upstream version 1.0.41 (closes #43) and run migrations during upgrade script (closes #42)
This commit is contained in:
parent
096e55b26b
commit
8c0c21b9b9
5 changed files with 7 additions and 3 deletions
|
@ -33,7 +33,7 @@ From command line:
|
|||
|
||||
Infos
|
||||
-----
|
||||
Kanboard v1.0.40
|
||||
Kanboard v1.0.41
|
||||
|
||||
Yunohost forum thread: <https://forum.yunohost.org/t/kanboard-package/78>
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
|
|||
// Run automatically database migrations
|
||||
// If set to false, you will have to run manually the SQL migrations from the CLI during the next Kanboard upgrade
|
||||
// Do not run the migrations from multiple processes at the same time (example: web page + background worker)
|
||||
define('DB_RUN_MIGRATIONS', true);
|
||||
define('DB_RUN_MIGRATIONS', false);
|
||||
|
||||
// Database driver: sqlite, mysql or postgres (sqlite by default)
|
||||
define('DB_DRIVER', 'mysql');
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"en": "Kanboard is a simple visual task board web application",
|
||||
"fr": "Kanboard est une application web de management de tâches simples"
|
||||
},
|
||||
"version": "1.0.41",
|
||||
"url": "http://kanboard.net/",
|
||||
"maintainer": {
|
||||
"name": "mbugeia",
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
# Application version
|
||||
VERSION="1.0.40"
|
||||
VERSION="1.0.41"
|
||||
|
||||
# Remote URL to fetch application source archive
|
||||
APPLICATION_SOURCE_URL="https://kanboard.net/kanboard-${VERSION}.zip"
|
||||
|
|
|
@ -64,6 +64,9 @@ sudo sed -i "s/yuno_domain/${domain}/g" ${DESTDIR}/config.php
|
|||
sudo chown -R root:root ${DESTDIR}
|
||||
sudo chown -R www-data:www-data ${DESTDIR}/data
|
||||
|
||||
# Launch database migration
|
||||
sudo ${DESTDIR}/cli db:migrate
|
||||
|
||||
# Copy and set php-fpm configuration
|
||||
phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf"
|
||||
sed -i "s@#USER#@${app}@g" ../conf/php-fpm.conf
|
||||
|
|
Loading…
Reference in a new issue