Compare commits

...

4 Commits

Author SHA1 Message Date
Michel Roegl-Brunner
6c1288cb16 fix(odoo): ensure lxml html clean after Odoo deb install
Re-apply and verify python3-lxml-html-clean after the nightly Odoo package is installed so lxml.html.clean is available at runtime.

Fixes #14780

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 10:35:11 +02:00
Michel Roegl-Brunner
03a94aff8e fix(fireshare): rebuild client on update to fix nginx 500
After update, the frontend was not rebuilt while nginx still served /opt/fireshare/app/client/build, causing 500 errors. Match install behavior with npm install and npm run build.

Fixes #14812

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 10:19:13 +02:00
community-scripts-pr-app[bot]
162cb9b887 Update CHANGELOG.md (#14844)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-01 08:01:45 +00:00
Adrián Musante
5776f3fef5 Fix FileFlows service handling by using systemctl --all with quoted glob (#14838) 2026-06-01 10:01:17 +02:00
5 changed files with 51 additions and 12 deletions

View File

@@ -472,6 +472,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-06-01
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- [FileFlows] Fix service handling by using systemctl --all with quoted glob [@adrianmusante](https://github.com/adrianmusante) ([#14838](https://github.com/community-scripts/ProxmoxVE/pull/14838))
## 2026-05-31
### 🚀 Updated Scripts

View File

@@ -34,7 +34,7 @@ function update_script() {
update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
if [[ "${update_available}" == "true" ]]; then
msg_info "Stopping Service"
systemctl stop fileflows*
systemctl --all stop 'fileflows*'
msg_info "Stopped Service"
msg_info "Creating Backup"
@@ -46,7 +46,7 @@ function update_script() {
fetch_and_deploy_from_url "https://fileflows.com/downloads/zip" "/opt/fileflows"
msg_info "Starting Service"
systemctl start fileflows*
systemctl --all start 'fileflows*'
msg_ok "Started Service"
msg_ok "Updated successfully!"
else

View File

@@ -53,6 +53,12 @@ function update_script() {
export VIDEO_DIRECTORY=/opt/fireshare-videos
export PROCESSED_DIRECTORY=/opt/fireshare-processed
$STD uv run flask db upgrade
msg_info "Building Fireshare Client"
cd /opt/fireshare/app/client
$STD npm install
$STD npm run build
msg_ok "Built Fireshare Client"
msg_ok "Updated Fireshare"
msg_info "Starting Service"

View File

@@ -20,6 +20,22 @@ variables
color
catch_errors
ensure_lxml_html_clean() {
ensure_dependencies python3-lxml
if apt-cache show python3-lxml-html-clean &>/dev/null; then
ensure_dependencies python3-lxml-html-clean
else
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
$STD dpkg -i /opt/python3-lxml-html-clean.deb
$STD apt-get install -f -y
rm -f /opt/python3-lxml-html-clean.deb
fi
if ! python3 -c "import lxml_html_clean; from lxml.html import clean" 2>/dev/null; then
msg_error "lxml.html.clean is not available (python3-lxml-html-clean required)"
exit 1
fi
}
function update_script() {
header_info
check_container_storage
@@ -29,12 +45,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
ensure_dependencies python3-lxml
if ! [[ $(dpkg -s python3-lxml-html-clean 2>/dev/null) ]]; then
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
$STD dpkg -i /opt/python3-lxml-html-clean.deb
rm -f /opt/python3-lxml-html-clean.deb
fi
ensure_lxml_html_clean
RELEASE=$(curl -fsSL https://nightly.odoo.com/ | grep -oE 'href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d'"' -f2 | cut -d/ -f1)
LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
@@ -51,6 +62,7 @@ function update_script() {
msg_info "Updating ${APP} to ${LATEST_VERSION}"
curl -fsSL https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${RELEASE}.latest_all.deb -o /opt/odoo.deb
$STD apt install -y /opt/odoo.deb
ensure_lxml_html_clean
rm -f /opt/odoo.deb
echo "$LATEST_VERSION" >/opt/${APP}_version.txt
msg_ok "Updated ${APP} to ${LATEST_VERSION}"

View File

@@ -13,10 +13,25 @@ setting_up_container
network_check
update_os
ensure_lxml_html_clean() {
ensure_dependencies python3-lxml
if apt-cache show python3-lxml-html-clean &>/dev/null; then
ensure_dependencies python3-lxml-html-clean
else
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
$STD dpkg -i /opt/python3-lxml-html-clean.deb
$STD apt-get install -f -y
rm -f /opt/python3-lxml-html-clean.deb
fi
if ! python3 -c "import lxml_html_clean; from lxml.html import clean" 2>/dev/null; then
msg_error "lxml.html.clean is not available (python3-lxml-html-clean required)"
exit 1
fi
}
msg_info "Installing Dependencies"
$STD apt install -y python3-lxml wkhtmltopdf
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
$STD dpkg -i /opt/python3-lxml-html-clean.deb
$STD apt install -y wkhtmltopdf
ensure_lxml_html_clean
msg_ok "Installed Dependencies"
PG_VERSION="18" setup_postgresql
@@ -31,6 +46,7 @@ LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
msg_info "Setup Odoo $RELEASE"
curl -fsSL https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${RELEASE}.latest_all.deb -o /opt/odoo.deb
$STD apt install -y /opt/odoo.deb
ensure_lxml_html_clean
msg_ok "Setup Odoo $RELEASE"
msg_info "Setup PostgreSQL Database"
@@ -59,7 +75,6 @@ sed -i \
/etc/odoo/odoo.conf
$STD sudo -u odoo odoo -c /etc/odoo/odoo.conf -d odoo -i base --stop-after-init
rm -f /opt/odoo.deb
rm -f /opt/python3-lxml-html-clean.deb
echo "${LATEST_VERSION}" >/opt/${APPLICATION}_version.txt
msg_ok "Configured Odoo"