Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. NEW UPDATE pulls other app backup...WHAT is going ON?

NEW UPDATE pulls other app backup...WHAT is going ON?

Scheduled Pinned Locked Moved Solved Support
18 Posts 5 Posters 2.6k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnbolt
    wrote on last edited by girish
    #1

    Literally what the title says...

    1 Reply Last reply
    -1
    • mehdiM Offline
      mehdiM Offline
      mehdi
      App Dev
      wrote on last edited by
      #2

      Maybe a little more explanation, how you noticed the issue, what the effects are, in which case it happens, which version you are on, etc ... would help both others to check if they can reproduce, and the devs to know what's going on ?

      1 Reply Last reply
      1
      • J Offline
        J Offline
        johnbolt
        wrote on last edited by
        #3

        The last update caused my backups to start backing up from another app. Whichever update was before 2.12.0 and before that. My backups only go back two days and errors starting occurring some time this week. I originally had the app on auto update and auto backup. All my pain started with Wordpress 5.5. Affects is my backup pulled from another app container on my server and now my backups for this app is not the correct app.

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          Are you seeing an issue after a Cloudron update or an update to a (presumably WordPress) app instance?

          Also are those both WordPress app instances?

          Can you trigger a manual backup on the app? Also how did you find out that the backup was made from another app or so?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            johnbolt
            wrote on last edited by
            #5

            @nebulon said in NEW UPDATE pulls other app backup...WHAT the CRAP is going ON?:

            WordPress app instanc

            I tried to restore from the Wordpress app instance backup in storage. I can trigger a manual backup but it restores wrong backup because the app is from other app instance. Both are Wordpress instances. I cannot tell you whether the issue was caused by Wordpress update or Cloudron update. It looks like only one of my apps are affected. I am going through all instances to see.

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #6

              Did you clone one of those app instance from another at some point in the past? Generally app instances, even of the same package, are handled entirely independently, so I am wondering how those backups can be mixed up.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                johnbolt
                wrote on last edited by
                #7

                @nebulon said in NEW UPDATE pulls other app backup...WHAT the CRAP is going ON?:

                ng how those backups can be mixed up.

                Nope. I am totally at a lost. Anybody know how to get me a reputation point? (Will respond in 6 minutes)

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  johnbolt
                  wrote on last edited by
                  #8

                  Looks like it affected one of my non Cloudron controlled worpress sites.

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    johnbolt
                    wrote on last edited by
                    #9

                    btw sorry for negative wording. Am a developer so I know things happen. I will try to research deeper into this on my end.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      johnbolt
                      wrote on last edited by
                      #10

                      is there anyway to manually download the backup and inspect it individually?

                      BrutalBirdieB 1 Reply Last reply
                      0
                      • J johnbolt

                        is there anyway to manually download the backup and inspect it individually?

                        BrutalBirdieB Offline
                        BrutalBirdieB Offline
                        BrutalBirdie
                        Partner
                        wrote on last edited by BrutalBirdie
                        #11

                        @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 id 07458679-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

                        Like my work? Consider donating a drink. Cheers!

                        1 Reply Last reply
                        0
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #12

                          Indeed we need a lot more information to give any helpful ideas or insights to your situation. Maybe you can start by describing your setup and how many apps are involved, when they were updated and so forth...

                          1 Reply Last reply
                          1
                          • J Offline
                            J Offline
                            johnbolt
                            wrote on last edited by johnbolt
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #14

                              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.

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #15

                                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.

                                1 Reply Last reply
                                0
                                • J Offline
                                  J Offline
                                  johnbolt
                                  wrote on last edited by
                                  #16

                                  Is there a reason for another one of my applications showing up when I put in repair mode?

                                  girishG 1 Reply Last reply
                                  0
                                  • J johnbolt

                                    Is there a reason for another one of my applications showing up when I put in repair mode?

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #17

                                    @johnbolt I have a hunch on why this might be happening, let me confirm and get back. Rest assured, it's not to do with backups or the restore but something to do with our nginx configs.

                                    1 Reply Last reply
                                    0
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #18

                                      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.

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search