gitbucket
gitbucket copied to clipboard
Unable to update to version 4.41.0 (RaspberryPi)
Issue
Impacted version: 4.41.0
Problem description:
- I downloaded the bitbucket.war as always.
- If I sudo reboot it reverts back to 4.40.0
- if I run 4.41.0 via java -jar gitbucket.war it runs fine
- I don't see anything interesting in daemon.log
It is impossible to guess anything from this information. Please could you give more information?
if I run 4.41.0 via java -jar gitbucket.war it runs fine
What are differences from your regular GitBucket execution on RaspberryPi?
I am not a superuser. I used the standard installation found in the wiki https://github.com/gitbucket/gitbucket/wiki/Installation-on-a-Raspberry-Pi
Of course at some point I updated to Java 11.
Every update I have done the following:
cd /opt/gitbucket sudo rm gitbucket.bak sudo mv gitbucket.war gitbucket.bak sudo wget https://github.com/gitbucket/gitbucket/releases/download/4.41.0/gitbucket.war sudo reboot
And it always just worked.
My point in saying that is runs manually it that there doesn't seem to be a reason to revert to the previous version.
Is there a log somewhere I can look for issues?
Ah, you meant that it somehow reverted to 4.40.0 although you updated war file?
I'm not good at RaspberryPi environment but I think you can see logs in journal log if you runs GitBucket as a service using systemd.
I decided to just start over from scratch. I had to install java 17 vs 11. Java 11 has install errors.
Error was: Depends: ca-certificates-java but it is not going to be installed E: Unable to correct problems, you have held broken packages