Ghost update removes NodeJS and then fails #2113

Closed
opened 2025-11-20 05:23:42 -05:00 by saavagebueno · 6 comments
Owner

Originally created by @etrigan63 on GitHub (Oct 17, 2025).

Have you read and understood the above guidelines?

yes

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

Ghost

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

update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-3-pve)

📝 Provide a clear and concise description of the issue.

   ________               __ 
  / ____/ /_  ____  _____/ /_
 / / __/ __ \/ __ \/ ___/ __/
/ /_/ / / / / /_/ (__  ) /_  
\____/_/ /_/\____/____/\__/  
                             

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
   💡   APT update failed – retrying in 5s
   ✖️   Failed to update APT repositories after adding NodeSource
root@ghost:~# ^C
root@ghost:~# 

🔄 Steps to reproduce the issue.

Log in to container console running Ghost 5.x
Run update - verbose
Watch NodeJS get deleted
Watch apt update fail.

Paste the full error output (if available).

   ________               __ 
  / ____/ /_  ____  _____/ /_
 / / __/ __ \/ __ \/ ___/ __/
/ /_/ / / / / /_/ (__  ) /_  
\____/_/ /_/\____/____/\__/  
                             

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
   💡   APT update failed – retrying in 5s
   ✖️   Failed to update APT repositories after adding NodeSource
root@ghost:~# ^C
root@ghost:~# 

🖼️ Additional context (optional).

No response

