[GH-ISSUE #10129] Update of Planka is broken #2191

Closed
opened 2026-02-26 12:51:37 +03:00 by kerem · 5 comments
Owner

Originally created by @pafade89 on GitHub (Dec 18, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10129

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

No response

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

Planka

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/planka.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

9.1.1

📝 Provide a clear and concise description of the issue.

The update of Planka no longer works.

🔄 Steps to reproduce the issue.

Start update via script.

Paste the full error output (if available).

No log output with verbose. Script says installation ok.

🖼️ Additional context (optional).

No response

Originally created by @pafade89 on GitHub (Dec 18, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10129 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? _No response_ ### 📜 What is the name of the script you are using? Planka ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/planka.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? 9.1.1 ### 📝 Provide a clear and concise description of the issue. The update of Planka no longer works. ### 🔄 Steps to reproduce the issue. Start update via script. ### ❌ Paste the full error output (if available). No log output with verbose. Script says installation ok. ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Dec 18, 2025):

???? What should we do with this? No Logs, no Screenshot, no Service, no journalctl?

<!-- gh-comment-id:3672546048 --> @MickLesk commented on GitHub (Dec 18, 2025): ???? What should we do with this? No Logs, no Screenshot, no Service, no journalctl?
Author
Owner

@pafade89 commented on GitHub (Dec 18, 2025):

The working directory is no longer correct after the update and even if you adjust it, it still doesn’t work anymore.

root@planka:/opt/planka/planka# npm start --prod

> start
> nodemon

[nodemon] 3.1.10
[nodemon] reading config ./nodemon.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 967 to restart
[nodemon] ignoring: ./node_modules/**/* .tmp ./.venv/**/*
[nodemon] watching path(s): api/**/*.js config/**/*.js db/**/*.js utils/**/*.js app.js constants.js
[nodemon] watching extensions: js,json
[nodemon] starting `node app.js`
[nodemon] forking
[nodemon] child pid: 980
[nodemon] watching 359 files
error: A hook (`userconfig`) failed to load!
error: Failed to lift app: Error: Attempted to `require('/opt/planka/planka/config/custom.js')`, but an error occurred:
--
TypeError: Invalid URL
    at new URL (node:internal/url:818:25)
    at Object.<anonymous> (/opt/planka/planka/config/custom.js:23:24)
    at Module._compile (node:internal/modules/cjs/loader:1730:14)
    at Object..js (node:internal/modules/cjs/loader:1895:10)
    at Module.load (node:internal/modules/cjs/loader:1465:32)
    at Function._load (node:internal/modules/cjs/loader:1282:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Module.require (node:internal/modules/cjs/loader:1487:12)
    at require (node:internal/modules/helpers:135:16)
    at /opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:293:33
    at Array.forEach (<anonymous>)
    at _recursivelyIncludeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:178:11)
    at includeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:317:5)
    at helpBuildDictionary (/opt/planka/planka/node_modules/include-all/lib/help-build-dictionary.js:46:13)
    at module.exports.aggregate (/opt/planka/planka/node_modules/include-all/index.js:101:10)
--
    at /opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:298:25
    at Array.forEach (<anonymous>)
    at _recursivelyIncludeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:178:11)
    at includeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:317:5)
    at helpBuildDictionary (/opt/planka/planka/node_modules/include-all/lib/help-build-dictionary.js:46:13)
    at module.exports.aggregate (/opt/planka/planka/node_modules/include-all/index.js:101:10)
    at loadOtherConfigFiles (/opt/planka/planka/node_modules/sails/lib/hooks/moduleloader/index.js:162:22)
    at runTask (/opt/planka/planka/node_modules/async/dist/async.js:1637:13)
    at /opt/planka/planka/node_modules/async/dist/async.js:1575:13
    at processQueue (/opt/planka/planka/node_modules/async/dist/async.js:1585:13)
    at Object.auto (/opt/planka/planka/node_modules/async/dist/async.js:1571:5)
    at Hook.loadUserConfig (/opt/planka/planka/node_modules/sails/lib/hooks/moduleloader/index.js:160:13)
    at Hook.wrapper [as loadUserConfig] (/opt/planka/planka/node_modules/@sailshq/lodash/lib/index.js:3323:19)
    at Hook.loadModules (/opt/planka/planka/node_modules/sails/lib/hooks/userconfig/index.js:45:21)
    at Hook.wrapper [as loadModules] (/opt/planka/planka/node_modules/@sailshq/lodash/lib/index.js:3323:19)
    at modules (/opt/planka/planka/node_modules/sails/lib/hooks/index.js:86:25)
error: More details (raw): TypeError: Invalid URL
    at new URL (node:internal/url:818:25)
    at Object.<anonymous> (/opt/planka/planka/config/custom.js:23:24)
    at Module._compile (node:internal/modules/cjs/loader:1730:14)
    at Object..js (node:internal/modules/cjs/loader:1895:10)
    at Module.load (node:internal/modules/cjs/loader:1465:32)
    at Function._load (node:internal/modules/cjs/loader:1282:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Module.require (node:internal/modules/cjs/loader:1487:12)
    at require (node:internal/modules/helpers:135:16)
    at /opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:293:33
    at Array.forEach (<anonymous>)
    at _recursivelyIncludeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:178:11)
    at includeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:317:5)
    at helpBuildDictionary (/opt/planka/planka/node_modules/include-all/lib/help-build-dictionary.js:46:13)
    at module.exports.aggregate (/opt/planka/planka/node_modules/include-all/index.js:101:10)

