mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-21 04:55:15 +00:00
Compare commits
306 Commits
michelroeg
...
deb13_c_to
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59152d7a48 | ||
|
|
a3269c88d4 | ||
|
|
f4d94ff6ba | ||
|
|
bc9553733d | ||
|
|
2557f0e289 | ||
|
|
4cb7a6b637 | ||
|
|
2ed76caf15 | ||
|
|
7d10f60d23 | ||
|
|
d6782e40b4 | ||
|
|
398352f3e8 | ||
|
|
b6f09e2318 | ||
|
|
217867beb8 | ||
|
|
d841950abe | ||
|
|
7449a15401 | ||
|
|
059c4e728a | ||
|
|
32434b4247 | ||
|
|
2d66f327c9 | ||
|
|
7baddb92da | ||
|
|
2eca1e4c2b | ||
|
|
28310dec5e | ||
|
|
297af6bdd8 | ||
|
|
12a5b9b9c2 | ||
|
|
f4530715d0 | ||
|
|
0dd74f392a | ||
|
|
1ef5019b65 | ||
|
|
30c9f79051 | ||
|
|
66175fbe58 | ||
|
|
e440f366fc | ||
|
|
94318dfd7e | ||
|
|
6b80eecba6 | ||
|
|
3eeed0fc2d | ||
|
|
3df2f8e8f9 | ||
|
|
9655a62c72 | ||
|
|
db0bb3e8d9 | ||
|
|
8d83c30b59 | ||
|
|
132cb607e9 | ||
|
|
9fb1b692d1 | ||
|
|
dd71e2fadd | ||
|
|
c33969aafc | ||
|
|
ec5a0b80ea | ||
|
|
36a746d05f | ||
|
|
46354ba47b | ||
|
|
10fa148dfb | ||
|
|
63864cfe7a | ||
|
|
094695dc93 | ||
|
|
8bb9f18f94 | ||
|
|
2b33ba975f | ||
|
|
0eeb8bb8a8 | ||
|
|
b962ad66c6 | ||
|
|
56d283e534 | ||
|
|
018afd6f94 | ||
|
|
38b20a642d | ||
|
|
e8a16e129e | ||
|
|
c34e4b4a38 | ||
|
|
efc75bdc00 | ||
|
|
f542b75f54 | ||
|
|
ae801bf961 | ||
|
|
fe379c4ea9 | ||
|
|
0506d711f5 | ||
|
|
efa5d93a77 | ||
|
|
4e47e8a762 | ||
|
|
c6c3e99a7c | ||
|
|
5386309f01 | ||
|
|
e837a6e941 | ||
|
|
45ff93ac66 | ||
|
|
98980e1d2b | ||
|
|
78bbf1aa32 | ||
|
|
92ede6e5b7 | ||
|
|
673a60a464 | ||
|
|
5189777898 | ||
|
|
33d7d91789 | ||
|
|
f212a7525b | ||
|
|
4c6596666b | ||
|
|
d200b3e216 | ||
|
|
68a2a3b79e | ||
|
|
7bfbda8204 | ||
|
|
726be4c58e | ||
|
|
1ede1afb32 | ||
|
|
450501a3f3 | ||
|
|
c122b14a9d | ||
|
|
dfe310809a | ||
|
|
84a3e848bd | ||
|
|
32879d531a | ||
|
|
13d1f11c25 | ||
|
|
8d88214ff4 | ||
|
|
5774d8a281 | ||
|
|
7b4da08dba | ||
|
|
666e0efa8d | ||
|
|
be5a0ad346 | ||
|
|
e57ce97847 | ||
|
|
abe7dc631d | ||
|
|
4990162ed5 | ||
|
|
ae470a95f5 | ||
|
|
51f33f3309 | ||
|
|
90fdc2a2f4 | ||
|
|
ced7276338 | ||
|
|
fe52ef2c8e | ||
|
|
7e16803465 | ||
|
|
616d71e067 | ||
|
|
d361fc91f1 | ||
|
|
08897cbaae | ||
|
|
a28a3813c2 | ||
|
|
23f6b759e8 | ||
|
|
b38201574c | ||
|
|
782b3561a3 | ||
|
|
895c0b8e4e | ||
|
|
8b57855c6c | ||
|
|
47a6078e55 | ||
|
|
a2ac2ef86a | ||
|
|
67f63315fc | ||
|
|
08b0304d2e | ||
|
|
1512fa0f57 | ||
|
|
78fe6fa4c5 | ||
|
|
b7238d89d0 | ||
|
|
4d657532f0 | ||
|
|
59129aace0 | ||
|
|
0f2e17067b | ||
|
|
62a5361e97 | ||
|
|
9711509588 | ||
|
|
c1a0188864 | ||
|
|
9a6de58210 | ||
|
|
79119715d2 | ||
|
|
0f5c510aa9 | ||
|
|
1c6f71e349 | ||
|
|
f7475827fe | ||
|
|
01e2ad02d1 | ||
|
|
75b5831ccb | ||
|
|
2e9babf040 | ||
|
|
dd0af7ad39 | ||
|
|
67c311808b | ||
|
|
54b8e82bb4 | ||
|
|
f8c01defee | ||
|
|
a61af3209f | ||
|
|
c49187fd4d | ||
|
|
bf7734cba2 | ||
|
|
6a6601822a | ||
|
|
5df596b60e | ||
|
|
1f7b85af5b | ||
|
|
7ea93e6a7c | ||
|
|
81d5c1839b | ||
|
|
65869ed717 | ||
|
|
79fcd16b4a | ||
|
|
3a044d5597 | ||
|
|
fd17a83e01 | ||
|
|
0c62b68b39 | ||
|
|
38f538a210 | ||
|
|
8a869da3af | ||
|
|
b56147e44f | ||
|
|
565c59a460 | ||
|
|
396cdc174a | ||
|
|
e00ff7effa | ||
|
|
5bf7725e5c | ||
|
|
aace204655 | ||
|
|
58f3b62e8e | ||
|
|
dd1a55ef4d | ||
|
|
98f4ffcaac | ||
|
|
51fd179ce1 | ||
|
|
8e05b80410 | ||
|
|
06a734e8e1 | ||
|
|
882acba706 | ||
|
|
5efe629317 | ||
|
|
2c8eb71a95 | ||
|
|
a882d95377 | ||
|
|
759aed901d | ||
|
|
51957aa0c9 | ||
|
|
ccc1917ef9 | ||
|
|
57736ffdb2 | ||
|
|
4764caf151 | ||
|
|
1f9a19e9e7 | ||
|
|
53535d48e4 | ||
|
|
637d28368b | ||
|
|
e148445ee5 | ||
|
|
c8ac257f8a | ||
|
|
69e20b10f4 | ||
|
|
21fce154e6 | ||
|
|
8d13add11e | ||
|
|
303413ea7e | ||
|
|
f488dcc8e3 | ||
|
|
35f4554065 | ||
|
|
826c2bf463 | ||
|
|
f62293fdab | ||
|
|
c707c33841 | ||
|
|
17044ac6f0 | ||
|
|
a0addd2235 | ||
|
|
f1c662e621 | ||
|
|
74766832a9 | ||
|
|
22100b17f4 | ||
|
|
4fe79e701c | ||
|
|
a4e338c699 | ||
|
|
4a6cf8c695 | ||
|
|
2219c75cb2 | ||
|
|
9fded22ba2 | ||
|
|
27accdb021 | ||
|
|
3f3beb02ad | ||
|
|
98e926b79f | ||
|
|
3d1af467c3 | ||
|
|
035a7d6b49 | ||
|
|
a6a46b9e92 | ||
|
|
badbc55221 | ||
|
|
0e1346af5f | ||
|
|
7abf03f388 | ||
|
|
1af47b93a6 | ||
|
|
dc96d94334 | ||
|
|
8d7e290db5 | ||
|
|
96c1bc74bd | ||
|
|
14e5aea1b0 | ||
|
|
851f117b6b | ||
|
|
348037acf9 | ||
|
|
5eb2a7ee01 | ||
|
|
45dc4c903a | ||
|
|
98ce24d9ae | ||
|
|
19109e2efc | ||
|
|
742b8eef6e | ||
|
|
4852fdb257 | ||
|
|
12eca691c9 | ||
|
|
2daaef1a62 | ||
|
|
e6c3149364 | ||
|
|
afa7366a3e | ||
|
|
4ed46c1367 | ||
|
|
138354c31d | ||
|
|
764c49b964 | ||
|
|
d640af3a7c | ||
|
|
78036d1ce9 | ||
|
|
541c308c77 | ||
|
|
367fac8ec1 | ||
|
|
6c119d439f | ||
|
|
992e1c80cf | ||
|
|
5b3a31f5ea | ||
|
|
03d496ed0c | ||
|
|
820a8a984c | ||
|
|
d785881367 | ||
|
|
559e7fa584 | ||
|
|
bd30b9d444 | ||
|
|
0cd972ca54 | ||
|
|
d2d55e58f6 | ||
|
|
00cd15e754 | ||
|
|
910f9c9990 | ||
|
|
6001fc0ad7 | ||
|
|
023ac07b77 | ||
|
|
2bd408a1d9 | ||
|
|
5b26794ae2 | ||
|
|
97acb617e1 | ||
|
|
df556b4402 | ||
|
|
abb9040093 | ||
|
|
eb23d67f03 | ||
|
|
73fff7af83 | ||
|
|
144837210d | ||
|
|
3612fcf31e | ||
|
|
9a1d967ff0 | ||
|
|
c666e584cf | ||
|
|
13ba192fe3 | ||
|
|
22c593278e | ||
|
|
4523f1f07d | ||
|
|
76a1e35c20 | ||
|
|
31365d8219 | ||
|
|
0271cbe5dc | ||
|
|
76c72a8f66 | ||
|
|
1aa7883dd6 | ||
|
|
23900c9c36 | ||
|
|
d146d7a72d | ||
|
|
ece3d74fd4 | ||
|
|
261da103f8 | ||
|
|
39e8659658 | ||
|
|
c463c794f0 | ||
|
|
d0259594b3 | ||
|
|
bc7da8082a | ||
|
|
02956f2e27 | ||
|
|
be226d273e | ||
|
|
340aa608ab | ||
|
|
5381eb00f0 | ||
|
|
17c0785f90 | ||
|
|
85747a63d7 | ||
|
|
bab133de2a | ||
|
|
1cbebe6d3a | ||
|
|
6dc690ab31 | ||
|
|
c78b2ea8b8 | ||
|
|
0e44fc0914 | ||
|
|
94d7935011 | ||
|
|
8c552011c2 | ||
|
|
a80bda8cd0 | ||
|
|
7454318287 | ||
|
|
2c2bdb81db | ||
|
|
75b191f0d8 | ||
|
|
1d1fa6862b | ||
|
|
5d4f935e73 | ||
|
|
12de81afa4 | ||
|
|
dea27e50ed | ||
|
|
722f64244d | ||
|
|
87b6dbaa10 | ||
|
|
8b63464298 | ||
|
|
1822030836 | ||
|
|
369d32dde8 | ||
|
|
9d17ec06cf | ||
|
|
e66ea278b3 | ||
|
|
ec4be0222d | ||
|
|
19a19dcf09 | ||
|
|
f7c62a9525 | ||
|
|
80932008bb | ||
|
|
ae4d05771b | ||
|
|
d2f13efee6 | ||
|
|
df7e517ea7 | ||
|
|
c8a409064e | ||
|
|
9064e5a2f4 | ||
|
|
398d042a3d | ||
|
|
c7c5947a11 | ||
|
|
dca1c3b02c |
34
CHANGELOG.md
34
CHANGELOG.md
@@ -10,44 +10,14 @@
|
|||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
||||||
|
|
||||||
## 2025-11-13
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- Netvisor ([#9133](https://github.com/community-scripts/ProxmoxVE/pull/9133))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Domain Monitor: Add domain checking cron [@tremor021](https://github.com/tremor021) ([#9129](https://github.com/community-scripts/ProxmoxVE/pull/9129))
|
|
||||||
- Kimai: Fix for MariaDB connection URL [@tremor021](https://github.com/tremor021) ([#9124](https://github.com/community-scripts/ProxmoxVE/pull/9124))
|
|
||||||
- Fix: filebrowser-quantum update [@MickLesk](https://github.com/MickLesk) ([#9115](https://github.com/community-scripts/ProxmoxVE/pull/9115))
|
|
||||||
- tools.func: fix wrong output for setup_java (error token is "0") [@snow2k9](https://github.com/snow2k9) ([#9110](https://github.com/community-scripts/ProxmoxVE/pull/9110))
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- tools.func: improve Rust setup and crate installation logic [@MickLesk](https://github.com/MickLesk) ([#9120](https://github.com/community-scripts/ProxmoxVE/pull/9120))
|
|
||||||
|
|
||||||
- #### 💥 Breaking Changes
|
|
||||||
|
|
||||||
- Downgrade Swizzin to Debian 12 Bookworm [@MickLesk](https://github.com/MickLesk) ([#9116](https://github.com/community-scripts/ProxmoxVE/pull/9116))
|
|
||||||
|
|
||||||
## 2025-11-12
|
## 2025-11-12
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- Miniflux ([#9091](https://github.com/community-scripts/ProxmoxVE/pull/9091))
|
|
||||||
- Splunk Enterprise ([#9090](https://github.com/community-scripts/ProxmoxVE/pull/9090))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- openwebui: Python version usage | core: zsh completion install [@MickLesk](https://github.com/MickLesk) ([#9079](https://github.com/community-scripts/ProxmoxVE/pull/9079))
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
- evcc: add missing fi in update [@MichaelVetter1979](https://github.com/MichaelVetter1979) ([#9107](https://github.com/community-scripts/ProxmoxVE/pull/9107))
|
|
||||||
- PeaNUT: use clean install flag during update [@vhsdream](https://github.com/vhsdream) ([#9100](https://github.com/community-scripts/ProxmoxVE/pull/9100))
|
|
||||||
- Tududi: Create new env file from example; fix installation & update [@vhsdream](https://github.com/vhsdream) ([#9097](https://github.com/community-scripts/ProxmoxVE/pull/9097))
|
|
||||||
- openwebui: Python version usage | core: zsh completion install [@MickLesk](https://github.com/MickLesk) ([#9079](https://github.com/community-scripts/ProxmoxVE/pull/9079))
|
|
||||||
- Refactor: evcc [@CrazyWolf13](https://github.com/CrazyWolf13) ([#9057](https://github.com/community-scripts/ProxmoxVE/pull/9057))
|
- Refactor: evcc [@CrazyWolf13](https://github.com/CrazyWolf13) ([#9057](https://github.com/community-scripts/ProxmoxVE/pull/9057))
|
||||||
|
|
||||||
- #### ✨ New Features
|
- #### ✨ New Features
|
||||||
|
|||||||
69
ct/barcode-buddy.sh
Normal file
69
ct/barcode-buddy.sh
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
|
# Author: bvdberg01
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Forceu/barcodebuddy
|
||||||
|
|
||||||
|
APP="Barcode-Buddy"
|
||||||
|
var_tags="${var_tags:-grocery;household}"
|
||||||
|
var_cpu="${var_cpu:-1}"
|
||||||
|
var_ram="${var_ram:-512}"
|
||||||
|
var_disk="${var_disk:-3}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-12}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
if [[ ! -d /opt/barcodebuddy ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "barcodebuddy" "Forceu/barcodebuddy"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop apache2
|
||||||
|
systemctl stop barcodebuddy
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
msg_info "Backing up data"
|
||||||
|
mv /opt/barcodebuddy/ /opt/barcodebuddy-backup
|
||||||
|
msg_ok "Backed up data"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "barcodebuddy" "Forceu/barcodebuddy"
|
||||||
|
|
||||||
|
msg_info "Configuring ${APP}"
|
||||||
|
cp -r /opt/barcodebuddy-backup/data/. /opt/barcodebuddy/data
|
||||||
|
chown -R www-data:www-data /opt/barcodebuddy/data
|
||||||
|
msg_ok "Configured ${APP}"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start apache2
|
||||||
|
systemctl start barcodebuddy
|
||||||
|
msg_ok "Started Service"
|
||||||
|
|
||||||
|
msg_info "Cleaning up"
|
||||||
|
rm -r /opt/barcodebuddy-backup
|
||||||
|
msg_ok "Cleaned"
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
start
|
||||||
|
build_container
|
||||||
|
description
|
||||||
|
|
||||||
|
msg_ok "Completed Successfully!\n"
|
||||||
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
|
||||||
@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}"
|
|||||||
var_ram="${var_ram:-1024}"
|
var_ram="${var_ram:-1024}"
|
||||||
var_disk="${var_disk:-8}"
|
var_disk="${var_disk:-8}"
|
||||||
var_os="${var_os:-debian}"
|
var_os="${var_os:-debian}"
|
||||||
var_version="${var_version:-12}"
|
var_version="${var_version:-13}"
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
header_info "$APP"
|
header_info "$APP"
|
||||||
|
|||||||
@@ -20,45 +20,41 @@ color
|
|||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -d /opt/domain-monitor ]]; then
|
if [[ ! -d /opt/domain-monitor ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "domain-monitor" "Hosteroid/domain-monitor"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop apache2
|
||||||
|
msg_info "Service stopped"
|
||||||
|
|
||||||
|
msg_info "Creating backup"
|
||||||
|
mv /opt/domain-monitor/.env /opt
|
||||||
|
msg_ok "Created backup"
|
||||||
|
|
||||||
|
setup_composer
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip"
|
||||||
|
|
||||||
|
msg_info "Updating Domain Monitor"
|
||||||
|
cd /opt/domain-monitor
|
||||||
|
$STD composer install
|
||||||
|
msg_ok "Updated Domain Monitor"
|
||||||
|
|
||||||
|
msg_info "Restoring backup"
|
||||||
|
mv /opt/.env /opt/domain-monitor
|
||||||
|
msg_ok "Restored backup"
|
||||||
|
|
||||||
|
msg_info "Restarting Services"
|
||||||
|
systemctl reload apache2
|
||||||
|
msg_ok "Restarted Services"
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
|
fi
|
||||||
exit
|
exit
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -Fq "root /usr/bin/php /opt/domain-monitor/cron/check_domains.php" /etc/crontab; then
|
|
||||||
echo "0 0 * * * root /usr/bin/php /opt/domain-monitor/cron/check_domains.php" >>/etc/crontab
|
|
||||||
fi
|
|
||||||
|
|
||||||
if check_for_gh_release "domain-monitor" "Hosteroid/domain-monitor"; then
|
|
||||||
msg_info "Stopping Service"
|
|
||||||
systemctl stop apache2
|
|
||||||
msg_info "Service stopped"
|
|
||||||
|
|
||||||
msg_info "Creating backup"
|
|
||||||
mv /opt/domain-monitor/.env /opt
|
|
||||||
msg_ok "Created backup"
|
|
||||||
|
|
||||||
setup_composer
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip"
|
|
||||||
|
|
||||||
msg_info "Updating Domain Monitor"
|
|
||||||
cd /opt/domain-monitor
|
|
||||||
$STD composer install
|
|
||||||
msg_ok "Updated Domain Monitor"
|
|
||||||
|
|
||||||
msg_info "Restoring backup"
|
|
||||||
mv /opt/.env /opt/domain-monitor
|
|
||||||
msg_ok "Restored backup"
|
|
||||||
|
|
||||||
msg_info "Restarting Services"
|
|
||||||
systemctl reload apache2
|
|
||||||
msg_ok "Restarted Services"
|
|
||||||
msg_ok "Updated successfully!"
|
|
||||||
fi
|
|
||||||
exit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ function update_script() {
|
|||||||
"https://dl.evcc.io/public/evcc/stable/deb/debian/" \
|
"https://dl.evcc.io/public/evcc/stable/deb/debian/" \
|
||||||
"$(get_os_info codename)" \
|
"$(get_os_info codename)" \
|
||||||
"main"
|
"main"
|
||||||
fi
|
|
||||||
msg_info "Updating evcc LXC"
|
msg_info "Updating evcc LXC"
|
||||||
$STD apt update
|
$STD apt update
|
||||||
$STD apt --only-upgrade install -y evcc
|
$STD apt --only-upgrade install -y evcc
|
||||||
|
|||||||
70
ct/fenrus.sh
Normal file
70
ct/fenrus.sh
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
|
# Copyright (c) 2021-2025 tteck
|
||||||
|
# Author: tteck (tteckster) | Co-Author: Scorpoon
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/revenz/Fenrus
|
||||||
|
|
||||||
|
APP="Fenrus"
|
||||||
|
var_tags="${var_tags:-dashboard}"
|
||||||
|
var_cpu="${var_cpu:-1}"
|
||||||
|
var_ram="${var_ram:-512}"
|
||||||
|
var_disk="${var_disk:-4}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-12}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
if [[ ! -d /opt/${APP} ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
msg_error "Currently we don't provide an update function for this ${APP}."
|
||||||
|
exit
|
||||||
|
msg_info "Updating ${APP}"
|
||||||
|
systemctl stop ${APP}
|
||||||
|
git clone https://github.com/revenz/Fenrus.git
|
||||||
|
cd Fenrus
|
||||||
|
gitVersionNumber=$(git rev-parse HEAD)
|
||||||
|
|
||||||
|
if [[ "${gitVersionNumber}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
|
||||||
|
mkdir /opt/fenrus-data-backup
|
||||||
|
cp -r "/opt/${APP}/data/" /opt/fenrus-data-backup/data
|
||||||
|
if [[ ! -d /opt/fenrus-data-backup/data ]]; then
|
||||||
|
msg_error "Backup of data folder failed! exiting..."
|
||||||
|
rm -r /opt/fenrus-data-backup/
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
|
dotnet publish -c Release -o "/opt/${APP}/" Fenrus.csproj
|
||||||
|
cp -r /opt/fenrus-data-backup/data/ "/opt/${APP}/"
|
||||||
|
echo "${gitVersionNumber}" >"/opt/${APP}_version.txt"
|
||||||
|
rm -r /opt/fenrus-data-backup/
|
||||||
|
msg_ok "Updated $APP"
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
|
else
|
||||||
|
msg_ok "No update required. ${APP} is already up to date"
|
||||||
|
fi
|
||||||
|
cd ..
|
||||||
|
rm -r Fenrus/
|
||||||
|
|
||||||
|
systemctl start ${APP}
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
start
|
||||||
|
build_container
|
||||||
|
description
|
||||||
|
|
||||||
|
msg_ok "Completed Successfully!\n"
|
||||||
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5000${CL}"
|
||||||
6
ct/headers/barcode-buddy
Normal file
6
ct/headers/barcode-buddy
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
____ __ ____ __ __
|
||||||
|
/ __ )____ _______________ ____/ /__ / __ )__ ______/ /___/ /_ __
|
||||||
|
/ __ / __ `/ ___/ ___/ __ \/ __ / _ \______/ __ / / / / __ / __ / / / /
|
||||||
|
/ /_/ / /_/ / / / /__/ /_/ / /_/ / __/_____/ /_/ / /_/ / /_/ / /_/ / /_/ /
|
||||||
|
/_____/\__,_/_/ \___/\____/\__,_/\___/ /_____/\__,_/\__,_/\__,_/\__, /
|
||||||
|
/____/
|
||||||
6
ct/headers/fenrus
Normal file
6
ct/headers/fenrus
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
______
|
||||||
|
/ ____/__ ____ _______ _______
|
||||||
|
/ /_ / _ \/ __ \/ ___/ / / / ___/
|
||||||
|
/ __/ / __/ / / / / / /_/ (__ )
|
||||||
|
/_/ \___/_/ /_/_/ \__,_/____/
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
__ ____ _ ______
|
|
||||||
/ |/ (_)___ (_) __/ /_ ___ __
|
|
||||||
/ /|_/ / / __ \/ / /_/ / / / / |/_/
|
|
||||||
/ / / / / / / / / __/ / /_/ /> <
|
|
||||||
/_/ /_/_/_/ /_/_/_/ /_/\__,_/_/|_|
|
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
_ __ __ _ ___
|
|
||||||
/ | / /__ / /| | / (_)________ _____
|
|
||||||
/ |/ / _ \/ __/ | / / / ___/ __ \/ ___/
|
|
||||||
/ /| / __/ /_ | |/ / (__ ) /_/ / /
|
|
||||||
/_/ |_/\___/\__/ |___/_/____/\____/_/
|
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
_____ __ __ ______ __ _
|
|
||||||
/ ___/____ / /_ ______ / /__ / ____/___ / /____ _________ _____(_)_______
|
|
||||||
\__ \/ __ \/ / / / / __ \/ //_/_____/ __/ / __ \/ __/ _ \/ ___/ __ \/ ___/ / ___/ _ \
|
|
||||||
___/ / /_/ / / /_/ / / / / ,< /_____/ /___/ / / / /_/ __/ / / /_/ / / / (__ ) __/
|
|
||||||
/____/ .___/_/\__,_/_/ /_/_/|_| /_____/_/ /_/\__/\___/_/ / .___/_/ /_/____/\___/
|
|
||||||
/_/ /_/
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: omernaveedxyz
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://miniflux.app/
|
|
||||||
|
|
||||||
APP="Miniflux"
|
|
||||||
var_tags="${var_tags:-media}"
|
|
||||||
var_cpu="${var_cpu:-2}"
|
|
||||||
var_ram="${var_ram:-2048}"
|
|
||||||
var_disk="${var_disk:-8}"
|
|
||||||
var_os="${var_os:-debian}"
|
|
||||||
var_version="${var_version:-13}"
|
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
|
||||||
|
|
||||||
header_info "$APP"
|
|
||||||
variables
|
|
||||||
color
|
|
||||||
catch_errors
|
|
||||||
|
|
||||||
function update_script() {
|
|
||||||
header_info
|
|
||||||
check_container_storage
|
|
||||||
check_container_resources
|
|
||||||
if [[ ! -f /etc/systemd/system/miniflux.service ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Stopping Service"
|
|
||||||
$STD miniflux -flush-sessions -config-file /etc/miniflux.conf
|
|
||||||
systemctl stop miniflux
|
|
||||||
msg_ok "Service Stopped"
|
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "miniflux" "miniflux/v2" "binary" "latest"
|
|
||||||
|
|
||||||
msg_info "Updating Miniflux"
|
|
||||||
$STD miniflux -migrate -config-file /etc/miniflux.conf
|
|
||||||
msg_ok "Updated Miniflux"
|
|
||||||
msg_info "Starting Service"
|
|
||||||
$STD systemctl start miniflux
|
|
||||||
msg_ok "Started Service"
|
|
||||||
msg_ok "Updated successfully"
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
|
|
||||||
start
|
|
||||||
build_container
|
|
||||||
description
|
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: vhsdream
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://github.com/maynayza/netvisor
|
|
||||||
|
|
||||||
APP="NetVisor"
|
|
||||||
var_tags="${var_tags:-analytics}"
|
|
||||||
var_cpu="${var_cpu:-2}"
|
|
||||||
var_ram="${var_ram:-2048}"
|
|
||||||
var_disk="${var_disk:-6}"
|
|
||||||
var_os="${var_os:-debian}"
|
|
||||||
var_version="${var_version:-13}"
|
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
|
||||||
|
|
||||||
header_info "$APP"
|
|
||||||
variables
|
|
||||||
color
|
|
||||||
catch_errors
|
|
||||||
|
|
||||||
function update_script() {
|
|
||||||
header_info
|
|
||||||
check_container_storage
|
|
||||||
check_container_resources
|
|
||||||
|
|
||||||
if [[ ! -d /opt/netvisor ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
if check_for_gh_release "netvisor" "mayanayza/netvisor"; then
|
|
||||||
msg_info "Stopping services"
|
|
||||||
systemctl stop netvisor-daemon netvisor-server
|
|
||||||
msg_ok "Stopped services"
|
|
||||||
|
|
||||||
msg_info "Backing up configurations"
|
|
||||||
cp /opt/netvisor/.env /opt/netvisor.env
|
|
||||||
msg_ok "Backed up configurations"
|
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "netvisor" "mayanayza/netvisor" "tarball" "latest" "/opt/netvisor"
|
|
||||||
|
|
||||||
TOOLCHAIN="$(grep "channel" /opt/netvisor/backend/rust-toolchain.toml | awk -F\" '{print $2}')"
|
|
||||||
RUST_TOOLCHAIN=$TOOLCHAIN setup_rust
|
|
||||||
|
|
||||||
mv /opt/netvisor.env /opt/netvisor/.env
|
|
||||||
msg_info "Creating frontend UI"
|
|
||||||
export PUBLIC_SERVER_HOSTNAME=default
|
|
||||||
export PUBLIC_SERVER_PORT=60072
|
|
||||||
cd /opt/netvisor/ui
|
|
||||||
$STD npm ci --no-fund --no-audit
|
|
||||||
$STD npm run build
|
|
||||||
msg_ok "Created frontend UI"
|
|
||||||
|
|
||||||
msg_info "Building Netvisor-server (patience)"
|
|
||||||
cd /opt/netvisor/backend
|
|
||||||
$STD cargo build --release --bin server
|
|
||||||
mv ./target/release/server /usr/bin/netvisor-server
|
|
||||||
msg_ok "Built Netvisor-server"
|
|
||||||
|
|
||||||
msg_info "Building Netvisor-daemon (amd64 version)"
|
|
||||||
$STD cargo build --release --bin daemon
|
|
||||||
cp ./target/release/daemon /usr/bin/netvisor-daemon
|
|
||||||
msg_ok "Built Netvisor-daemon (amd64 version)"
|
|
||||||
|
|
||||||
msg_info "Starting services"
|
|
||||||
systemctl start netvisor-server netvisor-daemon
|
|
||||||
msg_ok "Updated successfully!"
|
|
||||||
fi
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
|
|
||||||
start
|
|
||||||
build_container
|
|
||||||
description
|
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:60072${CL}"
|
|
||||||
@@ -34,17 +34,12 @@ function update_script() {
|
|||||||
|
|
||||||
if grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
if grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
||||||
|
|
||||||
msg_info "Backing up user data and configuration"
|
msg_info "Backing up data"
|
||||||
local BACKUP_DIR="/tmp/paperless_backup_$$"
|
mkdir -p /opt/paperless_backup
|
||||||
mkdir -p "$BACKUP_DIR"
|
cp -r /opt/paperless/data /opt/paperless_backup/
|
||||||
for dir in /opt/paperless/*/; do
|
cp -r /opt/paperless/media /opt/paperless_backup/
|
||||||
dir_name=$(basename "$dir")
|
cp -r /opt/paperless/paperless.conf /opt/paperless_backup/
|
||||||
if [[ ! "$dir_name" =~ ^(docker|docs|scripts|src|static)$ ]]; then
|
msg_ok "Backup completed"
|
||||||
cp -r "/opt/paperless/$dir_name" "$BACKUP_DIR/" 2>/dev/null || true
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
[[ -f /opt/paperless/paperless.conf ]] && cp /opt/paperless/paperless.conf "$BACKUP_DIR/"
|
|
||||||
msg_ok "Backup completed to $BACKUP_DIR"
|
|
||||||
|
|
||||||
PYTHON_VERSION="3.13" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
||||||
@@ -58,14 +53,19 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Updating Paperless-ngx"
|
msg_info "Updating Paperless-ngx"
|
||||||
cp -r "$BACKUP_DIR"/* /opt/paperless/
|
cp -r /opt/paperless_backup/* /opt/paperless/
|
||||||
|
CONSUME_DIR="$(sed -n 's/^PAPERLESS_CONSUMPTION_DIR=//p' /opt/paperless/paperless.conf)"
|
||||||
|
if [[ -z "$CONSUME_DIR" ]]; then
|
||||||
|
CONSUME_DIR="/opt/paperless/consume"
|
||||||
|
fi
|
||||||
|
mkdir -p "$CONSUME_DIR"
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
$STD uv sync --all-extras
|
$STD uv sync --all-extras
|
||||||
cd /opt/paperless/src
|
cd /opt/paperless/src
|
||||||
$STD uv run -- python manage.py migrate
|
$STD uv run -- python manage.py migrate
|
||||||
msg_ok "Updated Paperless-ngx"
|
msg_ok "Updated Paperless-ngx"
|
||||||
|
|
||||||
rm -rf "$BACKUP_DIR"
|
rm -rf /opt/paperless_backup
|
||||||
|
|
||||||
else
|
else
|
||||||
msg_warn "You are about to migrate your Paperless-ngx installation to uv!"
|
msg_warn "You are about to migrate your Paperless-ngx installation to uv!"
|
||||||
@@ -83,20 +83,8 @@ function update_script() {
|
|||||||
rm -rf /opt/paperless/venv
|
rm -rf /opt/paperless/venv
|
||||||
find /opt/paperless -name "__pycache__" -type d -exec rm -rf {} +
|
find /opt/paperless -name "__pycache__" -type d -exec rm -rf {} +
|
||||||
|
|
||||||
msg_info "Backing up user data and configuration"
|
|
||||||
local BACKUP_DIR="/tmp/paperless_backup_$$"
|
|
||||||
mkdir -p "$BACKUP_DIR"
|
|
||||||
|
|
||||||
for dir in /opt/paperless/*/; do
|
|
||||||
dir_name=$(basename "$dir")
|
|
||||||
if [[ ! "$dir_name" =~ ^(docker|docs|scripts|src|static)$ ]]; then
|
|
||||||
cp -r "/opt/paperless/$dir_name" "$BACKUP_DIR/" 2>/dev/null || true
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
[[ -f /opt/paperless/paperless.conf ]] && cp /opt/paperless/paperless.conf "$BACKUP_DIR/"
|
|
||||||
msg_ok "Backup completed to $BACKUP_DIR"
|
|
||||||
|
|
||||||
declare -A PATCHES=(
|
declare -A PATCHES=(
|
||||||
|
["paperless-consumer.service"]="ExecStart=uv run -- python manage.py document_consumer"
|
||||||
["paperless-scheduler.service"]="ExecStart=uv run -- celery --app paperless beat --loglevel INFO"
|
["paperless-scheduler.service"]="ExecStart=uv run -- celery --app paperless beat --loglevel INFO"
|
||||||
["paperless-task-queue.service"]="ExecStart=uv run -- celery --app paperless worker --loglevel INFO"
|
["paperless-task-queue.service"]="ExecStart=uv run -- celery --app paperless worker --loglevel INFO"
|
||||||
["paperless-webserver.service"]="ExecStart=uv run -- granian --interface asgi --ws \"paperless.asgi:application\""
|
["paperless-webserver.service"]="ExecStart=uv run -- granian --interface asgi --ws \"paperless.asgi:application\""
|
||||||
@@ -121,18 +109,12 @@ function update_script() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
$STD systemctl daemon-reload
|
$STD systemctl daemon-reload
|
||||||
msg_info "Backing up user data and configuration"
|
msg_info "Backing up data"
|
||||||
BACKUP_DIR="/tmp/paperless_backup_$$"
|
mkdir -p /opt/paperless_backup
|
||||||
mkdir -p "$BACKUP_DIR"
|
cp -r /opt/paperless/data /opt/paperless_backup/
|
||||||
|
cp -r /opt/paperless/media /opt/paperless_backup/
|
||||||
for dir in /opt/paperless/*/; do
|
cp -r /opt/paperless/paperless.conf /opt/paperless_backup/
|
||||||
dir_name=$(basename "$dir")
|
msg_ok "Backup completed"
|
||||||
if [[ ! "$dir_name" =~ ^(docker|docs|scripts|src|static)$ ]]; then
|
|
||||||
cp -r "/opt/paperless/$dir_name" "$BACKUP_DIR/" 2>/dev/null || true
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
[[ -f /opt/paperless/paperless.conf ]] && cp /opt/paperless/paperless.conf "$BACKUP_DIR/"
|
|
||||||
msg_ok "Backup completed to $BACKUP_DIR"
|
|
||||||
|
|
||||||
PYTHON_VERSION="3.13" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
||||||
@@ -148,14 +130,16 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Updating Paperless-ngx"
|
msg_info "Updating Paperless-ngx"
|
||||||
cp -r "$BACKUP_DIR"/* /opt/paperless/
|
cp -r /opt/paperless_backup/* /opt/paperless/
|
||||||
|
CONSUME_DIR="$(sed -n '/^PAPERLESS_CONSUMPTION/s/[^=]=*//p' /opt/paperless/paperless.conf)"
|
||||||
|
mkdir -p "${CONSUME_DIR:-/opt/paperless/consume}"
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
$STD uv sync --all-extras
|
$STD uv sync --all-extras
|
||||||
cd /opt/paperless/src
|
cd /opt/paperless/src
|
||||||
$STD uv run -- python manage.py migrate
|
$STD uv run -- python manage.py migrate
|
||||||
msg_ok "Paperless-ngx migration and update completed"
|
msg_ok "Paperless-ngx migration and update completed"
|
||||||
|
|
||||||
rm -rf "$BACKUP_DIR"
|
rm -rf /opt/paperless_backup
|
||||||
if [[ -d /opt/paperless/backup ]]; then
|
if [[ -d /opt/paperless/backup ]]; then
|
||||||
rm -rf /opt/paperless/backup
|
rm -rf /opt/paperless/backup
|
||||||
msg_ok "Removed old backup directory"
|
msg_ok "Removed old backup directory"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
|
|||||||
# Source: https://github.com/Brandawg93/PeaNUT/
|
# Source: https://github.com/Brandawg93/PeaNUT/
|
||||||
|
|
||||||
APP="PeaNUT"
|
APP="PeaNUT"
|
||||||
var_tags="${var_tags:-network;ups}"
|
var_tags="${var_tags:-network;ups;}"
|
||||||
var_cpu="${var_cpu:-2}"
|
var_cpu="${var_cpu:-2}"
|
||||||
var_ram="${var_ram:-4096}"
|
var_ram="${var_ram:-4096}"
|
||||||
var_disk="${var_disk:-7}"
|
var_disk="${var_disk:-7}"
|
||||||
@@ -35,7 +35,7 @@ function update_script() {
|
|||||||
systemctl stop peanut
|
systemctl stop peanut
|
||||||
msg_info "Stopped Service"
|
msg_info "Stopped Service"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "peanut" "Brandawg93/PeaNUT" "tarball" "latest" "/opt/peanut"
|
fetch_and_deploy_gh_release "peanut" "Brandawg93/PeaNUT" "tarball" "latest" "/opt/peanut"
|
||||||
|
|
||||||
msg_info "Updating $APP"
|
msg_info "Updating $APP"
|
||||||
cd /opt/peanut
|
cd /opt/peanut
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: rcastley
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://www.splunk.com/en_us/download.html
|
|
||||||
|
|
||||||
APP="Splunk-Enterprise"
|
|
||||||
var_tags="${var_tags:-monitoring}"
|
|
||||||
var_cpu="${var_cpu:-4}"
|
|
||||||
var_ram="${var_ram:-8192}"
|
|
||||||
var_disk="${var_disk:-40}"
|
|
||||||
var_os="${var_os:-ubuntu}"
|
|
||||||
var_version="${var_version:-24.04}"
|
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
|
||||||
|
|
||||||
header_info "$APP"
|
|
||||||
variables
|
|
||||||
color
|
|
||||||
catch_errors
|
|
||||||
|
|
||||||
function update_script() {
|
|
||||||
header_info
|
|
||||||
check_container_storage
|
|
||||||
check_container_resources
|
|
||||||
if [[ ! -d /opt/splunk ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
msg_error "Currently we don't provide an update function for this ${APP}."
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
|
|
||||||
start
|
|
||||||
build_container
|
|
||||||
description
|
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
|
||||||
echo -e "${INFO}${YW}Access the Splunk Enterprise Web interface using the following URL:${CL}"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8000${CL}"
|
|
||||||
@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}"
|
|||||||
var_ram="${var_ram:-4096}"
|
var_ram="${var_ram:-4096}"
|
||||||
var_disk="${var_disk:-20}"
|
var_disk="${var_disk:-20}"
|
||||||
var_os="${var_os:-debian}"
|
var_os="${var_os:-debian}"
|
||||||
var_version="${var_version:-12}"
|
var_version="${var_version:-13}"
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
header_info "$APP"
|
header_info "$APP"
|
||||||
|
|||||||
21
ct/tududi.sh
21
ct/tududi.sh
@@ -35,15 +35,14 @@ function update_script() {
|
|||||||
systemctl stop tududi
|
systemctl stop tududi
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up env file"
|
msg_info "Remove and backup Files"
|
||||||
if [[ -f /opt/tududi/backend/.env ]]; then
|
DB="$(sed -n '/^DB_FILE/s/[^=]*=//p' /opt/tududi/backend/.env)"
|
||||||
cp /opt/tududi/backend/.env /opt/tududi.env
|
export DB_FILE="$DB"
|
||||||
else
|
cp /opt/tududi/backend/.env /opt/tududi.env
|
||||||
cp /opt/tududi/.env /opt/tududi.env
|
rm -rf /opt/tududi/backend/dist
|
||||||
fi
|
msg_ok "Backup and removed Files"
|
||||||
msg_ok "Backed up env file"
|
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tududi" "chrisvel/tududi" "tarball" "latest" "/opt/tududi"
|
fetch_and_deploy_gh_release "tududi" "chrisvel/tududi" "tarball" "latest" "/opt/tududi"
|
||||||
|
|
||||||
msg_info "Updating Tududi"
|
msg_info "Updating Tududi"
|
||||||
cd /opt/tududi
|
cd /opt/tududi
|
||||||
@@ -51,9 +50,9 @@ function update_script() {
|
|||||||
export NODE_ENV=production
|
export NODE_ENV=production
|
||||||
$STD npm run frontend:build
|
$STD npm run frontend:build
|
||||||
mv ./dist ./backend
|
mv ./dist ./backend
|
||||||
mv /opt/tududi.env /opt/tududi/backend/.env
|
mv ./public/locales ./backend/dist
|
||||||
DB="$(sed -n '/^DB_FILE/s/[^=]*=//p' /opt/tududi/backend/.env)"
|
mv ./public/favicon.* ./backend/dist
|
||||||
export DB_FILE="$DB"
|
mv /opt/tududi.env /opt/tududi/.env
|
||||||
sed -i -e 's|/tududi$|/tududi/backend|' \
|
sed -i -e 's|/tududi$|/tududi/backend|' \
|
||||||
-e 's|npm run start|bash /opt/tududi/backend/cmd/start.sh|' \
|
-e 's|npm run start|bash /opt/tududi/backend/cmd/start.sh|' \
|
||||||
/etc/systemd/system/tududi.service
|
/etc/systemd/system/tududi.service
|
||||||
|
|||||||
40
frontend/public/json/barcode-buddy.json
Normal file
40
frontend/public/json/barcode-buddy.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"name": "Barcode Buddy",
|
||||||
|
"slug": "barcode-buddy",
|
||||||
|
"categories": [
|
||||||
|
24
|
||||||
|
],
|
||||||
|
"date_created": "2025-02-08",
|
||||||
|
"type": "ct",
|
||||||
|
"updateable": true,
|
||||||
|
"privileged": false,
|
||||||
|
"interface_port": 80,
|
||||||
|
"documentation": "https://barcodebuddy-documentation.readthedocs.io/en/latest/",
|
||||||
|
"website": "https://github.com/Forceu/barcodebuddy",
|
||||||
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/barcode-buddy.webp",
|
||||||
|
"config_path": "/opt/barcodebuddy/data/config.php",
|
||||||
|
"description": "Barcode Buddy for Grocy is an extension for Grocy, allowing to pass barcodes to Grocy. It supports barcodes for products and chores. If you own a physical barcode scanner, it can be integrated, so that all barcodes scanned are automatically pushed to BarcodeBuddy/Grocy.",
|
||||||
|
"install_methods": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"script": "ct/barcode-buddy.sh",
|
||||||
|
"resources": {
|
||||||
|
"cpu": 1,
|
||||||
|
"ram": 512,
|
||||||
|
"hdd": 3,
|
||||||
|
"os": "debian",
|
||||||
|
"version": "12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default_credentials": {
|
||||||
|
"username": null,
|
||||||
|
"password": null
|
||||||
|
},
|
||||||
|
"notes": [
|
||||||
|
{
|
||||||
|
"text": "After install enable the option \"Use Redis cache\" on the settings page.",
|
||||||
|
"type": "info"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
35
frontend/public/json/fenrus.json
Normal file
35
frontend/public/json/fenrus.json
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"name": "Fenrus",
|
||||||
|
"slug": "fenrus",
|
||||||
|
"categories": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"date_created": "2024-05-05",
|
||||||
|
"type": "ct",
|
||||||
|
"updateable": false,
|
||||||
|
"privileged": false,
|
||||||
|
"interface_port": 5000,
|
||||||
|
"documentation": "https://github.com/revenz/Fenrus/wiki",
|
||||||
|
"website": "https://github.com/revenz/Fenrus",
|
||||||
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/fenrus.webp",
|
||||||
|
"config_path": "",
|
||||||
|
"description": "A personal home page for quick access to all your personal apps/sites.",
|
||||||
|
"install_methods": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"script": "ct/fenrus.sh",
|
||||||
|
"resources": {
|
||||||
|
"cpu": 1,
|
||||||
|
"ram": 512,
|
||||||
|
"hdd": 4,
|
||||||
|
"os": "debian",
|
||||||
|
"version": "12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default_credentials": {
|
||||||
|
"username": null,
|
||||||
|
"password": null
|
||||||
|
},
|
||||||
|
"notes": []
|
||||||
|
}
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Miniflux",
|
|
||||||
"slug": "miniflux",
|
|
||||||
"categories": [
|
|
||||||
13
|
|
||||||
],
|
|
||||||
"date_created": "2025-11-12",
|
|
||||||
"type": "ct",
|
|
||||||
"updateable": true,
|
|
||||||
"privileged": false,
|
|
||||||
"config_path": "/etc/miniflux.conf",
|
|
||||||
"interface_port": 8080,
|
|
||||||
"documentation": "https://miniflux.app/docs/index.html",
|
|
||||||
"website": "https://miniflux.app/",
|
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/miniflux-light.webp",
|
|
||||||
"description": "Miniflux is a minimalist and opinionated feed reader.",
|
|
||||||
"install_methods": [
|
|
||||||
{
|
|
||||||
"type": "default",
|
|
||||||
"script": "ct/miniflux.sh",
|
|
||||||
"resources": {
|
|
||||||
"cpu": 2,
|
|
||||||
"ram": 2048,
|
|
||||||
"hdd": 8,
|
|
||||||
"os": "Debian",
|
|
||||||
"version": "13"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_credentials": {
|
|
||||||
"username": "admin",
|
|
||||||
"password": "randomly generated during installation process"
|
|
||||||
},
|
|
||||||
"notes": [
|
|
||||||
{
|
|
||||||
"text": "Admin password available as `ADMIN_PASSWORD` in `~/miniflux.creds`",
|
|
||||||
"type": "info"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "NetVisor",
|
|
||||||
"slug": "netvisor",
|
|
||||||
"categories": [
|
|
||||||
9
|
|
||||||
],
|
|
||||||
"date_created": "2025-11-13",
|
|
||||||
"type": "ct",
|
|
||||||
"updateable": true,
|
|
||||||
"privileged": false,
|
|
||||||
"interface_port": 60072,
|
|
||||||
"documentation": "https://github.com/mayanayza/netvisor",
|
|
||||||
"config_path": "/opt/netvisor/.env",
|
|
||||||
"website": "https://github.com/mayanayza/netvisor",
|
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/png/netvisor.png",
|
|
||||||
"description": "Automatically discover and visually document network infrastructure",
|
|
||||||
"install_methods": [
|
|
||||||
{
|
|
||||||
"type": "default",
|
|
||||||
"script": "ct/netvisor.sh",
|
|
||||||
"resources": {
|
|
||||||
"cpu": 2,
|
|
||||||
"ram": 2048,
|
|
||||||
"hdd": 6,
|
|
||||||
"os": "Debian",
|
|
||||||
"version": "13"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_credentials": {
|
|
||||||
"username": null,
|
|
||||||
"password": null
|
|
||||||
},
|
|
||||||
"notes": [
|
|
||||||
{
|
|
||||||
"text": "The integrated daemon config is located at `/root/.config/daemon/config.json`",
|
|
||||||
"type": "info"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Splunk Enterprise",
|
|
||||||
"slug": "splunk-enterprise",
|
|
||||||
"categories": [
|
|
||||||
9
|
|
||||||
],
|
|
||||||
"date_created": "2025-11-12",
|
|
||||||
"type": "ct",
|
|
||||||
"updateable": false,
|
|
||||||
"privileged": false,
|
|
||||||
"interface_port": 8000,
|
|
||||||
"documentation": "https://help.splunk.com",
|
|
||||||
"config_path": "",
|
|
||||||
"website": "https://www.splunk.com/en_us/download/splunk-enterprise.html",
|
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/splunk.webp",
|
|
||||||
"description": "Platform for searching, monitoring, and analyzing machine-generated data at scale for operational intelligence and security.",
|
|
||||||
"install_methods": [
|
|
||||||
{
|
|
||||||
"type": "default",
|
|
||||||
"script": "ct/splunk-enterprise.sh",
|
|
||||||
"resources": {
|
|
||||||
"cpu": 4,
|
|
||||||
"ram": 8192,
|
|
||||||
"hdd": 40,
|
|
||||||
"os": "Ubuntu",
|
|
||||||
"version": "24.04"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_credentials": {
|
|
||||||
"username": null,
|
|
||||||
"password": null
|
|
||||||
},
|
|
||||||
"notes": [
|
|
||||||
{
|
|
||||||
"text": "The credentials to login can be found in splunk.creds.",
|
|
||||||
"type": "info"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"text": "Trial license allows indexing 500 MB/Day. After 60 days you can convert to a perpetual free license or purchase a Splunk Enterprise license to continue using the expanded functionality designed for enterprise-scale deployments.",
|
|
||||||
"type": "warning"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"text": "About Splunk Free License: https://help.splunk.com/en/splunk-enterprise/administer/admin-manual/10.0/configure-splunk-licenses/about-splunk-free",
|
|
||||||
"type": "info"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"ram": 4096,
|
"ram": 4096,
|
||||||
"hdd": 20,
|
"hdd": 20,
|
||||||
"os": "Debian",
|
"os": "Debian",
|
||||||
"version": "12"
|
"version": "13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,174 +1,4 @@
|
|||||||
[
|
[
|
||||||
{
|
|
||||||
"name": "PrivateBin/PrivateBin",
|
|
||||||
"version": "1.7.9",
|
|
||||||
"date": "2025-11-13T10:26:37Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "nzbgetcom/nzbget",
|
|
||||||
"version": "v25.4",
|
|
||||||
"date": "2025-10-09T10:27:01Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "traefik/traefik",
|
|
||||||
"version": "v2.11.31",
|
|
||||||
"date": "2025-11-13T10:01:56Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "meilisearch/meilisearch",
|
|
||||||
"version": "prototype-v1.25.0.improve-s3-multipart-upload-1",
|
|
||||||
"date": "2025-11-13T09:25:48Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "docker/compose",
|
|
||||||
"version": "v2.40.3",
|
|
||||||
"date": "2025-10-30T09:35:37Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "redis/redis",
|
|
||||||
"version": "8.4-int2",
|
|
||||||
"date": "2025-11-13T08:17:31Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "evcc-io/evcc",
|
|
||||||
"version": "0.209.8",
|
|
||||||
"date": "2025-11-13T07:20:49Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "fuma-nama/fumadocs",
|
|
||||||
"version": "create-fumadocs-app@16.0.14",
|
|
||||||
"date": "2025-11-13T06:36:08Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.24.301",
|
|
||||||
"date": "2025-11-13T05:56:54Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "firefly-iii/firefly-iii",
|
|
||||||
"version": "v6.4.8",
|
|
||||||
"date": "2025-11-13T04:42:27Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "esphome/esphome",
|
|
||||||
"version": "2025.10.5",
|
|
||||||
"date": "2025-11-12T01:09:44Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "jeedom/core",
|
|
||||||
"version": "4.4.20",
|
|
||||||
"date": "2025-11-13T00:27:05Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "steveiliop56/tinyauth",
|
|
||||||
"version": "v4.0.1",
|
|
||||||
"date": "2025-10-15T16:53:55Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "documenso/documenso",
|
|
||||||
"version": "v2.0.11",
|
|
||||||
"date": "2025-11-12T23:56:58Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "rcourtman/Pulse",
|
|
||||||
"version": "issue-706",
|
|
||||||
"date": "2025-11-12T21:52:39Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "keycloak/keycloak",
|
|
||||||
"version": "26.4.5",
|
|
||||||
"date": "2025-11-12T15:24:23Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "henrygd/beszel",
|
|
||||||
"version": "v0.16.0",
|
|
||||||
"date": "2025-11-12T21:33:36Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NginxProxyManager/nginx-proxy-manager",
|
|
||||||
"version": "v2.13.4",
|
|
||||||
"date": "2025-11-12T21:27:04Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "BerriAI/litellm",
|
|
||||||
"version": "v1.79.3.dev5",
|
|
||||||
"date": "2025-11-12T20:59:51Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ollama/ollama",
|
|
||||||
"version": "v0.12.11-rc0",
|
|
||||||
"date": "2025-11-12T16:40:38Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "wazuh/wazuh",
|
|
||||||
"version": "v4.14.1",
|
|
||||||
"date": "2025-11-12T18:11:43Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pymedusa/Medusa",
|
|
||||||
"version": "v1.0.25",
|
|
||||||
"date": "2025-11-12T16:57:54Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "zitadel/zitadel",
|
|
||||||
"version": "v4.6.6",
|
|
||||||
"date": "2025-11-12T13:09:12Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kimai/kimai",
|
|
||||||
"version": "2.42.0",
|
|
||||||
"date": "2025-11-12T15:16:54Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "zwave-js/zwave-js-ui",
|
|
||||||
"version": "v11.7.0",
|
|
||||||
"date": "2025-11-12T14:09:36Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "jenkinsci/jenkins",
|
|
||||||
"version": "jenkins-2.528.2",
|
|
||||||
"date": "2025-11-12T13:18:13Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "dgtlmoon/changedetection.io",
|
|
||||||
"version": "0.50.43",
|
|
||||||
"date": "2025-11-12T12:03:21Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cockpit-project/cockpit",
|
|
||||||
"version": "351",
|
|
||||||
"date": "2025-11-12T11:28:06Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "0xERR0R/blocky",
|
|
||||||
"version": "v0.28.0",
|
|
||||||
"date": "2025-11-12T11:00:07Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Paymenter/Paymenter",
|
|
||||||
"version": "v1.4.4",
|
|
||||||
"date": "2025-11-12T10:43:23Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "SigNoz/signoz",
|
|
||||||
"version": "v0.101.0",
|
|
||||||
"date": "2025-11-12T07:13:22Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "morpheus65535/bazarr",
|
|
||||||
"version": "v1.5.3",
|
|
||||||
"date": "2025-09-20T12:12:33Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "webmin/webmin",
|
|
||||||
"version": "2.600",
|
|
||||||
"date": "2025-11-12T05:01:55Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "hyperion-project/hyperion.ng",
|
|
||||||
"version": "2.1.1",
|
|
||||||
"date": "2025-06-14T17:45:06Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "moghtech/komodo",
|
"name": "moghtech/komodo",
|
||||||
"version": "v1.19.5",
|
"version": "v1.19.5",
|
||||||
@@ -179,6 +9,16 @@
|
|||||||
"version": "v5.17.0",
|
"version": "v5.17.0",
|
||||||
"date": "2025-11-11T20:15:54Z"
|
"date": "2025-11-11T20:15:54Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "BerriAI/litellm",
|
||||||
|
"version": "v1.79.dev.1",
|
||||||
|
"date": "2025-11-11T20:13:32Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rcourtman/Pulse",
|
||||||
|
"version": "v4.29.0",
|
||||||
|
"date": "2025-11-11T19:45:56Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "juanfont/headscale",
|
"name": "juanfont/headscale",
|
||||||
"version": "v0.27.1",
|
"version": "v0.27.1",
|
||||||
@@ -204,11 +44,21 @@
|
|||||||
"version": "mattermost-redux@11.1.0",
|
"version": "mattermost-redux@11.1.0",
|
||||||
"date": "2025-11-11T17:15:00Z"
|
"date": "2025-11-11T17:15:00Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "jenkinsci/jenkins",
|
||||||
|
"version": "jenkins-2.536",
|
||||||
|
"date": "2025-11-11T17:03:28Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "msgbyte/tianji",
|
"name": "msgbyte/tianji",
|
||||||
"version": "v1.30.10",
|
"version": "v1.30.10",
|
||||||
"date": "2025-11-11T16:26:27Z"
|
"date": "2025-11-11T16:26:27Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "kimai/kimai",
|
||||||
|
"version": "2.41.0",
|
||||||
|
"date": "2025-11-11T15:17:21Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "netbox-community/netbox",
|
"name": "netbox-community/netbox",
|
||||||
"version": "v4.4.6",
|
"version": "v4.4.6",
|
||||||
@@ -224,6 +74,11 @@
|
|||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"date": "2025-11-11T14:30:28Z"
|
"date": "2025-11-11T14:30:28Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "fuma-nama/fumadocs",
|
||||||
|
"version": "create-fumadocs-app@16.0.13",
|
||||||
|
"date": "2025-11-11T14:04:06Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "openobserve/openobserve",
|
"name": "openobserve/openobserve",
|
||||||
"version": "v0.16.1",
|
"version": "v0.16.1",
|
||||||
@@ -244,11 +99,26 @@
|
|||||||
"version": "n8n@1.119.1",
|
"version": "n8n@1.119.1",
|
||||||
"date": "2025-11-10T14:21:10Z"
|
"date": "2025-11-10T14:21:10Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "zitadel/zitadel",
|
||||||
|
"version": "v4.6.5",
|
||||||
|
"date": "2025-11-11T09:55:47Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "emqx/emqx",
|
"name": "emqx/emqx",
|
||||||
"version": "e6.0.1",
|
"version": "e6.0.1",
|
||||||
"date": "2025-11-11T09:46:06Z"
|
"date": "2025-11-11T09:46:06Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "NginxProxyManager/nginx-proxy-manager",
|
||||||
|
"version": "v2.13.3",
|
||||||
|
"date": "2025-11-11T07:36:54Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Jackett/Jackett",
|
||||||
|
"version": "v0.24.275",
|
||||||
|
"date": "2025-11-11T05:56:40Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "FlareSolverr/FlareSolverr",
|
"name": "FlareSolverr/FlareSolverr",
|
||||||
"version": "v3.4.5",
|
"version": "v3.4.5",
|
||||||
@@ -269,6 +139,16 @@
|
|||||||
"version": "2025.11.11",
|
"version": "2025.11.11",
|
||||||
"date": "2025-11-11T00:35:03Z"
|
"date": "2025-11-11T00:35:03Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "jeedom/core",
|
||||||
|
"version": "4.4.20",
|
||||||
|
"date": "2025-11-11T00:27:07Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "steveiliop56/tinyauth",
|
||||||
|
"version": "v4.0.1",
|
||||||
|
"date": "2025-10-15T16:53:55Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "qbittorrent/qBittorrent",
|
"name": "qbittorrent/qBittorrent",
|
||||||
"version": "release-5.1.3",
|
"version": "release-5.1.3",
|
||||||
@@ -294,16 +174,46 @@
|
|||||||
"version": "v1.69.0",
|
"version": "v1.69.0",
|
||||||
"date": "2025-11-10T17:22:00Z"
|
"date": "2025-11-10T17:22:00Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "meilisearch/meilisearch",
|
||||||
|
"version": "latest",
|
||||||
|
"date": "2025-11-10T17:01:21Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "gtsteffaniak/filebrowser",
|
"name": "gtsteffaniak/filebrowser",
|
||||||
"version": "v1.0.1-stable",
|
"version": "v1.0.1-stable",
|
||||||
"date": "2025-11-10T16:51:44Z"
|
"date": "2025-11-10T16:51:44Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "keycloak/keycloak",
|
||||||
|
"version": "26.4.4",
|
||||||
|
"date": "2025-11-07T08:55:27Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "grokability/snipe-it",
|
"name": "grokability/snipe-it",
|
||||||
"version": "v8.3.5",
|
"version": "v8.3.5",
|
||||||
"date": "2025-11-10T14:12:12Z"
|
"date": "2025-11-10T14:12:12Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "SigNoz/signoz",
|
||||||
|
"version": "v0.101.0-rc.1",
|
||||||
|
"date": "2025-11-10T13:08:55Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "dgtlmoon/changedetection.io",
|
||||||
|
"version": "0.50.42",
|
||||||
|
"date": "2025-11-10T12:32:49Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "documenso/documenso",
|
||||||
|
"version": "v2.0.6",
|
||||||
|
"date": "2025-11-10T08:08:43Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "firefly-iii/firefly-iii",
|
||||||
|
"version": "v6.4.6",
|
||||||
|
"date": "2025-11-08T22:45:35Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "navidrome/navidrome",
|
"name": "navidrome/navidrome",
|
||||||
"version": "v0.58.5",
|
"version": "v0.58.5",
|
||||||
@@ -409,11 +319,31 @@
|
|||||||
"version": "2025.11.1",
|
"version": "2025.11.1",
|
||||||
"date": "2025-11-07T17:05:45Z"
|
"date": "2025-11-07T17:05:45Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "traefik/traefik",
|
||||||
|
"version": "v3.6.0",
|
||||||
|
"date": "2025-11-07T15:34:35Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "YunoHost/yunohost",
|
"name": "YunoHost/yunohost",
|
||||||
"version": "debian/12.1.35",
|
"version": "debian/12.1.35",
|
||||||
"date": "2025-11-07T14:35:24Z"
|
"date": "2025-11-07T14:35:24Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "nzbgetcom/nzbget",
|
||||||
|
"version": "v25.4",
|
||||||
|
"date": "2025-10-09T10:27:01Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Paymenter/Paymenter",
|
||||||
|
"version": "v1.4.3",
|
||||||
|
"date": "2025-11-07T11:07:17Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "wazuh/wazuh",
|
||||||
|
"version": "coverity-w46-4.14.1",
|
||||||
|
"date": "2025-11-07T08:46:03Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "umami-software/umami",
|
"name": "umami-software/umami",
|
||||||
"version": "v3.0.0",
|
"version": "v3.0.0",
|
||||||
@@ -479,6 +409,11 @@
|
|||||||
"version": "v0.9.1",
|
"version": "v0.9.1",
|
||||||
"date": "2025-11-06T02:26:53Z"
|
"date": "2025-11-06T02:26:53Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "ollama/ollama",
|
||||||
|
"version": "v0.12.10",
|
||||||
|
"date": "2025-11-05T21:41:21Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "neo4j/neo4j",
|
"name": "neo4j/neo4j",
|
||||||
"version": "5.26.16",
|
"version": "5.26.16",
|
||||||
@@ -529,6 +464,11 @@
|
|||||||
"version": "v4.4.1",
|
"version": "v4.4.1",
|
||||||
"date": "2025-11-05T09:08:23Z"
|
"date": "2025-11-05T09:08:23Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "evcc-io/evcc",
|
||||||
|
"version": "0.209.7",
|
||||||
|
"date": "2025-11-05T08:32:08Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "slskd/slskd",
|
"name": "slskd/slskd",
|
||||||
"version": "0.24.0",
|
"version": "0.24.0",
|
||||||
@@ -539,6 +479,11 @@
|
|||||||
"version": "v4.0.16.2944",
|
"version": "v4.0.16.2944",
|
||||||
"date": "2025-11-05T01:56:48Z"
|
"date": "2025-11-05T01:56:48Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "henrygd/beszel",
|
||||||
|
"version": "v0.15.4",
|
||||||
|
"date": "2025-11-04T22:34:12Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "go-gitea/gitea",
|
"name": "go-gitea/gitea",
|
||||||
"version": "v1.25.1",
|
"version": "v1.25.1",
|
||||||
@@ -579,11 +524,26 @@
|
|||||||
"version": "v2.0.11",
|
"version": "v2.0.11",
|
||||||
"date": "2025-11-04T08:51:05Z"
|
"date": "2025-11-04T08:51:05Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "redis/redis",
|
||||||
|
"version": "8.4-rc1-int2",
|
||||||
|
"date": "2025-11-03T09:00:38Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "clusterzx/paperless-ai",
|
"name": "clusterzx/paperless-ai",
|
||||||
"version": "v3.0.9",
|
"version": "v3.0.9",
|
||||||
"date": "2025-11-04T07:28:45Z"
|
"date": "2025-11-04T07:28:45Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "esphome/esphome",
|
||||||
|
"version": "2025.10.4",
|
||||||
|
"date": "2025-11-04T03:04:13Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "hyperion-project/hyperion.ng",
|
||||||
|
"version": "2.1.1",
|
||||||
|
"date": "2025-06-14T17:45:06Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "actualbudget/actual",
|
"name": "actualbudget/actual",
|
||||||
"version": "v25.11.0",
|
"version": "v25.11.0",
|
||||||
@@ -669,6 +629,11 @@
|
|||||||
"version": "v1.10.1",
|
"version": "v1.10.1",
|
||||||
"date": "2025-10-31T08:25:57Z"
|
"date": "2025-10-31T08:25:57Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pymedusa/Medusa",
|
||||||
|
"version": "v1.0.24",
|
||||||
|
"date": "2025-10-30T19:04:42Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "mongodb/mongo",
|
"name": "mongodb/mongo",
|
||||||
"version": "r7.0.26",
|
"version": "r7.0.26",
|
||||||
@@ -694,11 +659,21 @@
|
|||||||
"version": "v5.4",
|
"version": "v5.4",
|
||||||
"date": "2025-10-30T14:25:23Z"
|
"date": "2025-10-30T14:25:23Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "docker/compose",
|
||||||
|
"version": "v2.40.3",
|
||||||
|
"date": "2025-10-30T09:35:37Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "prometheus/prometheus",
|
"name": "prometheus/prometheus",
|
||||||
"version": "v0.307.3",
|
"version": "v0.307.3",
|
||||||
"date": "2025-10-30T08:13:40Z"
|
"date": "2025-10-30T08:13:40Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "morpheus65535/bazarr",
|
||||||
|
"version": "v1.5.3",
|
||||||
|
"date": "2025-09-20T12:12:33Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ipfs/kubo",
|
"name": "ipfs/kubo",
|
||||||
"version": "v0.38.2",
|
"version": "v0.38.2",
|
||||||
@@ -714,11 +689,21 @@
|
|||||||
"version": "v2.7.12",
|
"version": "v2.7.12",
|
||||||
"date": "2025-05-29T17:08:26Z"
|
"date": "2025-05-29T17:08:26Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "zwave-js/zwave-js-ui",
|
||||||
|
"version": "v11.6.1",
|
||||||
|
"date": "2025-10-29T16:51:06Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "laurent22/joplin",
|
"name": "laurent22/joplin",
|
||||||
"version": "server-v3.4.4",
|
"version": "server-v3.4.4",
|
||||||
"date": "2025-09-25T13:19:26Z"
|
"date": "2025-09-25T13:19:26Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "cockpit-project/cockpit",
|
||||||
|
"version": "350",
|
||||||
|
"date": "2025-10-29T09:51:00Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "apache/cassandra",
|
"name": "apache/cassandra",
|
||||||
"version": "cassandra-5.0.6",
|
"version": "cassandra-5.0.6",
|
||||||
@@ -739,6 +724,11 @@
|
|||||||
"version": "v6.2.2",
|
"version": "v6.2.2",
|
||||||
"date": "2025-10-28T17:07:47Z"
|
"date": "2025-10-28T17:07:47Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "PrivateBin/PrivateBin",
|
||||||
|
"version": "2.0.2",
|
||||||
|
"date": "2025-10-28T15:51:35Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "librespeed/speedtest-rust",
|
"name": "librespeed/speedtest-rust",
|
||||||
"version": "v1.4.0",
|
"version": "v1.4.0",
|
||||||
@@ -959,6 +949,11 @@
|
|||||||
"version": "v0.10.4",
|
"version": "v0.10.4",
|
||||||
"date": "2025-10-11T19:53:39Z"
|
"date": "2025-10-11T19:53:39Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "0xERR0R/blocky",
|
||||||
|
"version": "v0.27.0",
|
||||||
|
"date": "2025-10-10T20:11:48Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "projectsend/projectsend",
|
"name": "projectsend/projectsend",
|
||||||
"version": "r1945",
|
"version": "r1945",
|
||||||
@@ -999,6 +994,11 @@
|
|||||||
"version": "v1.5.9",
|
"version": "v1.5.9",
|
||||||
"date": "2025-10-06T08:34:01Z"
|
"date": "2025-10-06T08:34:01Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "webmin/webmin",
|
||||||
|
"version": "2.520",
|
||||||
|
"date": "2025-10-05T00:51:34Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "WordPress/WordPress",
|
"name": "WordPress/WordPress",
|
||||||
"version": "4.7.31",
|
"version": "4.7.31",
|
||||||
|
|||||||
73
install/barcode-buddy-install.sh
Normal file
73
install/barcode-buddy-install.sh
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
|
# Author: bvdberg01
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Forceu/barcodebuddy
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
msg_info "Installing Dependencies"
|
||||||
|
$STD apt-get install -y \
|
||||||
|
redis \
|
||||||
|
sqlite3
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
PHP_VERSION="8.2" PHP_APACHE="YES" PHP_MODULE="redis, sqlite3" setup_php
|
||||||
|
fetch_and_deploy_gh_release "barcodebuddy" "Forceu/barcodebuddy"
|
||||||
|
|
||||||
|
msg_info "Configuring barcodebuddy"
|
||||||
|
chown -R www-data:www-data /opt/barcodebuddy/data
|
||||||
|
msg_ok "Configured barcodebuddy"
|
||||||
|
|
||||||
|
msg_info "Creating Services"
|
||||||
|
cat <<EOF >/etc/systemd/system/barcodebuddy.service
|
||||||
|
[Unit]
|
||||||
|
Description=Run websocket server for barcodebuddy screen feature
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/php /opt/barcodebuddy/wsserver.php
|
||||||
|
StandardOutput=null
|
||||||
|
Restart=on-failure
|
||||||
|
User=www-data
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
cat <<EOF >/etc/apache2/sites-available/barcodebuddy.conf
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName barcodebuddy
|
||||||
|
DocumentRoot /opt/barcodebuddy
|
||||||
|
|
||||||
|
<Directory /opt/barcodebuddy>
|
||||||
|
Options FollowSymLinks
|
||||||
|
AllowOverride All
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
ErrorLog /var/log/apache2/barcodebuddy_error.log
|
||||||
|
CustomLog /var/log/apache2/barcodebuddy_access.log combined
|
||||||
|
</VirtualHost>
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now barcodebuddy
|
||||||
|
$STD a2ensite barcodebuddy
|
||||||
|
$STD a2enmod rewrite
|
||||||
|
$STD a2dissite 000-default.conf
|
||||||
|
$STD systemctl reload apache2
|
||||||
|
msg_ok "Created Services"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
|
msg_info "Cleaning up"
|
||||||
|
$STD apt-get -y autoremove
|
||||||
|
$STD apt-get -y autoclean
|
||||||
|
msg_ok "Cleaned"
|
||||||
@@ -43,7 +43,6 @@ sed -i -e "s|^APP_ENV=.*|APP_ENV=production|" \
|
|||||||
-e "s|^DB_USERNAME=.*|DB_USERNAME=$MARIADB_DB_USER|" \
|
-e "s|^DB_USERNAME=.*|DB_USERNAME=$MARIADB_DB_USER|" \
|
||||||
-e "s|^DB_PASSWORD=.*|DB_PASSWORD=$MARIADB_DB_PASS|" \
|
-e "s|^DB_PASSWORD=.*|DB_PASSWORD=$MARIADB_DB_PASS|" \
|
||||||
-e "s|^DB_DATABASE=.*|DB_DATABASE=$MARIADB_DB_NAME|" .env
|
-e "s|^DB_DATABASE=.*|DB_DATABASE=$MARIADB_DB_NAME|" .env
|
||||||
echo "0 0 * * * root /usr/bin/php /opt/domain-monitor/cron/check_domains.php" >>/etc/crontab
|
|
||||||
|
|
||||||
cat <<EOF >/etc/apache2/sites-enabled/000-default.conf
|
cat <<EOF >/etc/apache2/sites-enabled/000-default.conf
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
|
|||||||
62
install/fenrus-install.sh
Normal file
62
install/fenrus-install.sh
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2025 tteck
|
||||||
|
# Author: tteck (tteckster)
|
||||||
|
# Co-Author: Scorpoon
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/revenz/Fenrus
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
msg_info "Installing Dependencies"
|
||||||
|
$STD apt-get install -y git
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
msg_info "Installing ASP.NET Core 7 SDK"
|
||||||
|
var_os=$(grep "^ID=" /etc/os-release | cut -d'=' -f2 | tr -d '"')
|
||||||
|
var_version=$(grep "^VERSION_ID=" /etc/os-release | cut -d'=' -f2 | tr -d '"')
|
||||||
|
if [ "${var_os}" = "debian" ]; then
|
||||||
|
curl -fsSL "https://packages.microsoft.com/config/debian/$var_version/packages-microsoft-prod.deb" -o "packages-microsoft-prod.deb"
|
||||||
|
$STD dpkg -i packages-microsoft-prod.deb
|
||||||
|
rm packages-microsoft-prod.deb
|
||||||
|
fi
|
||||||
|
$STD apt-get update
|
||||||
|
$STD apt-get install -y dotnet-sdk-7.0
|
||||||
|
msg_ok "Installed ASP.NET Core 7 SDK"
|
||||||
|
|
||||||
|
msg_info "Installing ${APPLICATION}"
|
||||||
|
git clone -q https://github.com/revenz/Fenrus.git /opt/${APPLICATION}
|
||||||
|
cd /opt/${APPLICATION}
|
||||||
|
$STD dotnet publish -c Release -o "/opt/${APPLICATION}/" Fenrus.csproj
|
||||||
|
msg_ok "Installed ${APPLICATION}"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/"${APPLICATION}".service
|
||||||
|
[Unit]
|
||||||
|
Description=${APPLICATION}
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/opt/${APPLICATION}
|
||||||
|
ExecStart=/usr/bin/dotnet Fenrus.dll --urls=http://*:5000
|
||||||
|
SyslogIdentifier=${APPLICATION}
|
||||||
|
User=root
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
$STD systemctl enable -q --now ${APPLICATION}
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
|
msg_info "Cleaning up"
|
||||||
|
$STD apt-get -y autoremove
|
||||||
|
$STD apt-get -y autoclean
|
||||||
|
msg_ok "Cleaned"
|
||||||
@@ -49,7 +49,7 @@ echo "export COMPOSER_ALLOW_SUPERUSER=1" >>~/.bashrc
|
|||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
$STD composer install --no-dev --optimize-autoloader --no-interaction
|
$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=mariadb-$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
|
||||||
$STD expect <<EOF
|
$STD expect <<EOF
|
||||||
set timeout -1
|
set timeout -1
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: omernaveedxyz
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://miniflux.app/
|
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
||||||
color
|
|
||||||
verb_ip6
|
|
||||||
catch_errors
|
|
||||||
setting_up_container
|
|
||||||
network_check
|
|
||||||
update_os
|
|
||||||
|
|
||||||
PG_VERSION=17 setup_postgresql
|
|
||||||
PG_DB_NAME="miniflux_db" PG_DB_USER="miniflux" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
|
|
||||||
fetch_and_deploy_gh_release "miniflux" "miniflux/v2" "binary" "latest"
|
|
||||||
|
|
||||||
msg_info "Configuring Miniflux"
|
|
||||||
ADMIN_NAME=admin
|
|
||||||
ADMIN_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)"
|
|
||||||
cat <<EOF >/etc/miniflux.conf
|
|
||||||
# See https://miniflux.app/docs/configuration.html
|
|
||||||
DATABASE_URL=user=$PG_DB_USER password=$PG_DB_PASS dbname=$PG_DB_NAME sslmode=disable
|
|
||||||
CREATE_ADMIN=1
|
|
||||||
ADMIN_USERNAME=$ADMIN_NAME
|
|
||||||
ADMIN_PASSWORD=$ADMIN_PASS
|
|
||||||
LISTEN_ADDR=0.0.0.0:8080
|
|
||||||
EOF
|
|
||||||
{
|
|
||||||
echo "ADMIN_USERNAME: $ADMIN_NAME"
|
|
||||||
echo "ADMIN_PASSWORD: $ADMIN_PASS"
|
|
||||||
} >>~/miniflux.creds
|
|
||||||
$STD miniflux -migrate -config-file /etc/miniflux.conf
|
|
||||||
systemctl enable -q --now miniflux
|
|
||||||
msg_ok "Configured Miniflux"
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
cleanup_lxc
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: vhsdream
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://github.com/mayanayza/netvisor
|
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
||||||
color
|
|
||||||
verb_ip6
|
|
||||||
catch_errors
|
|
||||||
setting_up_container
|
|
||||||
network_check
|
|
||||||
update_os
|
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
|
||||||
$STD apt install -y \
|
|
||||||
build-essential
|
|
||||||
msg_ok "Installed Dependencies"
|
|
||||||
|
|
||||||
PG_VERSION=17 setup_postgresql
|
|
||||||
NODE_VERSION="24" setup_nodejs
|
|
||||||
PG_DB_NAME="netvisor_db" PG_DB_USER="netvisor" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
|
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "netvisor" "mayanayza/netvisor" "tarball" "latest" "/opt/netvisor"
|
|
||||||
|
|
||||||
TOOLCHAIN="$(grep "channel" /opt/netvisor/backend/rust-toolchain.toml | awk -F\" '{print $2}')"
|
|
||||||
RUST_TOOLCHAIN=$TOOLCHAIN setup_rust
|
|
||||||
|
|
||||||
msg_info "Creating frontend UI"
|
|
||||||
export PUBLIC_SERVER_HOSTNAME=default
|
|
||||||
export PUBLIC_SERVER_PORT=60072
|
|
||||||
cd /opt/netvisor/ui
|
|
||||||
$STD npm ci --no-fund --no-audit
|
|
||||||
$STD npm run build
|
|
||||||
msg_ok "Created frontend UI"
|
|
||||||
|
|
||||||
msg_info "Building Netvisor-server (patience)"
|
|
||||||
cd /opt/netvisor/backend
|
|
||||||
$STD cargo build --release --bin server
|
|
||||||
mv ./target/release/server /usr/bin/netvisor-server
|
|
||||||
msg_ok "Built Netvisor-server"
|
|
||||||
|
|
||||||
msg_info "Building Netvisor-daemon"
|
|
||||||
$STD cargo build --release --bin daemon
|
|
||||||
cp ./target/release/daemon /usr/bin/netvisor-daemon
|
|
||||||
msg_ok "Built Netvisor-daemon"
|
|
||||||
|
|
||||||
msg_info "Configuring server & daemon for first-run"
|
|
||||||
cat <<EOF >/opt/netvisor/.env
|
|
||||||
### - UI
|
|
||||||
PUBLIC_SERVER_HOSTNAME=default
|
|
||||||
PUBLIC_SERVER_PORT=60072
|
|
||||||
|
|
||||||
### - SERVER
|
|
||||||
NETVISOR_DATABASE_URL=postgresql://$PG_DB_USER:$PG_DB_PASS@localhost:5432/$PG_DB_NAME
|
|
||||||
NETVISOR_WEB_EXTERNAL_PATH="/opt/netvisor/ui/build"
|
|
||||||
NETVISOR_SERVER_PORT=60072
|
|
||||||
NETVISOR_LOG_LEVEL=info
|
|
||||||
NETVISOR_INTEGRATED_DAEMON_URL=http://127.0.0.1:60073
|
|
||||||
## - uncomment to disable signups
|
|
||||||
# NETVISOR_DISABLE_REGISTRATION=true
|
|
||||||
## - uncomment when behind reverse proxy
|
|
||||||
# NETVISOR_USE_SECURE_SESSION_COOKIES=true
|
|
||||||
|
|
||||||
### - OIDC (optional)
|
|
||||||
# NETVISOR_OIDC_ISSUER_URL=
|
|
||||||
# NETVISOR_OIDC_CLIENT_ID=
|
|
||||||
# NETVISOR_OIDC_CLIENT_SECRET=
|
|
||||||
# NETVISOR_OIDC_PROVIDER_NAME=
|
|
||||||
# NETVISOR_OIDC_REDIRECT_URL=
|
|
||||||
## - Callback URL for reference
|
|
||||||
# http://your-netvisor-domain:60072/api/auth/oidc/callback
|
|
||||||
|
|
||||||
### - INTEGRATED DAEMON
|
|
||||||
NETVISOR_SERVER_TARGET=127.0.0.1
|
|
||||||
NETVISOR_BIND_ADDRESS=0.0.0.0
|
|
||||||
NETVISOR_NAME="netvisor-daemon"
|
|
||||||
NETVISOR_HEARTBEAT_INTERVAL=30
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat <<EOF >/etc/systemd/system/netvisor-server.service
|
|
||||||
[Unit]
|
|
||||||
Description=NetVisor Network Discovery Server
|
|
||||||
After=network.target postgresql.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
EnvironmentFile=/opt/netvisor/.env
|
|
||||||
ExecStart=/usr/bin/netvisor-server
|
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
StandardOutput=journal
|
|
||||||
StandardError=journal
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
EOF
|
|
||||||
|
|
||||||
systemctl enable -q --now netvisor-server
|
|
||||||
sleep 5
|
|
||||||
NETWORK_ID="$(sudo -u postgres psql -1 -t -d $PG_DB_NAME -c 'SELECT id FROM networks;')"
|
|
||||||
API_KEY="$(sudo -u postgres psql -1 -t -d $PG_DB_NAME -c 'SELECT key from api_keys;')"
|
|
||||||
|
|
||||||
cat <<EOF >/etc/systemd/system/netvisor-daemon.service
|
|
||||||
[Unit]
|
|
||||||
Description=NetVisor Network Discovery Daemon
|
|
||||||
After=network.target netvisor-server.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
EnvironmentFile=/opt/netvisor/.env
|
|
||||||
ExecStart=/usr/bin/netvisor-daemon --server-target http://127.0.0.1 --server-port 60072 --network-id ${NETWORK_ID} --daemon-api-key ${API_KEY}
|
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
StandardOutput=journal
|
|
||||||
StandardError=journal
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
EOF
|
|
||||||
systemctl enable -q --now netvisor-daemon
|
|
||||||
msg_ok "Netvisor server & daemon configured and running"
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
cleanup_lxc
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: rcastley
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://www.splunk.com/en_us/download.html
|
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
||||||
color
|
|
||||||
verb_ip6
|
|
||||||
catch_errors
|
|
||||||
setting_up_container
|
|
||||||
network_check
|
|
||||||
update_os
|
|
||||||
|
|
||||||
echo -e "${TAB3}┌─────────────────────────────────────────────────────────────────────────┐"
|
|
||||||
echo -e "${TAB3}│ SPLUNK GENERAL TERMS │"
|
|
||||||
echo -e "${TAB3}└─────────────────────────────────────────────────────────────────────────┘"
|
|
||||||
echo ""
|
|
||||||
echo -e "${TAB3}Before proceeding with the Splunk Enterprise installation, you must"
|
|
||||||
echo -e "${TAB3}review and accept the Splunk General Terms."
|
|
||||||
echo ""
|
|
||||||
echo -e "${TAB3}Please review the terms at:"
|
|
||||||
echo -e "${TAB3}${GATEWAY}${BGN}https://www.splunk.com/en_us/legal/splunk-general-terms.html${CL}"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
while true; do
|
|
||||||
echo -e "${TAB3}Do you accept the Splunk General Terms? (y/N): \c"
|
|
||||||
read -r response
|
|
||||||
case $response in
|
|
||||||
[Yy]|[Yy][Ee][Ss])
|
|
||||||
msg_ok "Terms accepted. Proceeding with installation..."
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
[Nn]|[Nn][Oo]|"")
|
|
||||||
msg_error "Terms not accepted. Installation cannot proceed."
|
|
||||||
msg_error "Please review the terms and run the script again if you wish to proceed."
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
msg_error "Invalid response. Please enter 'y' for yes or 'n' for no."
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
msg_info "Setup Splunk Enterprise"
|
|
||||||
DOWNLOAD_URL=$(curl -s "https://www.splunk.com/en_us/download/splunk-enterprise.html" | grep -o 'data-link="[^"]*' | sed 's/data-link="//' | grep "https.*products/splunk/releases" | grep "\.deb$")
|
|
||||||
RELEASE=$(echo "$DOWNLOAD_URL" | sed 's|.*/releases/\([^/]*\)/.*|\1|')
|
|
||||||
$STD curl -fsSL -o "splunk-enterprise.deb" "$DOWNLOAD_URL" || {
|
|
||||||
msg_error "Failed to download Splunk Enterprise from the provided link."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
$STD dpkg -i "splunk-enterprise.deb"
|
|
||||||
rm -f "splunk-enterprise.deb"
|
|
||||||
msg_ok "Setup Splunk Enterprise v${RELEASE}"
|
|
||||||
|
|
||||||
msg_info "Creating Splunk admin user"
|
|
||||||
ADMIN_USER="admin"
|
|
||||||
ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
|
||||||
{
|
|
||||||
echo "Splunk-Credentials"
|
|
||||||
echo "Username: $ADMIN_USER"
|
|
||||||
echo "Password: $ADMIN_PASS"
|
|
||||||
} >> ~/splunk.creds
|
|
||||||
|
|
||||||
cat > "/opt/splunk/etc/system/local/user-seed.conf" << EOF
|
|
||||||
[user_info]
|
|
||||||
USERNAME = $ADMIN_USER
|
|
||||||
PASSWORD = $ADMIN_PASS
|
|
||||||
EOF
|
|
||||||
msg_ok "Created Splunk admin user"
|
|
||||||
|
|
||||||
msg_info "Starting Service"
|
|
||||||
$STD /opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt
|
|
||||||
$STD /opt/splunk/bin/splunk enable boot-start
|
|
||||||
msg_ok "Started Service"
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
cleanup_lxc
|
|
||||||
@@ -27,4 +27,9 @@ bash <(curl -sL s5n.sh)
|
|||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
cleanup_lxc
|
|
||||||
|
msg_info "Cleaning up"
|
||||||
|
$STD apt -y autoremove
|
||||||
|
$STD apt -y autoclean
|
||||||
|
$STD apt -y clean
|
||||||
|
msg_ok "Cleaned"
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ $STD npm install
|
|||||||
export NODE_ENV=production
|
export NODE_ENV=production
|
||||||
$STD npm run frontend:build
|
$STD npm run frontend:build
|
||||||
mv ./dist ./backend
|
mv ./dist ./backend
|
||||||
|
mv ./public/locales ./backend/dist
|
||||||
|
mv ./public/favicon.* ./backend/dist
|
||||||
msg_ok "Configured Tududi"
|
msg_ok "Configured Tududi"
|
||||||
|
|
||||||
msg_info "Creating env and database"
|
msg_info "Creating env and database"
|
||||||
@@ -35,16 +37,15 @@ DB_LOCATION="/opt/tududi-db"
|
|||||||
UPLOAD_DIR="/opt/tududi-uploads"
|
UPLOAD_DIR="/opt/tududi-uploads"
|
||||||
mkdir -p {"$DB_LOCATION","$UPLOAD_DIR"}
|
mkdir -p {"$DB_LOCATION","$UPLOAD_DIR"}
|
||||||
SECRET="$(openssl rand -hex 64)"
|
SECRET="$(openssl rand -hex 64)"
|
||||||
sed -e '/^NODE_ENV=/s/=.*$/=production/' \
|
cat <<EOF >/opt/tududi/backend/.env
|
||||||
-e 's/^TUDUDI_USER/# TUDUDI_USER/g' \
|
TUDUDI_SESSION_SECRET=${SECRET}
|
||||||
-e "/_SECRET=/s/=.*$/=${SECRET}/" \
|
TUDUDI_ALLOWED_ORIGINS=<your tududi IP or FQDN>
|
||||||
-e "/^# DB_FILE/s/^# //; \
|
NODE_ENV=production
|
||||||
\|DB_FILE|s|/path.*$|${DB_LOCATION}/production.sqlite3|" \
|
DB_FILE=${DB_LOCATION}/production.sqlite3
|
||||||
-e "/^# TUDUDI_ALLOWED/s/^# //; \
|
TUDUDI_UPLOAD_PATH=${UPLOAD_DIR}
|
||||||
\|_ORIGINS=|s|=.*$|=<your tududi IP or FDQN>|" \
|
DISABLE_TELEGRAM=true
|
||||||
-e "/^# TUDUDI_UPLOAD/s/^# //; \
|
DIABLE_SCHEDULER=false
|
||||||
\|UPLOAD_PATH=|s|=.*$|=${UPLOAD_DIR}|" \
|
EOF
|
||||||
/opt/tududi/backend/.env.example >/opt/tududi/backend/.env
|
|
||||||
export DB_FILE="${DB_LOCATION}/production.sqlite3"
|
export DB_FILE="${DB_LOCATION}/production.sqlite3"
|
||||||
$STD npm run db:init
|
$STD npm run db:init
|
||||||
msg_ok "Created env and database"
|
msg_ok "Created env and database"
|
||||||
|
|||||||
@@ -1214,7 +1214,7 @@ setup_deb822_repo() {
|
|||||||
local gpg_url="$2"
|
local gpg_url="$2"
|
||||||
local repo_url="$3"
|
local repo_url="$3"
|
||||||
local suite="$4"
|
local suite="$4"
|
||||||
local component="${5-main}"
|
local component="${5:-main}"
|
||||||
local architectures="${6-}" # optional
|
local architectures="${6-}" # optional
|
||||||
|
|
||||||
# Validate required parameters
|
# Validate required parameters
|
||||||
@@ -2788,7 +2788,7 @@ function setup_java() {
|
|||||||
|
|
||||||
# Validate INSTALLED_VERSION is not empty if matched
|
# Validate INSTALLED_VERSION is not empty if matched
|
||||||
local JDK_COUNT=0
|
local JDK_COUNT=0
|
||||||
JDK_COUNT=$(dpkg -l 2>/dev/null | grep -c "temurin-.*-jdk" || true)
|
JDK_COUNT=$(dpkg -l 2>/dev/null | grep -c "temurin-.*-jdk" || echo "0")
|
||||||
if [[ -z "$INSTALLED_VERSION" && "${JDK_COUNT:-0}" -gt 0 ]]; then
|
if [[ -z "$INSTALLED_VERSION" && "${JDK_COUNT:-0}" -gt 0 ]]; then
|
||||||
msg_warn "Found Temurin JDK but cannot determine version"
|
msg_warn "Found Temurin JDK but cannot determine version"
|
||||||
INSTALLED_VERSION="0"
|
INSTALLED_VERSION="0"
|
||||||
@@ -4341,63 +4341,31 @@ function setup_rust() {
|
|||||||
}
|
}
|
||||||
export PATH="$CARGO_BIN:$PATH"
|
export PATH="$CARGO_BIN:$PATH"
|
||||||
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >>"$HOME/.profile"
|
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >>"$HOME/.profile"
|
||||||
|
|
||||||
# Verify installation
|
|
||||||
if ! command -v rustc >/dev/null 2>&1; then
|
|
||||||
msg_error "Rust binary not found after installation"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
local RUST_VERSION=$(rustc --version 2>/dev/null | awk '{print $2}')
|
local RUST_VERSION=$(rustc --version 2>/dev/null | awk '{print $2}')
|
||||||
if [[ -z "$RUST_VERSION" ]]; then
|
|
||||||
msg_error "Failed to determine Rust version"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cache_installed_version "rust" "$RUST_VERSION"
|
cache_installed_version "rust" "$RUST_VERSION"
|
||||||
msg_ok "Setup Rust $RUST_VERSION"
|
msg_ok "Setup Rust $RUST_VERSION"
|
||||||
else
|
else
|
||||||
# Scenario 2: Rustup already installed - update/maintain
|
# Scenario 2: Rustup already installed - update/maintain
|
||||||
msg_info "Update Rust ($RUST_TOOLCHAIN)"
|
msg_info "Update Rust ($RUST_TOOLCHAIN)"
|
||||||
|
$STD rustup install "$RUST_TOOLCHAIN" || {
|
||||||
# Ensure default toolchain is set
|
msg_error "Failed to install Rust toolchain $RUST_TOOLCHAIN"
|
||||||
$STD rustup default "$RUST_TOOLCHAIN" 2>/dev/null || {
|
|
||||||
# If default fails, install the toolchain first
|
|
||||||
$STD rustup install "$RUST_TOOLCHAIN" || {
|
|
||||||
msg_error "Failed to install Rust toolchain $RUST_TOOLCHAIN"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
$STD rustup default "$RUST_TOOLCHAIN" || {
|
|
||||||
msg_error "Failed to set default Rust toolchain"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Update to latest patch version
|
|
||||||
$STD rustup update "$RUST_TOOLCHAIN" || true
|
|
||||||
|
|
||||||
# Ensure PATH is updated for current shell session
|
|
||||||
export PATH="$CARGO_BIN:$PATH"
|
|
||||||
|
|
||||||
local RUST_VERSION=$(rustc --version 2>/dev/null | awk '{print $2}')
|
|
||||||
if [[ -z "$RUST_VERSION" ]]; then
|
|
||||||
msg_error "Failed to determine Rust version after update"
|
|
||||||
return 1
|
return 1
|
||||||
fi
|
}
|
||||||
|
$STD rustup default "$RUST_TOOLCHAIN" || {
|
||||||
|
msg_error "Failed to set default Rust toolchain"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
$STD rustup update "$RUST_TOOLCHAIN" || true
|
||||||
|
local RUST_VERSION=$(rustc --version 2>/dev/null | awk '{print $2}')
|
||||||
cache_installed_version "rust" "$RUST_VERSION"
|
cache_installed_version "rust" "$RUST_VERSION"
|
||||||
msg_ok "Update Rust $RUST_VERSION"
|
msg_ok "Update Rust $RUST_VERSION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install global crates
|
# Install global crates
|
||||||
if [[ -n "$RUST_CRATES" ]]; then
|
if [[ -n "$RUST_CRATES" ]]; then
|
||||||
msg_info "Processing Rust crates: $RUST_CRATES"
|
|
||||||
IFS=',' read -ra CRATES <<<"$RUST_CRATES"
|
IFS=',' read -ra CRATES <<<"$RUST_CRATES"
|
||||||
for crate in "${CRATES[@]}"; do
|
for crate in "${CRATES[@]}"; do
|
||||||
crate=$(echo "$crate" | xargs) # trim whitespace
|
local NAME VER INSTALLED_VER
|
||||||
[[ -z "$crate" ]] && continue # skip empty entries
|
|
||||||
|
|
||||||
local NAME VER INSTALLED_VER CRATE_LIST
|
|
||||||
if [[ "$crate" == *"@"* ]]; then
|
if [[ "$crate" == *"@"* ]]; then
|
||||||
NAME="${crate%@*}"
|
NAME="${crate%@*}"
|
||||||
VER="${crate##*@}"
|
VER="${crate##*@}"
|
||||||
@@ -4406,50 +4374,18 @@ function setup_rust() {
|
|||||||
VER=""
|
VER=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get list of installed crates once
|
INSTALLED_VER=$(cargo install --list 2>/dev/null | awk "/^$NAME v[0-9]/ {print \$2}" | tr -d 'v')
|
||||||
CRATE_LIST=$(cargo install --list 2>/dev/null || echo "")
|
|
||||||
|
|
||||||
# Check if already installed
|
|
||||||
if echo "$CRATE_LIST" | grep -q "^${NAME} "; then
|
|
||||||
INSTALLED_VER=$(echo "$CRATE_LIST" | grep "^${NAME} " | head -1 | awk '{print $2}' | tr -d 'v:')
|
|
||||||
|
|
||||||
|
if [[ -n "$INSTALLED_VER" ]]; then
|
||||||
if [[ -n "$VER" && "$VER" != "$INSTALLED_VER" ]]; then
|
if [[ -n "$VER" && "$VER" != "$INSTALLED_VER" ]]; then
|
||||||
msg_info "Upgrading $NAME from v$INSTALLED_VER to v$VER"
|
$STD cargo install "$NAME" --version "$VER" --force
|
||||||
$STD cargo install "$NAME" --version "$VER" --force || {
|
|
||||||
msg_error "Failed to install $NAME@$VER"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
msg_ok "Upgraded $NAME to v$VER"
|
|
||||||
elif [[ -z "$VER" ]]; then
|
elif [[ -z "$VER" ]]; then
|
||||||
msg_info "Upgrading $NAME to latest"
|
$STD cargo install "$NAME" --force
|
||||||
$STD cargo install "$NAME" --force || {
|
|
||||||
msg_error "Failed to upgrade $NAME"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
local NEW_VER=$(cargo install --list 2>/dev/null | grep "^${NAME} " | head -1 | awk '{print $2}' | tr -d 'v:')
|
|
||||||
msg_ok "Upgraded $NAME to v$NEW_VER"
|
|
||||||
else
|
|
||||||
msg_ok "$NAME v$INSTALLED_VER already installed"
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
msg_info "Installing $NAME${VER:+@$VER}"
|
$STD cargo install "$NAME" ${VER:+--version "$VER"}
|
||||||
if [[ -n "$VER" ]]; then
|
|
||||||
$STD cargo install "$NAME" --version "$VER" || {
|
|
||||||
msg_error "Failed to install $NAME@$VER"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
msg_ok "Installed $NAME v$VER"
|
|
||||||
else
|
|
||||||
$STD cargo install "$NAME" || {
|
|
||||||
msg_error "Failed to install $NAME"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
local NEW_VER=$(cargo install --list 2>/dev/null | grep "^${NAME} " | head -1 | awk '{print $2}' | tr -d 'v:')
|
|
||||||
msg_ok "Installed $NAME v$NEW_VER"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
msg_ok "Processed Rust crates"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ INSTALL_PATH="/usr/local/bin/filebrowser"
|
|||||||
CONFIG_PATH="/usr/local/community-scripts/fq-config.yaml"
|
CONFIG_PATH="/usr/local/community-scripts/fq-config.yaml"
|
||||||
DEFAULT_PORT=8080
|
DEFAULT_PORT=8080
|
||||||
SRC_DIR="/"
|
SRC_DIR="/"
|
||||||
TMP_BIN="/tmp/filebrowser.$$"
|
|
||||||
|
|
||||||
# Get primary IP
|
# Get primary IP
|
||||||
IFACE=$(ip -4 route | awk '/default/ {print $5; exit}')
|
IFACE=$(ip -4 route | awk '/default/ {print $5; exit}')
|
||||||
@@ -110,9 +109,8 @@ if [[ -f "$INSTALL_PATH" ]]; then
|
|||||||
read -r update_prompt
|
read -r update_prompt
|
||||||
if [[ "${update_prompt,,}" =~ ^(y|yes)$ ]]; then
|
if [[ "${update_prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
curl -fsSL https://github.com/gtsteffaniak/filebrowser/releases/latest/download/linux-amd64-filebrowser -o "$TMP_BIN"
|
curl -fsSL https://github.com/gtsteffaniak/filebrowser/releases/latest/download/linux-amd64-filebrowser -o "$INSTALL_PATH"
|
||||||
chmod +x "$TMP_BIN"
|
chmod +x "$INSTALL_PATH"
|
||||||
mv -f "$TMP_BIN" /usr/local/bin/filebrowser
|
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
@@ -135,9 +133,8 @@ fi
|
|||||||
|
|
||||||
msg_info "Installing ${APP} on ${OS}"
|
msg_info "Installing ${APP} on ${OS}"
|
||||||
$PKG_MANAGER curl ffmpeg &>/dev/null
|
$PKG_MANAGER curl ffmpeg &>/dev/null
|
||||||
curl -fsSL https://github.com/gtsteffaniak/filebrowser/releases/latest/download/linux-amd64-filebrowser -o "$TMP_BIN"
|
curl -fsSL https://github.com/gtsteffaniak/filebrowser/releases/latest/download/linux-amd64-filebrowser -o "$INSTALL_PATH"
|
||||||
chmod +x "$TMP_BIN"
|
chmod +x "$INSTALL_PATH"
|
||||||
mv -f "$TMP_BIN" /usr/local/bin/filebrowser
|
|
||||||
msg_ok "Installed ${APP}"
|
msg_ok "Installed ${APP}"
|
||||||
|
|
||||||
msg_info "Preparing configuration directory"
|
msg_info "Preparing configuration directory"
|
||||||
|
|||||||
Reference in New Issue
Block a user