Closed femionnet closed 6 months ago
Hi @femionnet,
Thanks for using Bitnami. Can you provide the virtual machine with the custom script below?
#!/bin/bash
export BITNAMI_DEBUG=true
We would like to get more information on what's failing at this point in the initialization process
apache 15:16:28.92 INFO ==> Configuring Apache ServerTokens directive
ghost 15:16:29.00 INFO ==> Ensuring Ghost directories exist
ghost 15:16:29.03 INFO ==> Trying to connect to the database server
ghost 15:16:29.07 INFO ==> Configuring database
ghost 15:16:29.16 INFO ==> Setting up Ghost
xargs: bash: exited with status 255; aborting
15:16:36.55 INFO ==> Appending error message to motd banner
xargs: bash: exited with status 255; aborting
You will need to use vSphere or VMware Fusion to create a new VM from a template as explained in our docs.
Once you have created the new VM, start it and share the logs with us if it keeps failing.
Thanks @gongomgra for your help. Please, is there any other way that I can feed that script in without vSphere or Fusion because I have neither of them? Or, if there's any other way to get debug info from the installation...
Thanks
Hi @femionnet,
I understood from your first message that you were using one of the VMware solutions.
Please, I encounter this error everytime I try to use Bitnami Ghost 5-5.71.2 & 5-5.74.4 both on VMware and VirtualBox.
Unfortunately, it is not possible to provide user-data in VirtualBox directly. Can you provide us with your memory and disk settings so we can try to reproduce it?
Yes, I use VMware Workstation Player 17; I don't think it allows the use of scripts.
About my system memory and disk settings: I have an 8gb RAM, 256gb SSD core i5 Laptop.
When I import the OVA (Ghost VM), I don't change any of the dafault settings. I start the VM until it finishes with the error I have been getting.
Other times, I increased the VM RAM to 2gb (from 1gb) and set Network to Host-Only in Virtualbox 7 (NAT in VMware Workstation Player 17).
Please, to create my exact system condition for reproduction, turn off internet access while running the OVA. I use local (VM) virtual network without internet to install the appliance. I have successfully used it for VMs such as Wordpress, OwnCloud, Odoo and others, without any issue.
Please note, I have experienced similar error with other VMs. Infact, Ghost was not the first appliance to give that error. I also experienced it with TYPO3. However, the TYPO3 VM was usable even with the error.
Hope I have been able to provide sufficient information to aid your investigation of the issue.
Thanks
HI @femionnet,
I'm afraid I can't reproduce your issue on my side. I have just imported the OVA into VirtualBox and started it with all default settings. We have released a new version of the Ghost virtual machine (version 5.76.0-0
). Can you give it a try?
Hi @gongomgra
Even the new version shows the same error. I think there is something wrong somewhere.
I decided to try it on another PC, this time a Desktop PC, and it showed the same error.
Would you like me to upload a screen record of the VM bootup - from OVA import till error display?
Hi @femionnet,
I'm afraid I couldn't reproduce your issue on another laptop either. Please upload the OVA import and boot process so we can try to reproduce it on our side.
Here is a link to the screen recording: https://disk.yandex.com/d/J3578KHrLXdbsQ
I was unable to attach here because of file size >10mb (~14mb).
I really hope the issue can be found and fixed.
Thanks @gongomgra
Hi @femionnet,
Thanks for the video. It is weird I can't reproduce the issue using default settings as you do. Can you recreate the machine with more memory and give it another try?
Hi @gongomgra
I really wish to know what's different between your system and the two systems that I have used to try the VM here that's making it run fine for you.
As suggested, I increased the RAM to 4GB, but got same error.
I'm curious; what could make it say "no authorized SSH keys fingerprints found for user bitnami" at that stage of the VM initialization?
Hi @femionnet,
That is only a warning while the SSH service is being configured. That message appears because you are not providing any SSH key to be configured via user-data, but it is a warning you can totally skip.
About the initialization error, I'm afraid we couldn't reproduce your issue in a Windows machine with defaults memory settings, and trying to run the initialization script from the started machine may return other errors not really related to the real one (as other services were already initialized).
Do you get any initialization error with any other Bitnami OVA?
@gongomgra
Yes, I have had the initialization error with Typo3 OVA before. At first, the VM was unusable similarly to Ghost (currently), but when I deleted and restarted a new one, it was usable - although there was the error. (Pls, see screenshots).
What system parameters/specs could make reproduction impossible as it is??
Hi @femionnet,
Sorry for the delay. I have been checking the whole thread again, and I see you mentioned you are using it with a non-internet connection.
It is a local install without Internet
Can you give it a try with internet connection?
Wow @gongomgra,
So this has been it! It required an internet connection to successfully complete it's setup. I have always booted bitnami OVAs, first, without internet for my local testing; so it never occurred to me that lack of internet was the problem.
Also, the VM did not give ANY hint of the cause of error, or give warning that internet was needed to complete installation.
I guess in all your attempts to reproduce the issue, you had internet on.
Thank God this headache is over.
Thank you too, @gongomgra
Hi @femionnet,
Thanks for your message. I'm glad it worked for you after enabling Internet connectivity. Unfortunately, detecting these situations is difficult, so we can't provide any error message on the initialization logic at this moment. We are closing this ticket as solved.
Platform
Virtual Machine
bndiagnostic ID know more about bndiagnostic ID
Local
bndiagnostic output
No response
bndiagnostic was not useful. Could you please tell us why?
It is a local install without Internet
Describe your issue as much as you can
Hello,
Please, I encounter this error everytime I try to use Bitnami Ghost 5-5.71.2 & 5-5.74.4 both on VMware and VirtualBox.
On starting the VM after installation, I see the notice: !!!!! IMPORTANT: An error occurred when initializing this installation !!!!!
Please check the initialization logs to get more information:
sudo cat /var/log/cloud-init-output.log
Please try and re-create this installation. If that does not fix your issue, open a Bitnami support ticket at https://github.com/bitnami/vms/issues.
Here is the output: