bisq-network / bisq

A decentralized bitcoin exchange network
https://bisq.network
GNU Affero General Public License v3.0
4.69k stars 1.27k forks source link

Failed to launch JVM Error after trying to upgrade Bisq #7132

Closed Joseph922 closed 5 days ago

Joseph922 commented 4 months ago

Description

Version

Steps to reproduce

Open Bisq application ->Faild to launch JVM pop up box appears without opening the application.

Expected behaviour

<The bisq application is able to open and my user and backup data are available -->

Actual behaviour

Screen shots May 24'.odt

Device or machine

Additional info

boring-cyborg[bot] commented 4 months ago

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

Joseph922 commented 4 months ago

Thank you, please let me know if anything else is needed in the issue template to begin review. Thank you for your support.

HenrikJannsen commented 3 months ago

Do you run the binary or from source code? Which Operating system do you use?

Joseph922 commented 3 months ago

Hello Henrik,

I am using windows and using the operating system. I downloaded bisq from the bisq wiki page and it was working great. I was prompted for the update and after started to receive the failed launch JVM error. I tried uninstalling and reinstalling without luck. I also tried clearing the properties folder and in the process of working through it a couple times I believe I deleted it. I have tried to recreate it but not positive the format is correct. Thank you for reaching out and please let me know what I can provide to assist in resolution.

Best regards

Sent from Proton Mail for iOS

