NEW UPDATE pulls other app backup...WHAT is going ON?
-
@johnbolt Sorry John but with the lack of information about your system I am not willing to invest any time.
To your last question, of course you can download your backups, but since you did not give any information about your setup, all I can do is - RTFM.
https://docs.cloudron.io/backups/
@johnbolt said in NEW UPDATE pulls other app backup...WHAT the CRAP is going ON?:
Looks like it affected one of my non Cloudron controlled worpress sites.
What? A Wordpress site is affected which is not even controlled by Cloudron? o_O wtf?
Every app has it's own id which also is used for the backups.
Example one of my lamp apps has the id07458679-64b6-4921-9f37-318a57518f85
and the backup name is:
app_435994c4-bb05-43a6-b941-9f9440fe5124_2020-09-22-210133-071_v1.4.0.tar.gz
-
Hm I think to get to the bottom of this we need direct access to your server to take a look at what is happening with the backups. If you want, you can enable remote ssh for your server and then send us a mail to support@cloudron.io with the dashboard domain.
-
The issue had to do with yoast plugin erroring:
[Wed Sep 23 23:31:36.122693 2020] [php7:error] [pid 92] [client 172.18.0.1:47894] PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /app/data/wp-content/plugins/wordpress-seo/src/presenters/webmaster/google-presenter.php on line 8, referer: ...
It seems this error has been reported already: https://wordpress.org/support/topic/yoast-seo-plugin-crashed/ and https://wordpress.org/support/topic/yoast-premium-fatal-error/ but there are no real solution other than updating the plugin.
So, I put the app in repair mode. Went to the terminal and ran:
/app/pkg/wp --allow-root --skip-plugins plugin deactivate wordpress-seo
Then, I disabled repair mode and the app came back up. Then, I went to the admin dashboard and updated the plugin and activated it. That seemed to fix it.
-
OK, that wasn't the issue. We have an issue with the Cloudron 5.6.1 release that http://ip will serve up a random app. This is because we ended up removing 'default_server' and the nginx behavior is to serve up the first server it finds. Not the end of the world, but not nice. This issue has been fixed now.
I thought the above was the reason you were getting served up some other app when you put an app in repair mode. I tested it now, but this is not the case. If you can duplicate this and let me know, I would like to have a look.