CommaFeed resets trough update #1646

Closed
opened 2025-11-20 05:14:09 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @fbloemhof on GitHub (Aug 7, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

CommaFeed

📂 What was the exact command used to execute the script?

https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/commafeed.sh

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

After updating CommaFeed, all my feeds disappear.

🔄 Steps to reproduce the issue.

Update the LXC

Paste the full error output (if available).

Probably this part of the code is not ok:

      mv /opt/commafeed/data /opt/data.bak
    fi
    fetch_and_deploy_gh_release "commafeed" "Athou/commafeed" "prebuild" "latest" "/opt/commafeed" "commafeed-*-h2-jvm.zip"
    
    msg_info "Updating ${APP} to ${RELEASE}"
    if [ -d /opt/commafeed/data.bak ] && [ "$(ls -A /opt/commafeed/data.bak)" ]; then
      mv /opt/commafeed/data.bak /opt/commafeed/data
    fi

The data is backed up to /opt/data.bak but restored from /opt/commafeed/data.bak

🖼️ Additional context (optional).

No response

Originally created by @fbloemhof on GitHub (Aug 7, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? CommaFeed ### 📂 What was the exact command used to execute the script? https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/commafeed.sh ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. After updating CommaFeed, all my feeds disappear. ### 🔄 Steps to reproduce the issue. Update the LXC ### ❌ Paste the full error output (if available). Probably this part of the code is not ok: ``` if [ -d /opt/commafeed/data ] && [ "$(ls -A /opt/commafeed/data)" ]; then mv /opt/commafeed/data /opt/data.bak fi fetch_and_deploy_gh_release "commafeed" "Athou/commafeed" "prebuild" "latest" "/opt/commafeed" "commafeed-*-h2-jvm.zip" msg_info "Updating ${APP} to ${RELEASE}" if [ -d /opt/commafeed/data.bak ] && [ "$(ls -A /opt/commafeed/data.bak)" ]; then mv /opt/commafeed/data.bak /opt/commafeed/data fi ``` The data is backed up to `/opt/data.bak` but restored from `/opt/commafeed/data.bak` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:14:09 -05:00
Author
Owner

@MickLesk commented on GitHub (Aug 7, 2025):

fixed with #6629

@MickLesk commented on GitHub (Aug 7, 2025): fixed with #6629
Author
Owner

@fbloemhof commented on GitHub (Aug 7, 2025):

Awesome!

@fbloemhof commented on GitHub (Aug 7, 2025): Awesome!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1646