Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Google Cloud: Bitnami package for WordPress 6.5.2] Faild Restore backup #1524

Closed
MeiselMoya opened this issue May 8, 2024 · 5 comments
Closed
Assignees
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed wordpress

Comments

@MeiselMoya
Copy link

MeiselMoya commented May 8, 2024

Platform

Google Cloud Platform

bndiagnostic ID know more about bndiagnostic ID

b8a127d3-9f2a-4afd-2df5-50a01b4297d1

bndiagnostic output

===== Begin of bndiagnostic tool output =====
    ✓ Processes: No issues found
    ? Connectivity: Found possible issues
    ✓ Wordpress: No issues found
    ✓ Mariadb: No issues found
    ✓ Php: No issues found
    ✓ Resources: No issues found
    ? Apache: Found possible issues
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the 
following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Apache]
Press [Enter] to continue:

Found recent error or warning messages in the Apache error log.

[Wed Jan 03 21:08:08.076125 2024] [proxy_fcgi:error] [pid 628630:tid 
139992739292928] [client **ip_address**:52857] AH01071: Got error 'PHP message: 
PHP Warning:  Undefined array key "HTTP_HOST" in 
/bitnami/wordpress/wp-config.php on line 173; PHP message: PHP Warning:  
Undefined array key "HTTP_HOST" in /bitnami/wordpress/wp-config.php on line 174; 
PHP message: PHP Warning:  Undefined array key "host" in 
/opt/bitnami/wordpress/wp-includes/canonical.php on line 691; PHP message: PHP 
Warning:  Unde
[Wed Jan 03 21:59:05.630080 2024] [authz_core:error] [pid 460933:tid 
139993947285248] [client **ip_address**:40836] AH01630: client denied by server 
configuration: /opt/bitnami/phpmyadmin/index.php

[Thu Jan 04 00:59:31.741707 2024] [proxy_fcgi:error] [pid 628630:tid 
139992823219968] [client **ip_address**:61000] AH01071: Got error 'PHP message: 
PHP Warning:  Undefined array key "HTTP_HOST" in 
/bitnami/wordpress/wp-config.php on line 173; PHP message: PHP Warning:  
Undefined array key "HTTP_HOST" in /bitnami/wordpress/wp-config.php on line 174; 
PHP message: PHP Warning:  Undefined array key "host" in 
/opt/bitnami/wordpress/wp-includes/canonical.php on line 691; PHP message: PHP 
Warning:  Unde

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

I can't solve the issue

Describe your issue as much as you can

Make my backup to google cloud:

  • Bitnami package for WordPress 6.4.3-5
  • Linux 5.10.0-28-cloud-amd64 1 SMP Debian 5.10.209-2 x86_64

Then restore the backup to Google Cloud:

  • Bitnami package for WordPress 6.5.2
  • Linux 6.1.0-20-cloud-amd64 1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 x86_64

I followed the steps in the documentation

sudo /opt/bitnami/ctlscript.sh stop
sudo mv /opt/bitnami /tmp/bitnami-backup
sudo tar -pxzvf application-backup.tar.gz -C /
sudo tar -pxzvf application-bin.tar.gz -C /
sudo /opt/bitnami/ctlscript.sh start

At the time of making

sudo /opt/bitnami/ctlscript.sh start

I get the following error

Starting services..
Job for bitnami.service failed because the control process exited with error code.
See "systemctl status bitnami.service" and "journalctl -xeu bitnami.service" for details.
systemctl status bitnami.service:
× bitnami.service - Bitnami service
     Loaded: loaded (/etc/systemd/system/bitnami.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-05-08 16:58:54 UTC; 27s ago
    Process: 912 ExecStart=/bin/bash -ec . /opt/bitnami/scripts/libcloud.sh; cloud_execute_prestart_scripts (code=exited, status=1/FAILURE)
   Main PID: 912 (code=exited, status=1/FAILURE)
        CPU: 3ms

May 08 16:58:54 wordpress-7-vm bash[912]: /bin/bash: line 1: /opt/bitnami/scripts/libcloud.sh: No such file or directory
May 08 16:58:54 wordpress-7-vm systemd[1]: Starting bitnami.service - Bitnami service...
May 08 16:58:54 wordpress-7-vm systemd[1]: bitnami.service: Main process exited, code=exited, status=1/FAILURE
May 08 16:58:54 wordpress-7-vm systemd[1]: bitnami.service: Failed with result 'exit-code'.
May 08 16:58:54 wordpress-7-vm systemd[1]: Failed to start bitnami.service - Bitnami service.
############################################################################################################################################
############################################################################################################################################
journalctl -xeu bitnami.service:
░░ 
░░ A start job for unit bitnami.service has begun execution.
░░ 
░░ The job identifier is 3496.
May 08 16:50:33 wordpress-7-vm systemd[1]: bitnami.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ An ExecStart= process belonging to unit bitnami.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
May 08 16:50:33 wordpress-7-vm systemd[1]: bitnami.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit bitnami.service has entered the 'failed' state with result 'exit-code'.
May 08 16:50:33 wordpress-7-vm systemd[1]: Failed to start bitnami.service - Bitnami service.
░░ Subject: A start job for unit bitnami.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit bitnami.service has finished with a failure.
░░ 
░░ The job identifier is 3496 and the job result is failed.
May 08 16:58:54 wordpress-7-vm bash[912]: /bin/bash: line 1: /opt/bitnami/scripts/libcloud.sh: No such file or directory
May 08 16:58:54 wordpress-7-vm systemd[1]: Starting bitnami.service - Bitnami service...
░░ Subject: A start job for unit bitnami.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit bitnami.service has begun execution.
░░ 
░░ The job identifier is 5332.
May 08 16:58:54 wordpress-7-vm systemd[1]: bitnami.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ An ExecStart= process belonging to unit bitnami.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
May 08 16:58:54 wordpress-7-vm systemd[1]: bitnami.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit bitnami.service has entered the 'failed' state with result 'exit-code'.
May 08 16:58:54 wordpress-7-vm systemd[1]: Failed to start bitnami.service - Bitnami service.
░░ Subject: A start job for unit bitnami.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit bitnami.service has finished with a failure.
░░ 
░░ The job identifier is 5332 and the job result is failed.
@MeiselMoya MeiselMoya added the tech-issues The user has a technical issue about an application label May 8, 2024
@github-actions github-actions bot added the triage Triage is needed label May 8, 2024
@patrick521f

This comment was marked as spam.

@gongomgra
Copy link
Collaborator

Hi @MeiselMoya,

Thanks for using Bitnami. We changed the way of building/initializing our Google Cloud images, and therefore the guide you are using is not valid to migrate data between those instances. Also notice that migrating the data that way, you are replacing the Bitnami installation in the new instance with the binaries from the old installation, so you won't benefit from newer versions of Apache, PHP and the rest of elements in the Bitnami folder (which in some cases may fix security issues).

We recommend you to restore the new image to its previous state (or simply launch a new one), and migrate WordPress data only by following the guide linked below

https://docs.bitnami.com/google/how-to/migrate-wordpress/

Hope it helps!

@sonia0992alvarez

This comment was marked as spam.

Copy link

github-actions bot commented Jun 8, 2024

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 github-actions bot added the stale 15 days without activity label Jun 8, 2024
Copy link

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.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed wordpress
Projects
None yet
Development

No branches or pull requests

5 participants