bitnami / vms

Bitnami VMs
https://bitnami.com
Other
200 stars 44 forks source link

virtual machine bitnami wordpress #1437

Closed vinod117 closed 2 months ago

vinod117 commented 4 months ago

Platform

Virtual Machine

bndiagnostic ID know more about bndiagnostic ID

2104f1d7-66ed-96ed-37da-0fa4eeaa1b0f

bndiagnostic output

connectivity: Found possible issues

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

I was not able to find a way to solve my issue

Describe your issue as much as you can

I'm using vm ware bitnami on my windows computer in the starting the wordpress application used to open but after a while it stopped working and shows that the site cant be reached i've tried all possible methods to resolve it, iv'e installed it twice and the same thing happend again can you please help me out with this

gongomgra commented 4 months ago

Hi @vinod117,

Thanks for using Bitnami. I checked the bnsupport bundle information and I couldn't find any errors there. According to it, Bitnami services are running and there are no errors in Apache log. Can you check if your issues are related to any of the installed plugins and/or the custom theme you are using?

vinod117 commented 4 months ago

i'm not able to access the application through any broweser, how can i check that?

gongomgra commented 4 months ago

Hi @vinod117,

Try to disable all plugins from the server console using the wp-cli tool

wp plugin deactivate --all

Also, try to activate the default WordPress them uesing the same tool. After that, restart all services and try to visit your website. If it works, then you will have to activate your theme and plugins one by one until you find the one causing issues.

vinod117 commented 4 months ago

Hi @gongomgra

I deactivated all the plugins and changed the theme to default as well but still i'm not able to access the website

gongomgra commented 3 months ago

Hi @vinod117,

Can you double-check all services are running after disabling the plugins?

sudo /opt/bitnami/ctlscript.sh start

Can you run the bndiagnostic tool again and share the new code with us?

vinod117 commented 3 months ago

8e78e0cf-1080-5af4-bad9-82093063c4e9

Screenshot 2024-03-19 1215271
gongomgra commented 3 months ago

Hi @vinod117,

I checked the bndiagnostic bundle. I see the Bitnami service is not running. Can you run the next commands and share the output with us?

sudo ls -larth /var/run
sudo ls -larth /var/run/gonit
sudo ls -larth /etc
sudo ls -larth /etc/gonit
journalctl -u bitnami

Can you also try to start them?

sudo systemctl start bitnami
sudo gonit
vinod117 commented 3 months ago

Screenshot 2024-03-21 201838 Screenshot 2024-03-21 201827 Screenshot 2024-03-21 201621 Screenshot 2024-03-21 201555

jotamartos commented 3 months ago

Hi @vinod117,

@gongomgra posted several commands and I can't see the output of all of them here. Apart from that, some of the commands you posted do not include all the parameters @gongomgra mentioned (remember to include the dashes in the commands that use them or include "bitnami" when running the systemctl command)

vinod117 commented 3 months ago

Hi @jotamartos

here are the outputs Screenshot 2024-03-25 133329 Screenshot 2024-03-25 133502 Screenshot 2024-03-25 133541 Screenshot 2024-03-25 133606 Screenshot 2024-03-25 133707 Screenshot 2024-03-25 133747

gongomgra commented 3 months ago

Hi @vinod117,

Thanks for your message. It looks like the gonit service is not configured nor installed on your server. Do you have any error in the /opt/bitnami/var/log/first-boot.log file? You will need to use sudo to read the file content. Can you also check the rest of the logs files (Apache, MariaDB, PHP)? What happens if you run the command below?

curl -Li "http://127.0.0.1"
vinod117 commented 3 months ago

Screenshot 2024-04-04 180405

gongomgra commented 3 months ago

Hi @vinod117,

Are the Bitnami services running on your server? Can you copy the command results instead of sharing a screenshot?

sudo /opt/bitnami/ctlscript.sh status
sudo /opt/bitnami/ctlscript.sh restart
tail -n 25 /opt/bitnami/apache/logs/error_log
sudo systemctl status bitnami
sudo journalctl -u bitnami | tail -n 50

Can you run the bndiagnostic tool again?

github-actions[bot] commented 2 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 2 months ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.