Skip to content

Commit 98c8e13

Browse files
authored
also pass in gid/uid for non-systemd systems on UI upgrade (#2984)
- closes #2964
1 parent d51b519 commit 98c8e13

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
## __WORK IN PROGRESS__
55
-->
66

7+
## __WORK IN PROGRESS__
8+
* (@foxriver76) fixed UI upgrade for non-systemd systems
9+
710
## 7.0.4 (2024-12-04)
811
* (@Apollon77) Fixes async usage of extendObject
912
* (@Apollon77) Makes setObject async save

packages/controller/src/main.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5868,10 +5868,14 @@ async function startUpgradeManager(options: UpgradeArguments): Promise<void> {
58685868
},
58695869
);
58705870
} else {
5871-
upgradeProcess = spawn(process.execPath, [upgradeProcessPath, version, adminInstance.toString()], {
5872-
detached: true,
5873-
stdio: 'ignore',
5874-
});
5871+
upgradeProcess = spawn(
5872+
process.execPath,
5873+
[upgradeProcessPath, version, adminInstance.toString(), uid.toString(), gid.toString()],
5874+
{
5875+
detached: true,
5876+
stdio: 'ignore',
5877+
},
5878+
);
58755879
}
58765880

58775881
upgradeProcess.unref();

0 commit comments

Comments
 (0)