Hey,
Would anyone be interested in upgrading my Chevereto Installation from v4.0.12 to latest v4.5.2?
Paid of course.
Rodolfo did do this for me and it kinda worked (thanks Rodolfo!). However, I think when I attempted the encryption (maybe.. I didn't test before) and it threw an error about moderatecontent_key it all started to go wrong.
SFTP active storage being ignored, user profile/background photos are broken media and more. I did restore my website to v4.0.12 and put the broken 4.5.2 install on a sub-domain as I try and figure out what's wrong..
Before I attempted encryption following these steps I forgot to take a backup so I've had to restore to v4.0.12 again (my last backup).
PS: Does anyone know if it's possible to delete public_html entirely, upload v4.5.2 files => fresh install using the wizard then replacing the fresh database with my old v4.0.12 database and running /update? Would this work?
This is no hate or disrespect to Rodolfo he did exactly what I asked. I just forgot to do a backup of his v4.5.2 upgrade so cant roll back to find out if it was broken already or if it was my encryption. Silly me.
Would anyone be interested in upgrading my Chevereto Installation from v4.0.12 to latest v4.5.2?
Paid of course.
Rodolfo did do this for me and it kinda worked (thanks Rodolfo!). However, I think when I attempted the encryption (maybe.. I didn't test before) and it threw an error about moderatecontent_key it all started to go wrong.
SFTP active storage being ignored, user profile/background photos are broken media and more. I did restore my website to v4.0.12 and put the broken 4.5.2 install on a sub-domain as I try and figure out what's wrong..
Before I attempted encryption following these steps I forgot to take a backup so I've had to restore to v4.0.12 again (my last backup).
Code:
/app/bin/cli -C encrypt-secrets
[!] 🔓 Assuming no database encryption
[!] 👀 Secrets will be shown decrypted
* Encrypting settings
- api_v1_key:
- email_smtp_server:
- email_smtp_server_password:
- email_smtp_server_port:
- email_smtp_server_username:
- email_ahasend_api_key:
- email_ses_access_key:
- email_ses_secret_key:
- email_azure_resource_name:
- email_azure_key:
- email_brevo_api_key:
- email_infobip_api_key:
- email_infobip_base_url:
- email_mailgun_api_key:
- email_mailgun_domain:
- email_mailjet_access_key:
- email_mailjet_secret_key:
- email_mailomat_api_key:
- email_mailpace_api_token:
- email_mailersend_api_key:
- email_mailtrap_api_token:
- email_mandrill_api_key:
- email_microsoftgraph_client_id:
- email_microsoftgraph_client_secret:
- email_microsoftgraph_tenant_id:
- email_postal_api_key:
- email_postal_base_url:
- email_postmark_api_token:
- email_resend_api_key:
- email_scaleway_project_id:
- email_scaleway_api_key:
- email_sendgrid_api_key:
- email_sweego_api_key:
- captcha_secret:
- disqus_secret_key:
?Hn
- akismet_api_key:
- moderatecontent_key:
LogicException in /public_html/app/src/Legacy/Classes/Settings.php:860
# Message [Code #600]
Trying to modify restricted setting(s): moderatecontent_key
# Time
2026-04-25T20:09:40+00:00 [1777147780]
# Incident <hidden>
# Backtrace
------------------------------------------------------------
0 /public_html/app/src/Legacy/Classes/Settings.php:860
{main}()
------------------------------------------------------------
1 /public_html/app/legacy/commands/cipher.php:39
Chevereto\Legacy\Classes\Settings::update()
------------------------------------------------------------
2 /public_html/app/legacy/commands/encrypt-secrets.php:38
require(string(length=57))
------------------------------------------------------------
3 /public_html/app/legacy/entrypoints/cli.php:86
require_once(string(length=66))
------------------------------------------------------------
4 /public_html/app/bin/cli:13
require_once(string(length=57))
------------------------------------------------------------
PS: Does anyone know if it's possible to delete public_html entirely, upload v4.5.2 files => fresh install using the wizard then replacing the fresh database with my old v4.0.12 database and running /update? Would this work?
This is no hate or disrespect to Rodolfo he did exactly what I asked. I just forgot to do a backup of his v4.5.2 upgrade so cant roll back to find out if it was broken already or if it was my encryption. Silly me.