You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem/bug
Thunderhub works as expected, when started using "npm start" or "npm run start". But when starting the same command from a service (/etc/systemd/system/thunderhub.service), the application doesn't work (after login, same login screen is presented). Server shows error below.
Oct 29 16:54:17 toby-nuc npm[25743]: ReferenceError: window is not defined
Oct 29 16:54:17 toby-nuc npm[25743]: at /home/*****/thunderhub/src/client/.next/server/chunks/1010.js:14:70826
Oct 29 16:54:17 toby-nuc npm[25743]: at Object.75015 (/home/*****/thunderhub/src/client/.next/server/chunks/1010.js:14:71234)
Oct 29 16:54:17 toby-nuc npm[25743]: at __webpack_require__ (/home/*****/thunderhub/src/client/.next/server/webpack-runtime.js:1:145)
Oct 29 16:54:17 toby-nuc npm[25743]: at Object.79577 (/home/*****/thunderhub/src/client/.next/server/chunks/1010.js:1:426143)
Oct 29 16:54:17 toby-nuc npm[25743]: at __webpack_require__ (/home/*****/thunderhub/src/client/.next/server/webpack-runtime.js:1:145)
Oct 29 16:54:17 toby-nuc npm[25743]: at Object.20175 (/home/*****/thunderhub/src/client/.next/server/chunks/1010.js:1:327766)
Oct 29 16:54:17 toby-nuc npm[25743]: at __webpack_require__ (/home/*****/thunderhub/src/client/.next/server/webpack-runtime.js:1:145)
Oct 29 16:54:17 toby-nuc npm[25743]: at Object.83654 (/home/*****/thunderhub/src/client/.next/server/chunks/1010.js:1:337077)
Oct 29 16:54:17 toby-nuc npm[25743]: at __webpack_require__ (/home/*****/thunderhub/src/client/.next/server/webpack-runtime.js:1:145)
Oct 29 16:54:17 toby-nuc npm[25743]: at Object.99357 (/home/*****/thunderhub/src/client/.next/server/chunks/1010.js:1:357338)
Your environment
Version of ThunderHub: 0.13.23
Deployment method: installation (npm), start by hand (no problem), start by systemd (error).
Other relevant environment details: tried with node 16, 18 and 21.
To Reproduce
Steps to reproduce the behavior:
start thunderhub by using systemd. login. error.
Describe the problem/bug
Thunderhub works as expected, when started using "npm start" or "npm run start". But when starting the same command from a service (/etc/systemd/system/thunderhub.service), the application doesn't work (after login, same login screen is presented). Server shows error below.
Your environment
To Reproduce
Steps to reproduce the behavior:
start thunderhub by using systemd. login. error.
.service file:
Expected behavior
Normal operation of thunderhub.
Actual behavior
After login, server shows "ReferenceError: window is not defined" error and UI shows login-screen.
The text was updated successfully, but these errors were encountered: