[GH-ISSUE #89] systemctl start cv4pve-admin bug. #32

Closed
opened 2026-02-26 17:36:57 +03:00 by kerem · 7 comments
Owner

Originally created by @weili0677 on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-admin/issues/89

Originally assigned to: @franklupo on GitHub.

Bug type

Other

Component name

No response

What happened?

I run command with https://htmlpreview.github.io/?https://github.com/Corsinvest/cv4pve-admin/blob/main/src/Corsinvest.ProxmoxVE.Admin/wwwroot/doc/index.html#chapter_installation_update (The "Linux Configure Service")
and I also put cv4pve-admin files in the "/var/cv4pve-admin" path.
when I run "systemctl start cv4pve-admin" I got error with "journalctl -u cv4pve-admin".

Expected behavior

the error log is:

Aug 14 19:21:23 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Failure processing application bundle.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Failed to determine location for extracting embedded files.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.
Aug 14 19:21:23 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a
Aug 14 19:21:23 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.
Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 104.
Aug 14 19:21:33 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application.
Aug 14 19:21:33 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Failure processing application bundle.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Failed to determine location for extracting embedded files.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.
Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a
Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.
Aug 14 19:21:43 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 105.
Aug 14 19:21:43 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application.

Relevant log output

No response

Proxmox VE Version

8.0.3

Version (bug)

1.0.1

Version (working)

No response

What browsers are you seeing the problem on?

Microsoft Edge

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @weili0677 on GitHub (Aug 14, 2023). Original GitHub issue: https://github.com/Corsinvest/cv4pve-admin/issues/89 Originally assigned to: @franklupo on GitHub. ### Bug type Other ### Component name _No response_ ### What happened? I run command with https://htmlpreview.github.io/?https://github.com/Corsinvest/cv4pve-admin/blob/main/src/Corsinvest.ProxmoxVE.Admin/wwwroot/doc/index.html#chapter_installation_update (The "Linux Configure Service") and I also put cv4pve-admin files in the "/var/cv4pve-admin" path. when I run "systemctl start cv4pve-admin" I got error with "journalctl -u cv4pve-admin". ### Expected behavior the error log is: ``` Aug 14 19:21:23 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application. Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write. Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Failure processing application bundle. Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Failed to determine location for extracting embedded files. Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created. Aug 14 19:21:23 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a Aug 14 19:21:23 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'. Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 104. Aug 14 19:21:33 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application. Aug 14 19:21:33 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application. Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write. Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Failure processing application bundle. Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Failed to determine location for extracting embedded files. Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created. Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'. Aug 14 19:21:43 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 105. Aug 14 19:21:43 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application. ``` ### Relevant log output _No response_ ### Proxmox VE Version 8.0.3 ### Version (bug) 1.0.1 ### Version (working) _No response_ ### What browsers are you seeing the problem on? Microsoft Edge ### On what operating system are you experiencing the issue? Linux ### Pull Request - [ ] I would like to do a Pull Request ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
kerem 2026-02-26 17:36:57 +03:00
Author
Owner

@franklupo commented on GitHub (Aug 14, 2023):

What version of linux do you use?

<!-- gh-comment-id:1677336956 --> @franklupo commented on GitHub (Aug 14, 2023): What version of linux do you use?
Author
Owner

@weili0677 commented on GitHub (Aug 15, 2023):

What version of linux do you use?

PVE 8.0.3 base of debian

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
<!-- gh-comment-id:1678295660 --> @weili0677 commented on GitHub (Aug 15, 2023): > What version of linux do you use? PVE 8.0.3 base of debian ``` cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" ```
Author
Owner

@weili0677 commented on GitHub (Aug 15, 2023):

I install cv4pve-admin on PVE host

<!-- gh-comment-id:1678296121 --> @weili0677 commented on GitHub (Aug 15, 2023): I install cv4pve-admin on PVE host
Author
Owner

@franklupo commented on GitHub (Aug 16, 2023):

Se variable in service

https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli

[Service]
Environment="DOTNET_BUNDLE_EXTRACT_BASE_DIR=%h/.net"
<!-- gh-comment-id:1680652753 --> @franklupo commented on GitHub (Aug 16, 2023): Se variable in service https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli ``` [Service] Environment="DOTNET_BUNDLE_EXTRACT_BASE_DIR=%h/.net" ```
Author
Owner

@weili0677 commented on GitHub (Aug 21, 2023):

Se variable in service

https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli

[Service]
Environment="DOTNET_BUNDLE_EXTRACT_BASE_DIR=%h/.net"
Aug 21 11:18:22 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 112.
Aug 21 11:18:22 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application.
Aug 21 11:18:23 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application.
Aug 21 11:18:23 hbscpve cv4pve-admin[972998]: Failure processing application bundle.
Aug 21 11:18:23 hbscpve cv4pve-admin[972998]: Failed to create directory [/root/.net/] for extracting bundled files.
Aug 21 11:18:23 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=160/n/a
Aug 21 11:18:23 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.
Aug 21 11:18:33 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 113.
Aug 21 11:18:33 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application.
Aug 21 11:18:33 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application.
Aug 21 11:18:33 hbscpve cv4pve-admin[973020]: Failure processing application bundle.
Aug 21 11:18:33 hbscpve cv4pve-admin[973020]: Failed to create directory [/root/.net/] for extracting bundled files.
Aug 21 11:18:33 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=160/n/a
Aug 21 11:18:33 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.
<!-- gh-comment-id:1685566477 --> @weili0677 commented on GitHub (Aug 21, 2023): > Se variable in service > > https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli > > ``` > [Service] > Environment="DOTNET_BUNDLE_EXTRACT_BASE_DIR=%h/.net" > ``` ``` Aug 21 11:18:22 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 112. Aug 21 11:18:22 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application. Aug 21 11:18:23 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application. Aug 21 11:18:23 hbscpve cv4pve-admin[972998]: Failure processing application bundle. Aug 21 11:18:23 hbscpve cv4pve-admin[972998]: Failed to create directory [/root/.net/] for extracting bundled files. Aug 21 11:18:23 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=160/n/a Aug 21 11:18:23 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'. Aug 21 11:18:33 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 113. Aug 21 11:18:33 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application. Aug 21 11:18:33 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application. Aug 21 11:18:33 hbscpve cv4pve-admin[973020]: Failure processing application bundle. Aug 21 11:18:33 hbscpve cv4pve-admin[973020]: Failed to create directory [/root/.net/] for extracting bundled files. Aug 21 11:18:33 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=160/n/a Aug 21 11:18:33 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'. ```
Author
Owner

@franklupo commented on GitHub (Aug 21, 2023):

Hi,
the problem is Extraction Location. Use a prefrer path to extract.
https://github.com/dotnet/designs/blob/main/accepted/2020/single-file/extract.md#extraction-location

bets regards

<!-- gh-comment-id:1685935555 --> @franklupo commented on GitHub (Aug 21, 2023): Hi, the problem is **Extraction Location**. Use a prefrer path to extract. https://github.com/dotnet/designs/blob/main/accepted/2020/single-file/extract.md#extraction-location bets regards
Author
Owner

@weili0677 commented on GitHub (Aug 22, 2023):

Hi, the problem is Extraction Location. Use a prefrer path to extract. https://github.com/dotnet/designs/blob/main/accepted/2020/single-file/extract.md#extraction-location

bets regards

It's been fixed, thank you. It turned out to be a permissions issue.

<!-- gh-comment-id:1687306699 --> @weili0677 commented on GitHub (Aug 22, 2023): > Hi, the problem is **Extraction Location**. Use a prefrer path to extract. https://github.com/dotnet/designs/blob/main/accepted/2020/single-file/extract.md#extraction-location > > bets regards It's been fixed, thank you. It turned out to be a permissions issue.
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/cv4pve-admin#32
No description provided.