Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: js-controller update doesn' work on the Hosts page #2884

Closed
1 task done
afuerhoff opened this issue Aug 31, 2024 · 6 comments
Closed
1 task done

[bug]: js-controller update doesn' work on the Hosts page #2884

afuerhoff opened this issue Aug 31, 2024 · 6 comments
Labels

Comments

@afuerhoff
Copy link

No existing issues.

  • There is no existing issue for my problem.

Description

After pressing the update button:
image

image

Reproduction instruction

Press the button

JS-controller version

6.0.9

Node version

20.16.0

@foxriver76
Copy link
Collaborator

foxriver76 commented Aug 31, 2024

Too less information to say anything tbh. And is it really not working or just displaying the error, is controller stopped, is it docker, is anything in log? …

side note: for me it worked

@afuerhoff
Copy link
Author

Proxmox Debian 12 LXC

Console: Nothing
Log:
image

@foxriver76
Copy link
Collaborator

And after the will upgrade itself logline nothing? And controller is not stopped?

@afuerhoff
Copy link
Author

Controller is not stopped. It happens nothing

@afuerhoff
Copy link
Author

Hi, I updated my system to 20.17.0 and after a restart the update runs without problems.
I will close the issue.

@foxriver76
Copy link
Collaborator

Nice, that it works again in the end it seems this systemd call somehow failed

upgradeProcess = spawn(
'sudo',
[
'systemd-run',
'--no-ask-password',
process.execPath,
upgradeProcessPath,
version,
adminInstance.toString()
],
{
detached: true,
stdio: 'ignore'
}
);

We can check if we somehow can get log in such situations, because we need to detach the process completely so it survices a controller stop we cannot stream the logs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants