diff --git a/README.markdown b/README.markdown index 22c3fc4..a97b6c1 100644 --- a/README.markdown +++ b/README.markdown @@ -33,7 +33,7 @@ From command line: Infos ----- -Kanboard v1.0.40 +Kanboard v1.0.41 Yunohost forum thread: diff --git a/conf/config.php b/conf/config.php index ffefc16..211db4c 100644 --- a/conf/config.php +++ b/conf/config.php @@ -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'); diff --git a/manifest.json b/manifest.json index e1873f8..d38414a 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/scripts/_common.sh b/scripts/_common.sh index 3b0b981..8d9086b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index b5fa187..794b44f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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