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

Javascript Error when trying to update to 2.3.1 #2727

Closed
kats-greg opened this issue Mar 3, 2022 · 19 comments
Closed

Javascript Error when trying to update to 2.3.1 #2727

kats-greg opened this issue Mar 3, 2022 · 19 comments
Labels
stale Stale issue support Something isn't working with the users setup

Comments

@kats-greg
Copy link

I have the red dot on the gear indicating an update is available, but when I click on the update to 2.3.1 button, I get a javascript error message saying something about got is not a function.

@kats-greg kats-greg added the support Something isn't working with the users setup label Mar 3, 2022
@BigJoy75
Copy link

BigJoy75 commented Mar 3, 2022

I also got the same error message
Finally I managed to update using script

@kennethnilssen
Copy link

I also got the same error message Finally I managed to update using script

Could you please share how?

@fredlex3dprints
Copy link

I get same error trying to update from 2.3.0 to 2.3.1

@LaPe63
Copy link

LaPe63 commented Mar 3, 2022

Same error here trying to update from 2.3.0 to 2.3.1 from the GUI (app.asar Type error: got is not a function)
I had to run the install script to update:
bash <(wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/install.sh)

@BigJoy75
Copy link

BigJoy75 commented Mar 3, 2022

I also got the same error message Finally I managed to update using script

Could you please share how?

You can see in how to do it in https://github.com/UnchartedBull/OctoDash/wiki/Update

wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/update.sh | bash

@spiff72
Copy link

spiff72 commented Mar 3, 2022

same issue here - but using the script update after SSH into the pi worked fine. Last update I did via the UI worked fine, but this one failed with the javascript error.

@SaKiEQ
Copy link

SaKiEQ commented Mar 3, 2022

same here.. SSH'ing my way into it right now :)

@SaKiEQ
Copy link

SaKiEQ commented Mar 3, 2022

the wget method worked flawless on one machine with a Pi4, on a Pi1A+ it fried the X Server.... I guess it was about time to setup this Pi from scratch anyway.

Xorg.0.log

@RichardvanGestel
Copy link

the 'wget' command also worked fine here on a pi3:

pi@octopi3:~ $ wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/update.sh | bash
Updating OctoDash
octodash.deb 100%[===================>] 59.89M 4.73MB/s in 13s
[sudo] password for pi:
(Reading database ... 93823 files and directories currently installed.)
Preparing to unpack octodash.deb ...
Unpacking octodash (2.3.1) over (2.3.0) ...
Setting up octodash (2.3.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Done. Restart your Raspberry Pi to start the newest version!

@morphias2004
Copy link

Same Java error.

@bolsoncerrado
Copy link

Same error here. A screencap:
20220307_080542

@SW0rden
Copy link

SW0rden commented Mar 10, 2022

It would seem that using the script no longer works. Tried a couple of times and nothing is updated and get the same JS error as the above post.

@jneilliii
Copy link
Contributor

what happens when you run the command

wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/update.sh | bash

@SW0rden
Copy link

SW0rden commented Mar 10, 2022

Thanks, got it! I had left off the "| bash". Without it, it seemed as if it was working and asked about rebooting, but just fell back to the prompt and nothing was updated.

@bolsoncerrado
Copy link

bolsoncerrado commented Mar 10, 2022

wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/update.sh | bash

On a working environment with 2.3.0 if I ssh the above, I get:

Updating OctoDash
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
dpkg: error: cannot access archive 'octodash.deb': No such file or directory
rm: cannot remove 'octodash.deb': No such file or directory
Done. Restart your Raspberry Pi to start the newest version!

Any clues?

@bolsoncerrado
Copy link

bolsoncerrado commented Mar 10, 2022

OIC

You've most likely exceeded the GitHub Rate Limit, therefore the newest release can't be retrieved from the server.

Used manual method.

@UnchartedBull
Copy link
Owner

Sorry for the issues, I somehow messed that up in 2.3.0. Please use the script as pointed out by multiple people to do the update. The next update should work fine again. If you get the Github Rate Limit exceeded error please try again in an hour.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue label Apr 16, 2022
@stale stale bot closed this as completed Apr 19, 2022
@ckoren
Copy link

ckoren commented Oct 31, 2022

same here. the manual install fixed it all in a smooth and easy process.
As documented... wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/install.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests