Compare commits

...

3 Commits

Author SHA1 Message Date
853c727167 [Github Action] Update CHANGELOG.md (#525)
* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-26 19:05:17 +01:00
9795d41d39 Fix Vikunja install script to prevent database deletion upon updating (#524)
* Fix issue with Vikunja update wiping DB and files

* use a single sed command

* change build.func to test install script

* another small change in order to test vikunja fix

* another change

* revert URL modification after successful test

* Update vikunja-install.sh

* update vikunja-install.sh
2024-11-26 18:21:22 +01:00
a4dd7f5449 Update CHANGELOG.md (#522)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-26 07:39:46 +01:00
2 changed files with 14 additions and 1 deletions

View File

@ -16,6 +16,14 @@ All LXC instances created using this repository come pre-installed with Midnight
> [!IMPORTANT]
Do not break established syntax in this file, as it is automatically updated by a Github Workflow
## 2024-11-26
### Changed
### 🚀 Updated Scripts
- Fix Vikunja install script to prevent database deletion upon updating [@vhsdream](https://github.com/vhsdream) ([#524](https://github.com/community-scripts/ProxmoxVE/pull/524))
## 2024-11-25
### Changed
@ -23,9 +31,12 @@ Do not break established syntax in this file, as it is automatically updated by
### 💥 Breaking Changes
- Remove Scrypted script [@MickLesk](https://github.com/MickLesk) ([#511](https://github.com/community-scripts/ProxmoxVE/pull/511))
- Because of request from Scrypted maintainer: [#494](https://github.com/community-scripts/ProxmoxVE/issues/494)
- Official Scrypted script can be used instead: https://docs.scrypted.app/installation.html#proxmox-ve
### 🚀 Updated Scripts
- Fix bugs in Calibre-Web update [@havardthom](https://github.com/havardthom) ([#517](https://github.com/community-scripts/ProxmoxVE/pull/517))
- Fix upload folder in listmonk LXC [@bvdberg01](https://github.com/bvdberg01) ([#515](https://github.com/community-scripts/ProxmoxVE/pull/515))
### 🌐 Website

View File

@ -26,7 +26,9 @@ cd /opt
RELEASE=$(curl -s https://dl.vikunja.io/vikunja/ | grep -oP 'href="/vikunja/\K[0-9]+\.[0-9]+\.[0-9]+' | sort -V | tail -n 1)
wget -q "https://dl.vikunja.io/vikunja/$RELEASE/vikunja-$RELEASE-amd64.deb"
$STD dpkg -i vikunja-$RELEASE-amd64.deb
sudo sed -i 's/^ timezone: .*/ timezone: UTC/' /etc/vikunja/config.yml
sed -i 's|^ timezone: .*| timezone: UTC|' /etc/vikunja/config.yml
sed -i 's|"./vikunja.db"|"/etc/vikunja/vikunja.db"|' /etc/vikunja/config.yml
sed -i 's|./files|/etc/vikunja/files|' /etc/vikunja/config.yml
systemctl start vikunja.service
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Vikunja"