mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-04 06:50:15 +00:00
Compare commits
7 Commits
42785dbbc8
...
fc75c6657b
Author | SHA1 | Date | |
---|---|---|---|
|
fc75c6657b | ||
|
1b8089ff2b | ||
|
497819f112 | ||
|
7192b0f8dd | ||
|
ba965758db | ||
|
3b29f08590 | ||
|
82d287959e |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1 +1 @@
|
||||
ko_fi: proxmoxhelperscripts
|
||||
ko_fi: community_scripts
|
||||
|
15
CHANGELOG.md
15
CHANGELOG.md
@ -18,6 +18,21 @@ Do not break established syntax in this file, as it is automatically updated by
|
||||
|
||||
|
||||
|
||||
|
||||
## 2024-11-19
|
||||
|
||||
### Changed
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- Linkwarden: Move Secret Key above in install.sh [@MickLesk](https://github.com/MickLesk) ([#356](https://github.com/community-scripts/ProxmoxVE/pull/356))
|
||||
- Linkwarden: add gnupg to installed dependencies [@erfansamandarian](https://github.com/erfansamandarian) ([#349](https://github.com/community-scripts/ProxmoxVE/pull/349))
|
||||
- Fix Wallos Update [@MickLesk](https://github.com/MickLesk) ([#339](https://github.com/community-scripts/ProxmoxVE/pull/339))
|
||||
|
||||
### 🧰 Maintenance
|
||||
|
||||
- [chore] Update FUNDING.yml [@MickLesk](https://github.com/MickLesk) ([#352](https://github.com/community-scripts/ProxmoxVE/pull/352))
|
||||
|
||||
## 2024-11-18
|
||||
|
||||
### Changed
|
||||
|
@ -63,14 +63,15 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
|
||||
msg_info "Updating ${APP} to ${RELEASE}"
|
||||
cd /opt
|
||||
wget -q "https://github.com/ellite/Wallos/archive/refs/tags/v${RELEASE}.zip"
|
||||
mkdir -p /opt/logos
|
||||
mv /opt/wallos/db/wallos.db /opt/wallos.db
|
||||
mv /opt/wallos/images/uploads /opt/images/uploads
|
||||
mv /opt/wallos/images/uploads/logos /opt/logos/
|
||||
unzip -q v${RELEASE}.zip
|
||||
rm -rf /opt/wallos
|
||||
mv Wallos-${RELEASE} /opt/wallos
|
||||
rm -rf /opt/wallos/db/wallos.empty.db
|
||||
mv /opt/wallos.db /opt/wallos/db/wallos.db
|
||||
mv /opt/images/uploads /opt/wallos/images/uploads
|
||||
mv /opt/logos/* /opt/wallos/images/uploads/logos
|
||||
chown -R www-data:www-data /opt/wallos
|
||||
chmod -R 755 /opt/wallos
|
||||
mkdir -p /var/log/cron
|
||||
|
@ -21,7 +21,8 @@ $STD apt-get install -y \
|
||||
mc \
|
||||
make \
|
||||
postgresql \
|
||||
cargo
|
||||
cargo \
|
||||
gnupg
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setting up Node.js Repository"
|
||||
@ -46,6 +47,7 @@ msg_info "Setting up PostgreSQL DB"
|
||||
DB_NAME=linkwardendb
|
||||
DB_USER=linkwarden
|
||||
DB_PASS="$(openssl rand -base64 18 | tr -d '/' | cut -c1-13)"
|
||||
SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)"
|
||||
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
|
||||
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
|
||||
@ -96,7 +98,6 @@ $STD yarn
|
||||
$STD npx playwright install-deps
|
||||
$STD yarn playwright install
|
||||
IP=$(hostname -I | awk '{print $1}')
|
||||
SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)"
|
||||
env_path="/opt/linkwarden/.env"
|
||||
echo "
|
||||
NEXTAUTH_SECRET=${SECRET_KEY}
|
||||
|
Loading…
Reference in New Issue
Block a user