Originally created by @etrigan63 on GitHub (Oct 17, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Ghost ### 📂 What was the exact command used to execute the script? update ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-3-pve) ### 📝 Provide a clear and concise description of the issue. ``` ________ __ / ____/ /_ ____ _____/ /_ / / __/ __ \/ __ \/ ___/ __/ / /_/ / / / / /_/ (__ ) /_ \____/_/ /_/\____/____/\__/ Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'nodejs' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded. 💡 APT update failed – retrying in 5s ✖️ Failed to update APT repositories after adding NodeSource root@ghost:~# ^C root@ghost:~# ``` ### 🔄 Steps to reproduce the issue. Log in to container console running Ghost 5.x Run update - verbose Watch NodeJS get deleted Watch `apt update` fail. ### ❌ Paste the full error output (if available). ``` ________ __ / ____/ /_ ____ _____/ /_ / / __/ __ \/ __ \/ ___/ __/ / /_/ / / / / /_/ (__ ) /_ \____/_/ /_/\____/____/\__/ Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'nodejs' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded. 💡 APT update failed – retrying in 5s ✖️ Failed to update APT repositories after adding NodeSource root@ghost:~# ^C root@ghost:~# ``` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:23:42 -05:00
Author
Owner

@MickLesk commented on GitHub (Oct 17, 2025):

  1. When installed?

  2. What NodeJS is installed before update?

Log say, there are no NodeJS and Script failed during apt Issues, deliver more Input to this. What Happens If you run apt update? npm -v ...

@MickLesk commented on GitHub (Oct 17, 2025): 1. When installed? 2. What NodeJS is installed before update? Log say, there are no NodeJS and Script failed during apt Issues, deliver more Input to this. What Happens If you run apt update? npm -v ...
Author
Owner

@etrigan63 commented on GitHub (Oct 17, 2025):

The first run of update removes nodejs and then fails to update it. I manually edited sources.list to convert to trixie, rebooted, manually added nodejs and was able to run the update script. After that, a reboot was needed to get the website operational again. I think the update script needs to check the current version of debian installed in the container and then make adjustments.

Steps:

  1. sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
  2. apt dist-upgrade
  3. Reboot
  4. apt install nodejs
  5. update
  6. Reboot
  7. Connect to ghost website.

Upon further inspection, the ghost version is still 5.x and mariadb is still present. I am unsure how to proceed. I was expecting it to upgrade to Ghost 6.x and convert to mysql.

@etrigan63 commented on GitHub (Oct 17, 2025): The first run of update removes nodejs and then fails to update it. I manually edited sources.list to convert to trixie, rebooted, manually added nodejs and was able to run the update script. After that, a reboot was needed to get the website operational again. I think the update script needs to check the current version of debian installed in the container and then make adjustments. Steps: 1. `sed -i 's/bookworm/trixie/g' /etc/apt/sources.list` 2. `apt dist-upgrade` 3. Reboot 4. `apt install nodejs` 5. `update` 6. Reboot 7. Connect to ghost website. Upon further inspection, the ghost version is still 5.x and `mariadb` is still present. I am unsure how to proceed. I was expecting it to upgrade to Ghost 6.x and convert to `mysql`.
Author
Owner

@MickLesk commented on GitHub (Oct 17, 2025):

Ghost is Not supported by us for deb13.

@MickLesk commented on GitHub (Oct 17, 2025): Ghost is Not supported by us for deb13.
Author
Owner

@etrigan63 commented on GitHub (Oct 17, 2025):

So it’s abandonware again?

carlos echenique
ce.photography

On Fri, Oct 17, 2025 at 12:19 PM CanbiZ @.***> wrote:

MickLesk left a comment (community-scripts/ProxmoxVE#8433)
https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416236070

Ghost is Not supported by us for deb13.


Reply to this email directly, view it on GitHub
https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416236070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYBYQHVZYCD2SB7PPTRSA33YEJK3AVCNFSM6AAAAACJPSVJUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJWGIZTMMBXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@etrigan63 commented on GitHub (Oct 17, 2025): So it’s abandonware again? carlos echenique ce.photography On Fri, Oct 17, 2025 at 12:19 PM CanbiZ ***@***.***> wrote: > *MickLesk* left a comment (community-scripts/ProxmoxVE#8433) > <https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416236070> > > Ghost is Not supported by us for deb13. > > — > Reply to this email directly, view it on GitHub > <https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416236070>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABYBYQHVZYCD2SB7PPTRSA33YEJK3AVCNFSM6AAAAACJPSVJUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJWGIZTMMBXGA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@MickLesk commented on GitHub (Oct 17, 2025):

? What? 😅

The function need some time to Work with Trixie for Updates, its the Draft refactor

@MickLesk commented on GitHub (Oct 17, 2025): ? What? 😅 The function need some time to Work with Trixie for Updates, its the Draft refactor
Author
Owner

@etrigan63 commented on GitHub (Oct 17, 2025):

Will it include migrating from Mariadb to MySQL which is needed for Ghost
6.x?

carlos echenique
ce.photography

On Fri, Oct 17, 2025 at 12:47 PM CanbiZ @.***> wrote:

MickLesk left a comment (community-scripts/ProxmoxVE#8433)
https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416335153

? What? 😅

The function need some time to Work with Trixie for Updates, its the Draft
refactor


Reply to this email directly, view it on GitHub
https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416335153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYBYQA5TPSVDMAWUPTKH5D3YEMRPAVCNFSM6AAAAACJPSVJUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJWGMZTKMJVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@etrigan63 commented on GitHub (Oct 17, 2025): Will it include migrating from Mariadb to MySQL which is needed for Ghost 6.x? carlos echenique ce.photography On Fri, Oct 17, 2025 at 12:47 PM CanbiZ ***@***.***> wrote: > *MickLesk* left a comment (community-scripts/ProxmoxVE#8433) > <https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416335153> > > ? What? 😅 > > The function need some time to Work with Trixie for Updates, its the Draft > refactor > > — > Reply to this email directly, view it on GitHub > <https://github.com/community-scripts/ProxmoxVE/issues/8433#issuecomment-3416335153>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABYBYQA5TPSVDMAWUPTKH5D3YEMRPAVCNFSM6AAAAACJPSVJUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJWGMZTKMJVGM> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2113