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

Auto Update broken #17

Open
BernhardSchlegel opened this issue Jan 26, 2021 · 1 comment
Open

Auto Update broken #17

BernhardSchlegel opened this issue Jan 26, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@BernhardSchlegel
Copy link
Owner

Hangs after

Jan 26 19:54:23 BierBotGefriere node[410]: 26.01.2021, 19:54:23 - settings sent.
Jan 26 19:54:26 BierBotGefriere node[410]: 26.01.2021, 19:54:26 - settings sent.
Jan 26 19:56:13 BierBotGefriere node[410]: 26.01.2021, 19:56:13 - installing update...
Jan 26 19:56:13 BierBotGefriere node[410]: 26.01.2021, 19:56:13 - unzipping /home/pi/BierBot/server/libs/../../update/2.1.0.zip to /home/pi/BierBot/server/libs/../../../BierBotUpdate...
@BernhardSchlegel
Copy link
Owner Author

To debug, set settingUpdateURLs (versio.js:13) to var settingUpdateURLs = [ "https://raw.githubusercontent.com/BernhardSchlegel/BierBot/develop/server/libs/version-self.json", ];

Reason seems to be that unzip never exits, last words

Jan 26 20:42:14 BierBotGefriere node[485]:   inflating: /home/pi/BierBot/server/libs/../../../BierBotUpdate/BierBot-master/sys/interfaces
Jan 26 20:42:14 BierBotGefriere node[485]:   inflating: /home/pi/BierBot/server/libs/../../../BierBotUpdate/BierBot-master/sys/w.sh
Jan 26 20:42:14 BierBotGefriere node[485]: 26.01.2021, 20:42:14 - unzipping:

so process.on('close', function(code, signal) { (line 195) is never called.

@BernhardSchlegel BernhardSchlegel added the bug Something isn't working label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant