bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 43 forks source link

[ERPNext] Unable to start the Bitnami Service #1478

Closed abhimanyu27saraswat closed 5 months ago

abhimanyu27saraswat commented 5 months ago

Platform

Google Cloud Platform

bndiagnostic ID know more about bndiagnostic ID

8fc07198-eb12-a010-f33e-085b83540d16

bndiagnostic output

✓ Connectivity: No issues found ✓ Resources: No issues found ? Apache: Found possible issues ✓ Processes: No issues found

bndiagnostic was not useful. Could you please tell us why?

The suggested guide is not related to my issue

Describe your issue as much as you can

I had a working VM on Azure for more than a year. When I migrated the VM from Azure to Google Cloud Platform, the service has stopped working altogether. I am unable to start Apache/Mariadb and unable to use my application.

gongomgra commented 5 months ago

HI @abhimanyu27saraswat,

Thanks for using Bitnami. Can you give us more information about your issue? Did the website on your new server work before migrating the data from the other server? Also, how did you migrate the app data from one instance to another? Have you modified anything else in the second server? According to the first boot log file, it worked fine, but now the gonit service is not running, which means that the rest of the services can't be monitored

-----------------------------------
Get the ctlscript status
-----------------------------------
Running: ./ctlscript.sh status
In: /opt/bitnami

Output:

Cannot find any running daemon to contact. If it is running, make sure you are pointing to the right pid file (/var/run/gonit.pid)
abhimanyu27saraswat commented 5 months ago

Hello @gongomgra

Yes the website used to work on the old server. I used the GCP's migrate VM functionality to clone the server from Azure to GCP. But as soon as I switched to the new server, the website started showing the issue.

Should I restore gonit and provide you with the status again ?

gongomgra commented 5 months ago

Hi @abhimanyu27saraswat,

Thanks for the information. I'm afraid I don't know how the GCP's migrate VM tool works nor the changes it may (or may not) have implemented in the migrated data. You may contact the GCP support team for further help on this.

We have a tutorial on how to migrate ERPNext data from one instance to another at https://docs.bitnami.com/aws/apps/erpnext/administration/migrate/, which maybe of help. However, we highly recommend you to check the official steps with the ERPNext developers in their official forums at https://discuss.frappe.io/

Hope it helps!

abhimanyu27saraswat commented 5 months ago

Thank you @gongomgra for the info.