From 0d52cf225f50967e0781f896b12b4ad12345a05f Mon Sep 17 00:00:00 2001 From: Kristo Copani Date: Sat, 30 Nov 2024 18:46:11 +0200 Subject: [PATCH] fixed install probably --- ct/firefly.sh | 2 +- install/firefly-install.sh | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/ct/firefly.sh b/ct/firefly.sh index b61ef0ff..6fd1e6c5 100644 --- a/ct/firefly.sh +++ b/ct/firefly.sh @@ -110,4 +110,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${APP} should be reachable by going to the following URL. - ${BL}http://${IP}{CL} \n" \ No newline at end of file + ${BL}http://${IP}${CL} \n" \ No newline at end of file diff --git a/install/firefly-install.sh b/install/firefly-install.sh index 0670eb2d..053afeb1 100644 --- a/install/firefly-install.sh +++ b/install/firefly-install.sh @@ -55,29 +55,19 @@ cd /opt wget -q "https://github.com/firefly-iii/firefly-iii/releases/download/${RELEASE}/FireflyIII-${RELEASE}.tar.gz" mkdir -p /opt/firefly-iii tar -xzf FireflyIII-${RELEASE}.tar.gz -C /opt/firefly-iii -msg_ok "Downloaded" -msg_info "chown" chown -R www-data:www-data /opt/firefly-iii chmod -R 775 /opt/firefly-iii/storage -msg_ok "chown" -msg_info "env" cd /opt/firefly-iii cp .env.example .env sed -i "s/DB_HOST=.*/DB_HOST=localhost/" /opt/firefly-iii/.env sed -i "s/DB_PASSWORD=.*/DB_PASSWORD=$DB_PASS/" /opt/firefly-iii/.env -msg_ok "env" -msg_info "php composer" echo "export COMPOSER_ALLOW_SUPERUSER=1" >> ~/.bashrc source ~/.bashrc $STD composer install --no-dev --no-plugins --no-interaction -msg_ok "php composer" -msg_info "artisan" $STD php artisan firefly-iii:upgrade-database $STD php artisan firefly-iii:correct-database $STD php artisan firefly-iii:report-integrity $STD php artisan firefly-iii:laravel-passport-keys -msg_ok "artisan" -msg_info "versioning" echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" msg_ok "Installed Firefly III"