gitbucket icon indicating copy to clipboard operation
gitbucket copied to clipboard

Unable to update to version 4.41.0 (RaspberryPi)

Open stevemesser opened this issue 1 year ago • 5 comments
trafficstars

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

stevemesser avatar Aug 18 '24 00:08 stevemesser

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?

takezoe avatar Aug 18 '24 06:08 takezoe

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?

stevemesser avatar Aug 18 '24 14:08 stevemesser

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.

takezoe avatar Aug 18 '24 16:08 takezoe

I decided to just start over from scratch. I had to install java 17 vs 11. Java 11 has install errors.

stevemesser avatar Aug 18 '24 22:08 stevemesser

Error was: Depends: ca-certificates-java but it is not going to be installed E: Unable to correct problems, you have held broken packages

stevemesser avatar Aug 18 '24 22:08 stevemesser