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]: Update to 7.06 not possible: SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON #2997

Closed
1 task done
unstressable opened this issue Jan 1, 2025 · 7 comments
Labels

Comments

@unstressable
Copy link

No existing issues.

  • There is no existing issue for my problem.

Description

SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON

Reproduction instruction

No response

JS-controller version

7.03

Node version

20.18.1

@unstressable
Copy link
Author

unstressable commented Jan 1, 2025

I tried it on 3 different and independent ioBroker installations (Docker latest)
All brang the same error by updating.

@ioBroker ioBroker deleted a comment Jan 1, 2025
@foxriver76
Copy link
Collaborator

foxriver76 commented Jan 1, 2025

Please search recent issues. It is fixed with 7.0.6

@unstressable
Copy link
Author

I tried with 7.0.6 it did not work.

@mcm1957
Copy link
Contributor

mcm1957 commented Jan 1, 2025

As mentioned please check recently closed issues.

Bug is fixed with INSTALLED 7.0.6. As lomg as an older Versuon is intalled the bug exists. You will have to update to 7.0.6 or nwer using the commandline.

@unstressable
Copy link
Author

Or just wait until 7.0.7 or later appears?

im not familiar with cmd.

@mcm1957
Copy link
Contributor

mcm1957 commented Jan 1, 2025

Ill try to explain once more:
Installation will be performed by the code installed at your system. As long as this code is older than 7.0.6 it contains the bug and gui installation will fail. You must use the classic cli upgrade until you have 7.0.6 or newer knstalled.

Cli command are lusted at forum topic related to js-controller 7 and are identical to the ones you used to update to v5 or v6. Please open a topic at forum if you need help with cli commands.

@unstressable
Copy link
Author

If anyone else need help, this worked for me:

(ioBroker in Docker Container)

docker exec -it iobroker /bin/bash

pkill -u iobroker

iobroker update

iobroker upgrade self

After all restart the Docker Container.

Found here:
https://docs.buanet.de/iobroker-docker-image/docs/#updates-upgrades

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

3 participants