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

Bitnami LAMP: New php8.2.x instance running php7.x after /opt/bitnami restore from application-bin.tar.gz #1483

Closed
chiemekailo opened this issue Apr 12, 2024 · 3 comments
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

@chiemekailo
Copy link

chiemekailo commented Apr 12, 2024

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

9ad4e12e-fff5-fce9-5e25-2b522a0fb758

bndiagnostic output

[Apache]

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

[Fri Apr 12 07:02:44.239876 2024] [proxy_fcgi:error] [pid 12385:tid 
140146192152320] [client **ip_address**:48683] AH01071: Got error 'PHP message: 
PHP Notice: Undefined property: stdClass::$locked in 
/opt/bitnami/apps/joomla/htdocs/administrator/components/com_installer/tmpl/manag
e/default.php on line 160PHP message: PHP Notice: Undefined property: 
stdClass::$locked in 
/opt/bitnami/apps/joomla/htdocs/administrator/components/com_installer/tmpl/manag
Press [Enter] to continue:
e/default.php on line 160PHP message: PHP Not [Fri Apr 12 07:37:06.786703 2024] 
[proxy_fcgi:error] [pid 13956:tid 139621509875456] [client **ip_address**:60964] 
AH01071: Got error 'PHP message: PHP Warning: 
file_put_contents(/opt/bitnami/apps/webmailpro/htdocs/data/cache/templates-994f1c
e7eaa6c601ed6870b1046f010e.cache): failed to open stream: Permission denied in 
/opt/bitnami/apps/webmailpro/htdocs/system/Managers/Integrator.php on line 
184PHP message: PHP Warning: 
file_put_contents(/opt/bitnami/apps/webmailpro/htdocs/data/cache/langs-Eng [Fri 
Apr 12 08:36:23.967611 2024] [proxy_fcgi:error] [pid 15430:tid 139795774809856] 
[client **ip_address**:17175] AH01071: Got error 'PHP message: PHP Notice: 
Undefined index: VERSION in 
/opt/bitnami/apps/joomla/htdocs/libraries/src/Updater/Adapter/ExtensionAdapter.ph
p on line 133', referer: https://appcedar.net/administrator/index.php

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

don't understand it

Describe your issue as much as you can

I followed the backup guide here and created a backup of my php7.x Bitnami lamp stack applications. Then I created a new php8.x instance and restored the backup (also backed up and restored the mariadb the same way).
Now when id php -v I get version PHP 7.4.30 (cli) (built: Sep 10 2022 03:30:25) ( NTS ) instead of the LAMP 8.2.16-0

@chiemekailo chiemekailo added the tech-issues The user has a technical issue about an application label Apr 12, 2024
@github-actions github-actions bot added the triage Triage is needed label Apr 12, 2024
@jotamartos
Copy link
Collaborator

Hi @chiemekailo,

The guide you followed copies the entire installation directory (PHP binaries included) and moves it to the new instance. In this case, you are replacing all files in the new instance so you basically end up having the exact same installation.

You need to follow this other guide to only migrate the WordPress data from the old instance to the new one

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

Copy link

github-actions bot commented May 1, 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 May 1, 2024
Copy link

github-actions bot commented May 7, 2024

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.

@github-actions github-actions bot added the solved label May 7, 2024
@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 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

4 participants