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

Failed update 5.9.3~ynh2 -> 6.0.2~ynh1 #191

Open
El-Gavy opened this issue Sep 23, 2022 · 5 comments
Open

Failed update 5.9.3~ynh2 -> 6.0.2~ynh1 #191

El-Gavy opened this issue Sep 23, 2022 · 5 comments

Comments

@El-Gavy
Copy link

El-Gavy commented Sep 23, 2022

Hello,

Describe the bug

Update from 5.9.3ynh2 to 6.0.2ynh1 fails: site is up and running but no content can be found in it (every page is missing).

Updated on other WordPress (same version) on the same server without any issue.

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.0.9.14 (stable)
  • I have access to my server: Through SSH | through the webadmin.
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch:
  • If upgrading, current package version: 5.9.3ynh2 -> 6.0.2ynh1

Steps to reproduce

Just launch the update :)

Expected behavior

WordPress should be running without content loss.

Logs

https://paste.yunohost.org/raw/juyaxofoki

In the warnings of the logs, this seem to be the issue (not sure) : Table 'wordpress.wp_ppress_sessions' doesn't exist

e.g. :

2022-09-23 11:00:09,696: WARNING - WordPress database error Table 'wordpress.wp_ppress_sessions' doesn't exist for query SELECT * FROM wp_ppress_sessions WHERE session_key = '7f39c60659a51629f97343806ae80673' made by include('phar://wp-cli.phar/php/boot-phar.php'), include('phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->load_wordpress, require('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, ProfilePress\Core\Classes\PPRESS_Session->init, WP_PPress_Session::get_instance, WP_PPress_Session->__construct, WP_PPress_Session->read_data, WP_PPress_Session_Utils::get_session

Thanks in advance for your help!

@tituspijean
Copy link
Member

Are you using ProfilePress plugin? If so, disable or remove it, then try upgrading again and reenabling it afterwards.

@El-Gavy
Copy link
Author

El-Gavy commented Sep 30, 2022

@tituspijean very sorry, didn’t have time to try, will do next week and i will keep you informed.

@El-Gavy
Copy link
Author

El-Gavy commented Oct 3, 2022

I tried to disable ProfilePress plugin then upgrade again : no error message but i still have the issue explained : every page is missing.

Surprisingly, if i can see the content of the articles if i go in the editor, but i can’t preview or access them on the site. Also, menus are ok :

image

image

@El-Gavy
Copy link
Author

El-Gavy commented Oct 6, 2022

@tituspijean any idea of something I could try to make this update work?

@El-Gavy
Copy link
Author

El-Gavy commented Dec 19, 2022

Well I tried to optimize the database, I disabled all plugins and deleted all non-original wordpress database tables : still the same result. I’m thinking of installing a migration plugin, export all data, then import it in a fresh install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants