mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-15 11:43:31 +01:00
Compare commits
34 Commits
2025-03-15
...
2025-03-17
| Author | SHA1 | Date | |
|---|---|---|---|
| 97d8110a48 | |||
| 4aa8578b7d | |||
| 58132fdb1d | |||
| 579f83e1bc | |||
| d6bdc20ae6 | |||
| 169c6f6f6c | |||
| 8799993457 | |||
| f8f03dbced | |||
| ee9a5e0f51 | |||
| 2f45ae45bf | |||
| 409f86c7eb | |||
| 67fa61fad9 | |||
| 07d9a8c85f | |||
| bff8879189 | |||
| c056163cf9 | |||
| a092f4adf5 | |||
| eac27ae010 | |||
| 1cfae51790 | |||
| 3fb31522c3 | |||
| 705cad87e2 | |||
| a2ad5f1268 | |||
| 82112e06df | |||
| f6eac663a7 | |||
| fd77c53503 | |||
| b1b08cd819 | |||
| 3b2db06fc1 | |||
| 9c9550b446 | |||
| 1397d2dc16 | |||
| 9587d48235 | |||
| f84c12ecff | |||
| e4261b429a | |||
| 08e0a6322b | |||
| 3d5021b289 | |||
| 584bf259da |
44
CHANGELOG.md
44
CHANGELOG.md
@ -14,6 +14,50 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
|
|
||||||
|
## 2025-03-17
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- TriliumNotes: Fix release handling [@tremor021](https://github.com/tremor021) ([#3160](https://github.com/community-scripts/ProxmoxVE/pull/3160))
|
||||||
|
- TriliumNext: Fix release file name/path, preventing install and update [@tremor021](https://github.com/tremor021) ([#3152](https://github.com/community-scripts/ProxmoxVE/pull/3152))
|
||||||
|
- qBittorrent: Accept legal notice in config file [@tremor021](https://github.com/tremor021) ([#3150](https://github.com/community-scripts/ProxmoxVE/pull/3150))
|
||||||
|
- Tandoor: Switch Repo to new Link [@MickLesk](https://github.com/MickLesk) ([#3140](https://github.com/community-scripts/ProxmoxVE/pull/3140))
|
||||||
|
- Fixed wrong PHP values to match default part-db size (100M) [@dMopp](https://github.com/dMopp) ([#3143](https://github.com/community-scripts/ProxmoxVE/pull/3143))
|
||||||
|
- Kimai: Fix Permission Issue on new Timerecords [@MickLesk](https://github.com/MickLesk) ([#3136](https://github.com/community-scripts/ProxmoxVE/pull/3136))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- InfluxDB: Add Ports as Info / Script-End [@MickLesk](https://github.com/MickLesk) ([#3141](https://github.com/community-scripts/ProxmoxVE/pull/3141))
|
||||||
|
- ByteStash: Add option for multiple accounts and generate JWT secret [@tremor021](https://github.com/tremor021) ([#3132](https://github.com/community-scripts/ProxmoxVE/pull/3132))
|
||||||
|
|
||||||
|
### 🌐 Website
|
||||||
|
|
||||||
|
- #### 📝 Script Information
|
||||||
|
|
||||||
|
- Paperless-ngx: Fix example on website [@tremor021](https://github.com/tremor021) ([#3155](https://github.com/community-scripts/ProxmoxVE/pull/3155))
|
||||||
|
|
||||||
|
## 2025-03-16
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- Typo Enviroment > Environment [@MathijsG](https://github.com/MathijsG) ([#3115](https://github.com/community-scripts/ProxmoxVE/pull/3115))
|
||||||
|
- Paperless-ngx: Add additional information to website on how to install OCR languages [@tremor021](https://github.com/tremor021) ([#3111](https://github.com/community-scripts/ProxmoxVE/pull/3111))
|
||||||
|
- Prometheus PVE Exporter: Rightsizing RAM and Disk [@andygrunwald](https://github.com/andygrunwald) ([#3098](https://github.com/community-scripts/ProxmoxVE/pull/3098))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Jellyseerr: Fix dependencies [@tremor021](https://github.com/tremor021) ([#3125](https://github.com/community-scripts/ProxmoxVE/pull/3125))
|
||||||
|
- wger: Fix build.func path [@tremor021](https://github.com/tremor021) ([#3121](https://github.com/community-scripts/ProxmoxVE/pull/3121))
|
||||||
|
- Filebrowser: Fix hardcoded port in Debian service file [@Xerovoxx98](https://github.com/Xerovoxx98) ([#3105](https://github.com/community-scripts/ProxmoxVE/pull/3105))
|
||||||
|
|
||||||
|
### 🌐 Website
|
||||||
|
|
||||||
|
- #### 📝 Script Information
|
||||||
|
|
||||||
|
- Website: Fix alpine-it-tools "undefined" Link [@CrazyWolf13](https://github.com/CrazyWolf13) ([#3110](https://github.com/community-scripts/ProxmoxVE/pull/3110))
|
||||||
|
|
||||||
## 2025-03-15
|
## 2025-03-15
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
@ -41,4 +41,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8086${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP} and Port 8888 for v1 or Port 8086 (v2)${CL}"
|
||||||
|
|||||||
14
ct/kimai.sh
14
ct/kimai.sh
@ -54,12 +54,6 @@ function update_script() {
|
|||||||
cd /opt/kimai
|
cd /opt/kimai
|
||||||
$STD composer install --no-dev --optimize-autoloader
|
$STD composer install --no-dev --optimize-autoloader
|
||||||
$STD bin/console kimai:update
|
$STD bin/console kimai:update
|
||||||
chown -R :www-data .
|
|
||||||
chmod -R g+r .
|
|
||||||
chmod -R g+rw var/
|
|
||||||
chmod -R 777 /opt/kimai/var/
|
|
||||||
chown -R www-data:www-data /opt/kimai
|
|
||||||
chmod -R 755 /opt/kimai
|
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||||
msg_ok "Updated ${APP} to ${RELEASE}"
|
msg_ok "Updated ${APP} to ${RELEASE}"
|
||||||
|
|
||||||
@ -67,6 +61,14 @@ function update_script() {
|
|||||||
systemctl start apache2
|
systemctl start apache2
|
||||||
msg_ok "Started Apache2"
|
msg_ok "Started Apache2"
|
||||||
|
|
||||||
|
msg_info "Setup Permissions"
|
||||||
|
chown -R :www-data /opt/*
|
||||||
|
chmod -R g+r /opt/*
|
||||||
|
chmod -R g+rw /opt/*
|
||||||
|
chown -R www-data:www-data /opt/*
|
||||||
|
chmod -R 777 /opt/*
|
||||||
|
msg_ok "Setup Permissions"
|
||||||
|
|
||||||
msg_info "Cleaning Up"
|
msg_info "Cleaning Up"
|
||||||
rm -rf ${RELEASE}.zip
|
rm -rf ${RELEASE}.zip
|
||||||
rm -rf "$BACKUP_DIR"
|
rm -rf "$BACKUP_DIR"
|
||||||
|
|||||||
@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
|
|||||||
APP="Prometheus-PVE-Exporter"
|
APP="Prometheus-PVE-Exporter"
|
||||||
var_tags="monitoring"
|
var_tags="monitoring"
|
||||||
var_cpu="1"
|
var_cpu="1"
|
||||||
var_ram="1024"
|
var_ram="512"
|
||||||
var_disk="2"
|
var_disk="2"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="12"
|
||||||
|
|||||||
@ -28,8 +28,8 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [[ ! -f /opt/${APP}_version.txt ]]; then touch /opt/${APP}_version.txt; fi
|
if [[ ! -f /opt/${APP}_version.txt ]]; then touch /opt/${APP}_version.txt; fi
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
|
if [[ "v${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
|
||||||
msg_info "Stopping ${APP}"
|
msg_info "Stopping ${APP}"
|
||||||
systemctl stop trilium
|
systemctl stop trilium
|
||||||
sleep 1
|
sleep 1
|
||||||
@ -40,15 +40,15 @@ function update_script() {
|
|||||||
mv /opt/trilium/{db,dump-db} /opt/trilium_backup/
|
mv /opt/trilium/{db,dump-db} /opt/trilium_backup/
|
||||||
rm -rf /opt/trilium
|
rm -rf /opt/trilium
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget -q https://github.com/TriliumNext/Notes/releases/download/${RELEASE}/TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
|
wget -q https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz
|
||||||
tar -xf TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
|
tar -xf TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz
|
||||||
mv trilium-linux-x64-server /opt/trilium
|
mv TriliumNextNotes-Server-$RELEASE-linux-x64 /opt/trilium
|
||||||
cp -r /opt/trilium_backup/{db,dump-db} /opt/trilium/
|
cp -r /opt/trilium_backup/{db,dump-db} /opt/trilium/
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
echo "v${RELEASE}" >/opt/${APP}_version.txt
|
||||||
msg_ok "Updated to ${RELEASE}"
|
msg_ok "Updated to ${RELEASE}"
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /tmp/TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
|
rm -rf /tmp/TriliumNextNotes-Server-${RELEASE}-linux-x64.tar.xz
|
||||||
rm -rf /opt/trilium_backup
|
rm -rf /opt/trilium_backup
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -s https://raw.githubusercontent.com/tremor021/ProxmoxVE/refs/heads/wger/misc/build.func)
|
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: Slaviša Arežina (tremor021)
|
# Author: Slaviša Arežina (tremor021)
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
|||||||
@ -33,6 +33,7 @@ $STD apt-get install -y nodejs
|
|||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing ByteStash"
|
msg_info "Installing ByteStash"
|
||||||
|
JWT_SECRET=$(openssl rand -base64 32 | tr -d '/+=')
|
||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/jordan-dalby/ByteStash/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/jordan-dalby/ByteStash/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
wget -q "https://github.com/jordan-dalby/ByteStash/archive/refs/tags/v${RELEASE}.tar.gz" -O $temp_file
|
wget -q "https://github.com/jordan-dalby/ByteStash/archive/refs/tags/v${RELEASE}.tar.gz" -O $temp_file
|
||||||
@ -45,6 +46,8 @@ $STD npm install
|
|||||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||||
msg_ok "Installed ByteStash"
|
msg_ok "Installed ByteStash"
|
||||||
|
|
||||||
|
read -p "Do you want to allow registration of multiple accounts? [y/n]: " allowreg
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/bytestash-backend.service
|
cat <<EOF >/etc/systemd/system/bytestash-backend.service
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -55,10 +58,16 @@ After=network.target
|
|||||||
WorkingDirectory=/opt/bytestash/server
|
WorkingDirectory=/opt/bytestash/server
|
||||||
ExecStart=/usr/bin/node src/app.js
|
ExecStart=/usr/bin/node src/app.js
|
||||||
Restart=always
|
Restart=always
|
||||||
|
Environment=JWT_SECRET=$JWT_SECRET
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [[ "$allowreg" =~ ^[Yy]$ ]]; then
|
||||||
|
sed -i '8i\Environment=ALLOW_NEW_ACCOUNTS=true' /etc/systemd/system/bytestash-backend.service
|
||||||
|
fi
|
||||||
|
|
||||||
cat <<EOF >/etc/systemd/system/bytestash-frontend.service
|
cat <<EOF >/etc/systemd/system/bytestash-frontend.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ByteStash Frontend Service
|
Description=ByteStash Frontend Service
|
||||||
@ -72,6 +81,7 @@ Restart=always
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl enable -q --now bytestash-backend
|
systemctl enable -q --now bytestash-backend
|
||||||
systemctl enable -q --now bytestash-frontend
|
systemctl enable -q --now bytestash-frontend
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|||||||
@ -14,11 +14,13 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y curl
|
$STD apt-get install -y \
|
||||||
$STD apt-get install -y sudo
|
curl \
|
||||||
$STD apt-get install -y mc
|
gnupg \
|
||||||
$STD apt-get install -y git
|
mc \
|
||||||
$STD apt-get install -y gpg
|
git \
|
||||||
|
sudo \
|
||||||
|
build-essential
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
|
|||||||
@ -71,12 +71,6 @@ $STD composer install --no-dev --optimize-autoloader --no-interaction
|
|||||||
cp .env.dist .env
|
cp .env.dist .env
|
||||||
sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env
|
sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env
|
||||||
$STD bin/console kimai:install -n
|
$STD bin/console kimai:install -n
|
||||||
chown -R :www-data /opt/*
|
|
||||||
chmod -R g+r /opt/*
|
|
||||||
chmod -R g+rw /opt/*
|
|
||||||
chown -R www-data:www-data /opt/*
|
|
||||||
chmod -R 755 /opt/*
|
|
||||||
chmod -R 777 /opt/kimai/var/
|
|
||||||
$STD expect <<EOF
|
$STD expect <<EOF
|
||||||
set timeout -1
|
set timeout -1
|
||||||
log_user 0
|
log_user 0
|
||||||
@ -127,6 +121,14 @@ $STD a2dissite 000-default.conf
|
|||||||
$STD systemctl reload apache2
|
$STD systemctl reload apache2
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
msg_info "Setup Permissions"
|
||||||
|
chown -R :www-data /opt/*
|
||||||
|
chmod -R g+r /opt/*
|
||||||
|
chmod -R g+rw /opt/*
|
||||||
|
chown -R www-data:www-data /opt/*
|
||||||
|
chmod -R 777 /opt/*
|
||||||
|
msg_ok "Setup Permissions"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
|
|||||||
@ -137,7 +137,7 @@ fi
|
|||||||
mkdir -p /app/global /app/frontend/images
|
mkdir -p /app/global /app/frontend/images
|
||||||
cp -r backend/* /app
|
cp -r backend/* /app
|
||||||
cp -r global/* /app/global
|
cp -r global/* /app/global
|
||||||
msg_ok "Set up Enviroment"
|
msg_ok "Set up Environment"
|
||||||
|
|
||||||
msg_info "Building Frontend"
|
msg_info "Building Frontend"
|
||||||
cd ./frontend
|
cd ./frontend
|
||||||
|
|||||||
@ -29,6 +29,12 @@ $STD apt-get install -y \
|
|||||||
postgresql
|
postgresql
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
msg_info "Setting up PHP"
|
||||||
|
PHPVER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION . "\n";')
|
||||||
|
sed -i "s@post_max_size = 8M@post_max_size = 100M@g" /etc/php/${PHPVER}/apache2/php.ini
|
||||||
|
sed -i "s@upload_max_filesize = 2M@upload_max_filesize = 100M@g" /etc/php/${PHPVER}/apache2/php.ini
|
||||||
|
msg_ok "Setting up PHP"
|
||||||
|
|
||||||
msg_info "Setting up PostgreSQL"
|
msg_info "Setting up PostgreSQL"
|
||||||
DB_NAME=partdb
|
DB_NAME=partdb
|
||||||
DB_USER=partdb
|
DB_USER=partdb
|
||||||
|
|||||||
@ -23,6 +23,9 @@ msg_info "Installing qbittorrent-nox"
|
|||||||
$STD apt-get install -y qbittorrent-nox
|
$STD apt-get install -y qbittorrent-nox
|
||||||
mkdir -p /.config/qBittorrent/
|
mkdir -p /.config/qBittorrent/
|
||||||
cat <<EOF >/.config/qBittorrent/qBittorrent.conf
|
cat <<EOF >/.config/qBittorrent/qBittorrent.conf
|
||||||
|
[LegalNotice]
|
||||||
|
Accepted=true
|
||||||
|
|
||||||
[Preferences]
|
[Preferences]
|
||||||
WebUI\Password_PBKDF2="@ByteArray(amjeuVrF3xRbgzqWQmes5A==:XK3/Ra9jUmqUc4RwzCtrhrkQIcYczBl90DJw2rT8DFVTss4nxpoRhvyxhCf87ahVE3SzD8K9lyPdpyUCfmVsUg==)"
|
WebUI\Password_PBKDF2="@ByteArray(amjeuVrF3xRbgzqWQmes5A==:XK3/Ra9jUmqUc4RwzCtrhrkQIcYczBl90DJw2rT8DFVTss4nxpoRhvyxhCf87ahVE3SzD8K9lyPdpyUCfmVsUg==)"
|
||||||
WebUI\Port=8090
|
WebUI\Port=8090
|
||||||
|
|||||||
@ -54,13 +54,13 @@ $STD npm install -g yarn
|
|||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Tandoor (Patience)"
|
msg_info "Installing Tandoor (Patience)"
|
||||||
$STD git clone https://github.com/vabene1111/recipes.git -b master /opt/tandoor
|
$STD git clone https://github.com/TandoorRecipes/recipes -b master /opt/tandoor
|
||||||
mkdir -p /opt/tandoor/{config,api,mediafiles,staticfiles}
|
mkdir -p /opt/tandoor/{config,api,mediafiles,staticfiles}
|
||||||
$STD pip3 install -r /opt/tandoor/requirements.txt
|
$STD pip3 install -r /opt/tandoor/requirements.txt
|
||||||
cd /opt/tandoor/vue
|
cd /opt/tandoor/vue
|
||||||
$STD yarn install
|
$STD yarn install
|
||||||
$STD yarn build
|
$STD yarn build
|
||||||
wget -q https://raw.githubusercontent.com/vabene1111/recipes/develop/.env.template -O /opt/tandoor/.env
|
wget -q https://raw.githubusercontent.com/TandoorRecipes/recipes/develop/.env.template -O /opt/tandoor/.env
|
||||||
DB_NAME=db_recipes
|
DB_NAME=db_recipes
|
||||||
DB_USER=tandoor
|
DB_USER=tandoor
|
||||||
DB_ENCODING=utf8
|
DB_ENCODING=utf8
|
||||||
|
|||||||
@ -22,10 +22,10 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Setup TriliumNext"
|
msg_info "Setup TriliumNext"
|
||||||
cd /opt
|
cd /opt
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
wget -q https://github.com/TriliumNext/Notes/releases/download/${RELEASE}/TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
|
wget -q https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz
|
||||||
tar -xf TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
|
tar -xf TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz
|
||||||
mv trilium-linux-x64-server /opt/trilium
|
mv TriliumNextNotes-Server-$RELEASE-linux-x64 /opt/trilium
|
||||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||||
msg_ok "Setup TriliumNext"
|
msg_ok "Setup TriliumNext"
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ motd_ssh
|
|||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /opt/TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
|
rm -rf /opt/TriliumNextNotes-Server-${RELEASE}-linux-x64.tar.xz
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|||||||
@ -14,6 +14,17 @@
|
|||||||
"logo": "https://raw.githubusercontent.com/CorentinTh/it-tools/08d977b8cdb7ffb76adfa18ba6eb4b73795ec814/public/safari-pinned-tab.svg",
|
"logo": "https://raw.githubusercontent.com/CorentinTh/it-tools/08d977b8cdb7ffb76adfa18ba6eb4b73795ec814/public/safari-pinned-tab.svg",
|
||||||
"description": "IT-Tools is a web-based suite of utilities designed to streamline and simplify various IT tasks, providing tools for developers and system administrators to manage their workflows efficiently.",
|
"description": "IT-Tools is a web-based suite of utilities designed to streamline and simplify various IT tasks, providing tools for developers and system administrators to manage their workflows efficiently.",
|
||||||
"install_methods": [
|
"install_methods": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"script": "ct/alpine-it-tools.sh",
|
||||||
|
"resources": {
|
||||||
|
"cpu": 1,
|
||||||
|
"ram": 256,
|
||||||
|
"hdd": 0.2,
|
||||||
|
"os": "alpine",
|
||||||
|
"version": "3.21"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "alpine",
|
"type": "alpine",
|
||||||
"script": "ct/alpine-it-tools.sh",
|
"script": "ct/alpine-it-tools.sh",
|
||||||
|
|||||||
@ -30,5 +30,14 @@
|
|||||||
"username": null,
|
"username": null,
|
||||||
"password": null
|
"password": null
|
||||||
},
|
},
|
||||||
"notes": []
|
"notes": [
|
||||||
}
|
{
|
||||||
|
"text": "Port for V1: 8888",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "Port for V2: 8086",
|
||||||
|
"type": "info"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
@ -34,6 +34,10 @@
|
|||||||
{
|
{
|
||||||
"text": "Show Login Credentials, type `update` in the LXC console",
|
"text": "Show Login Credentials, type `update` in the LXC console",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "Script installs English as default OCR language. To install additional languages, use `apt-get install tesseract-ocr-[lang]`, where [lang] is the language code (e.g. `apt-get install tesseract-ocr-deu`).",
|
||||||
|
"type": "info"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -20,7 +20,7 @@
|
|||||||
"script": "ct/prometheus-pve-exporter.sh",
|
"script": "ct/prometheus-pve-exporter.sh",
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": 1,
|
"cpu": 1,
|
||||||
"ram": 1024,
|
"ram": 512,
|
||||||
"hdd": 2,
|
"hdd": 2,
|
||||||
"os": "debian",
|
"os": "debian",
|
||||||
"version": "12"
|
"version": "12"
|
||||||
|
|||||||
@ -150,8 +150,8 @@ After=network-online.target
|
|||||||
User=root
|
User=root
|
||||||
WorkingDirectory=/usr/local/community-scripts
|
WorkingDirectory=/usr/local/community-scripts
|
||||||
ExecStartPre=/bin/touch /usr/local/community-scripts/filebrowser.db
|
ExecStartPre=/bin/touch /usr/local/community-scripts/filebrowser.db
|
||||||
ExecStartPre=/usr/local/bin/filebrowser config set -a "0.0.0.0" -p 9000 -d /usr/local/community-scripts/filebrowser.db
|
ExecStartPre=/usr/local/bin/filebrowser config set -a "0.0.0.0" -p ${PORT} -d /usr/local/community-scripts/filebrowser.db
|
||||||
ExecStart=/usr/local/bin/filebrowser -r / -d /usr/local/community-scripts/filebrowser.db -p 9000
|
ExecStart=/usr/local/bin/filebrowser -r / -d /usr/local/community-scripts/filebrowser.db -p ${PORT}
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user