<!-- gh-comment-id:3672562839 --> @pafade89 commented on GitHub (Dec 18, 2025): The working directory is no longer correct after the update and even if you adjust it, it still doesn’t work anymore. ``` root@planka:/opt/planka/planka# npm start --prod > start > nodemon [nodemon] 3.1.10 [nodemon] reading config ./nodemon.json [nodemon] to restart at any time, enter `rs` [nodemon] or send SIGHUP to 967 to restart [nodemon] ignoring: ./node_modules/**/* .tmp ./.venv/**/* [nodemon] watching path(s): api/**/*.js config/**/*.js db/**/*.js utils/**/*.js app.js constants.js [nodemon] watching extensions: js,json [nodemon] starting `node app.js` [nodemon] forking [nodemon] child pid: 980 [nodemon] watching 359 files error: A hook (`userconfig`) failed to load! error: Failed to lift app: Error: Attempted to `require('/opt/planka/planka/config/custom.js')`, but an error occurred: -- TypeError: Invalid URL at new URL (node:internal/url:818:25) at Object.<anonymous> (/opt/planka/planka/config/custom.js:23:24) at Module._compile (node:internal/modules/cjs/loader:1730:14) at Object..js (node:internal/modules/cjs/loader:1895:10) at Module.load (node:internal/modules/cjs/loader:1465:32) at Function._load (node:internal/modules/cjs/loader:1282:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.require (node:internal/modules/cjs/loader:1487:12) at require (node:internal/modules/helpers:135:16) at /opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:293:33 at Array.forEach (<anonymous>) at _recursivelyIncludeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:178:11) at includeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:317:5) at helpBuildDictionary (/opt/planka/planka/node_modules/include-all/lib/help-build-dictionary.js:46:13) at module.exports.aggregate (/opt/planka/planka/node_modules/include-all/index.js:101:10) -- at /opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:298:25 at Array.forEach (<anonymous>) at _recursivelyIncludeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:178:11) at includeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:317:5) at helpBuildDictionary (/opt/planka/planka/node_modules/include-all/lib/help-build-dictionary.js:46:13) at module.exports.aggregate (/opt/planka/planka/node_modules/include-all/index.js:101:10) at loadOtherConfigFiles (/opt/planka/planka/node_modules/sails/lib/hooks/moduleloader/index.js:162:22) at runTask (/opt/planka/planka/node_modules/async/dist/async.js:1637:13) at /opt/planka/planka/node_modules/async/dist/async.js:1575:13 at processQueue (/opt/planka/planka/node_modules/async/dist/async.js:1585:13) at Object.auto (/opt/planka/planka/node_modules/async/dist/async.js:1571:5) at Hook.loadUserConfig (/opt/planka/planka/node_modules/sails/lib/hooks/moduleloader/index.js:160:13) at Hook.wrapper [as loadUserConfig] (/opt/planka/planka/node_modules/@sailshq/lodash/lib/index.js:3323:19) at Hook.loadModules (/opt/planka/planka/node_modules/sails/lib/hooks/userconfig/index.js:45:21) at Hook.wrapper [as loadModules] (/opt/planka/planka/node_modules/@sailshq/lodash/lib/index.js:3323:19) at modules (/opt/planka/planka/node_modules/sails/lib/hooks/index.js:86:25) error: More details (raw): TypeError: Invalid URL at new URL (node:internal/url:818:25) at Object.<anonymous> (/opt/planka/planka/config/custom.js:23:24) at Module._compile (node:internal/modules/cjs/loader:1730:14) at Object..js (node:internal/modules/cjs/loader:1895:10) at Module.load (node:internal/modules/cjs/loader:1465:32) at Function._load (node:internal/modules/cjs/loader:1282:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.require (node:internal/modules/cjs/loader:1487:12) at require (node:internal/modules/helpers:135:16) at /opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:293:33 at Array.forEach (<anonymous>) at _recursivelyIncludeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:178:11) at includeAll (/opt/planka/planka/node_modules/include-all/lib/help-include-all-sync.js:317:5) at helpBuildDictionary (/opt/planka/planka/node_modules/include-all/lib/help-build-dictionary.js:46:13) at module.exports.aggregate (/opt/planka/planka/node_modules/include-all/index.js:101:10) ```
Author
Owner

@pafade89 commented on GitHub (Dec 18, 2025):

Before update install dir is: /opt/planka/planka and after update it is: /opt/planka

<!-- gh-comment-id:3672568729 --> @pafade89 commented on GitHub (Dec 18, 2025): Before update install dir is: /opt/planka/planka and after update it is: /opt/planka
Author
Owner

@pafade89 commented on GitHub (Dec 18, 2025):

The problem is that the .env file is not being applied correctly.

<!-- gh-comment-id:3672591195 --> @pafade89 commented on GitHub (Dec 18, 2025): The problem is that the .env file is not being applied correctly.
Author
Owner

@pafade89 commented on GitHub (Dec 18, 2025):

Okay, I finally found it. My installation was so old that the path was still set to /opt/planka/planka. Before the update, I copied Planka to /opt/planka and adjusted the service. Now it works.

<!-- gh-comment-id:3672641105 --> @pafade89 commented on GitHub (Dec 18, 2025): Okay, I finally found it. My installation was so old that the path was still set to `/opt/planka/planka`. Before the update, I copied Planka to `/opt/planka` and adjusted the service. Now it works.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2191
No description provided.