On Tue, Jun 4, 2024 at 9:44 PM, HenrikJannsen @.***(mailto:On Tue, Jun 4, 2024 at 9:44 PM, HenrikJannsen < wrote:

Do you run the binary or from source code? Which Operating system do you use?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

Are you using Windows 11 by chance? If I remember correctly, I've seen this issue already being reported for that version

Joseph922 commented 3 months ago

Yes I am using windows 11 home edition, version 23H2 at the moment.

Sent from Proton Mail for iOS

On Wed, Jun 5, 2024 at 10:41 AM, suddenwhipvapor @.***(mailto:On Wed, Jun 5, 2024 at 10:41 AM, suddenwhipvapor < wrote:

Are you using Windows 11 by chance? If I remember correctly, I've seen this issue already being reported for that version

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

As I suspected, this is but one of the issues that I remember being reported for Windows 11. I am not directly aware of any sure way to work around this issue, but I can suggest to try these steps:

  1. Run Bisq in compatibility mode (right click on application icon, then it's probably somewhere under Advanced, select windows 10, or XP, play around) and if it doesn't work...
  2. Run bisq with administrative rights, still from under right click - properties menu of the icon, can't remember in which submenu but you are bound to find it, and if not even this works...
  3. install a linux image, preferably debian, under VirtualBox, and install and run bisq from there, this is the hardcore way, but I expect it to work 100%, so you can even clone and build from source, and maybe who knows, you get to like linux and get rid of windows for good 😉
Joseph922 commented 3 months ago

The first option did not work, however I only had windows 8 version to choose from instead of windows 10 or XP. (I can try to download windows 10 and see if it shows as an option). The second option created the same Failed JVM error. I am not familiar with Linux but if I pursue this method what happens to the backups, should I move them to a flash drive during update? Will they be able to be loaded back into bisq or would I be starting with new user and need to upload wallet with seed.

Best regards

Sent from Proton Mail for iOS

On Wed, Jun 5, 2024 at 12:24 PM, suddenwhipvapor @.***(mailto:On Wed, Jun 5, 2024 at 12:24 PM, suddenwhipvapor < wrote:

As I suspected, this is but one of the issues that I remember being reported for Windows 11. I am not directly aware of any sure way to work around this issue, but I can suggest to try these steps:

  • Run Bisq in compatibility mode (right click on application icon, then it's probably somewhere under Advanced, select windows 10, or XP, play around) and if it doesn't work...
  • Run bisq with administrative rights, still from under right click - properties menu of the icon, can't remember in which submenu but you are bound to find it, and if not even this works...
  • install a linux image, preferably debian, under VirtualBox, and install and run bisq from there, this is the hardcore way, but I expect it to work 100%, so you can even clone and build from source, and maybe who knows, you get to like linux and get rid of windows for good 😉

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

linux is scary just on paper, believe me, because once you get used to the interface you will learn how much better it is than windows. The most common interface, afaik, is Gnome, and with that running, the underlying system is less important. Ubuntu is a derivative of Debian, like PopOs, so you could choose whichever one. I personally prefer Debian myself. In any case, the data directory is 100% portable, you can keep it on windows the whole time, and when you have finally installed bisq on the virtual machine, you can use virtualbox tools to copy the data directory contents from C:\Users\Yourname\AppData\Roaming\Bisq to /home/youruser/.local/share/Bisq, and when you start bisq again you will see the same data you had on windows

Joseph922 commented 3 months ago

Thank you,

I have downloaded virtual box and downloaded Ubuntu on it. I am still reading through what is needed to download bisq. Just wanted to give you a heads up I am still pursuing the option just trying to get over learning curve.

Sent from Proton Mail for iOS

On Wed, Jun 5, 2024 at 2:47 PM, suddenwhipvapor @.***(mailto:On Wed, Jun 5, 2024 at 2:47 PM, suddenwhipvapor < wrote:

linux is scary just on paper, believe me, because once you get used to the interface you will learn how much better it is than windows. The most common interface, afaik, is Gnome, and with that running, the underlying system is less important. Ubuntu is a derivative of Debian, like PopOs, so you could choose whichever one. I personally prefer Debian myself. In any case, the data directory is 100% portable, you can keep it on windows the whole time, and when you have finally installed bisq on the virtual machine, you can use virtualbox tools to copy the data directory contents from C:\Users\Yourname\AppData\Roaming\Bisq to /home/youruser/.local/share/Bisq, and when you start bisq again you will see the same data you had on windows

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

That's great! Installing bisq on linux requires you to wget the installer .deb file and then run it with sudo apt install ./....deb

Joseph922 commented 3 months ago

Hello,

So not extremely tech savvy but I was able to set up the virtual box and download Ubuntu. I have download the Deb and PGP signature files. At this point the instructions switch over to macOS and I’m on a HP computer running Linux. Can I just down load the PGP public key or do I need to execute functions from terminal command? Also on windows I needed to download Gpg4win then open file in kleopatra in order to verify, I don’t see these steps for Linux. Any additional information would be great, I don’t use command functions normally so definitely a little learning curve here.

Sent from Proton Mail for iOS

On Sat, Jun 8, 2024 at 3:18 AM, suddenwhipvapor @.***(mailto:On Sat, Jun 8, 2024 at 3:18 AM, suddenwhipvapor < wrote:

That's great! Installing bisq on linux requires you to wget the installer .deb file and then run it with sudo apt install ./....deb

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Joseph922 commented 3 months ago

Would it be possible to send me the command functions for download? At the moment I am receiving an error E: unable to locate package bisq-64bit-1.9.15.deb

Sent from Proton Mail for iOS

On Sat, Jun 8, 2024 at 6:05 PM, Joseph922 @.***(mailto:On Sat, Jun 8, 2024 at 6:05 PM, Joseph922 < wrote:

Hello,

So not extremely tech savvy but I was able to set up the virtual box and download Ubuntu. I have download the Deb and PGP signature files. At this point the instructions switch over to macOS and I’m on a HP computer running Linux. Can I just down load the PGP public key or do I need to execute functions from terminal command? Also on windows I needed to download Gpg4win then open file in kleopatra in order to verify, I don’t see these steps for Linux. Any additional information would be great, I don’t use command functions normally so definitely a little learning curve here.

Sent from Proton Mail for iOS

On Sat, Jun 8, 2024 at 3:18 AM, suddenwhipvapor @.***(mailto:On Sat, Jun 8, 2024 at 3:18 AM, suddenwhipvapor < wrote:

That's great! Installing bisq on linux requires you to wget the installer .deb file and then run it with sudo apt install ./....deb

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

This is the general outline you should follow:

After this you should have bisq installed and ready to be run. When it's time to update, you can do the same exact thing as above, the new version will install over the old one without issues.

Joseph922 commented 3 months ago

Do I need to move these files from the downloads folder to somewhere else in order to install? At the moment I am trying to import the E222AA02.asc file and am receiving the below error:

gpg: can’t open ‘E222AA02.asc’ : no such file or directory.

I have the 3 below files sitting in my downloads folder:

E222AA02.asc Bisq-64bit-1.9.15.deb.asc Bisq-64bit-1.9.15.deb

There were no updates for gpg install, so I believe that is installed already.

Thank you for your help,

Best regards

Sent from Proton Mail for iOS

On Sun, Jun 9, 2024 at 4:47 AM, suddenwhipvapor @.***(mailto:On Sun, Jun 9, 2024 at 4:47 AM, suddenwhipvapor < wrote:

This is the general outline you should follow:

  • from https://bisq.network/downloads/ get the .deb and its PGP signature, and from the end of the list the PGP public key (to get some training with the linux commandline, open a terminal in Debian, immediately run cd /tmp and then copy to clipboard the urls of each file, and for all of them do wget (you paste in terminal with Ctrl-Shit-V if I'm not wrong, or right click on the background and select paste)
  • do gpg --import E222AA02.asc from the terminal (gpg should already be installed, but if it isn't, before then do sudo apt install gpg)
  • do gpg --digest-algo SHA256 --verify Bisq-64bit-1.9.15.deb.asc (that should be the name of the PGP signature file you downloaded)
  • if it says "Good signature" at the end, you can do sudo apt install ./Bisq-64bit-1.9.15.deb

After this you should have bisq installed and ready to be run. When it's time to update, you can do the same exact thing as above, the new version will install over the old one without issues.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

you have to be located in the same folder where those files reside, in order to run the above commands, so instead of cd /tmp you will need to do cd /path/to/download/ in the example above

Joseph922 commented 3 months ago

Thank you, that was it! I needed to change the file path, wow I have a lot to learn on the new system. Really appreciate you walking me through.

As the last step which files and how do I need to transfer my old back up file to the new Bisq on Linux virtual box.

Best regards

Sent from Proton Mail for iOS

On Tue, Jun 11, 2024 at 2:12 AM, suddenwhipvapor @.***(mailto:On Tue, Jun 11, 2024 at 2:12 AM, suddenwhipvapor < wrote:

you have to be located in the same folder where those files reside, in order to run the above commands, so instead of cd /tmp you will need to do cd /path/to/download/ in the example above

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

See this link: https://bisq.wiki/Data_directory#Default_locations Those are the default locations for data directory in the different OSes. So you copy the contents of the data directory in Windows, over the location of the data directory in linux, and then start bisq

Joseph922 commented 3 months ago

Thank you, I have made a copy of Bisq location on linux and renamed it Bisq Linux. I have copied this file and renamed it Bisq as the original file showed. I believe I can use the SCP function to move the files however can i migrate the entire btc_mainnet folder? Or do I need to move each file individually. Do I need to worry about any other files outside of the btc_main net folder?

Sent from Proton Mail for iOS

On Wed, Jun 12, 2024 at 3:03 PM, suddenwhipvapor @.***(mailto:On Wed, Jun 12, 2024 at 3:03 PM, suddenwhipvapor < wrote:

See this link: https://bisq.wiki/Data_directory#Default_locations Those are the default locations for data directory in the different OSes. So you copy the contents of the data directory in Windows, over the location of the data directory in linux, and then start bisq

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

You can copy all files in one go. Usually with VMs there is also a share feature where you can have the guest OS access a mounted folder from the Host OS so you can pass files both ways. In any case, yes, do copy the btc_mainnet folder over, or much simpler, just copy the parent folder of the data directory, Bisq, to the place where it should be in the Guest

Joseph922 commented 3 months ago

Thank you so much for your amazing support and patience with me as I stepped into the command line logic and Linux operating system.

I officially logged back into my account on Bisq. All history, wallet, etc are perfect! I really appreciate all your support.

I did log in and see there is a new version and I am terrified to update again. Is there simple logic I can run in command line to update?

Now I just need to figure out how to increase my virtual machine speed and I’ll possibly be in better shape than at the beginning of the issue.

Can’t thank you enough for your assistance.

Best regards,

Sent from Proton Mail for iOS

On Thu, Jun 20, 2024 at 2:51 AM, suddenwhipvapor @.***(mailto:On Thu, Jun 20, 2024 at 2:51 AM, suddenwhipvapor < wrote:

You can copy all files in one go. Usually with VMs there is also a share feature where you can have the guest OS access a mounted folder from the Host OS so you can pass files both ways. In any case, yes, do copy the btc_mainnet folder over, or much simpler, just copy the parent folder of the data directory, Bisq, to the place where it should be in the Guest

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

suddenwhipvapor commented 3 months ago

Great! Thank you for the dedication you showed into wanting to get back onto Bisq :-) As a complete linux newbie as you said you were, it must have took quite some work.

Regarding the update, you do just like you already did with 1..9.15, follow the exact same steps in downloading files, verifying and installing

suddenwhipvapor commented 3 months ago

Oh, by the way, regarding the VM speed issue, you can usually increase it by increasing the CPU cores it can use, and the ram. but you will conversely decrease those still available for the host OS.

github-actions[bot] commented 1 week ago

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.

github-actions[bot] commented 5 days ago

This issue has been automatically closed because of inactivity. Feel free to reopen it if you think it is still relevant.