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. Issues with WordPress Corruption and Backup Management

Issues with WordPress Corruption and Backup Management

Scheduled Pinned Locked Moved Support
18 Posts 5 Posters 1.4k 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.
  • I IniBudi

    @SamGreenwood make sure that you use LAMP instead of WordPress Developer or Managed.

    S Offline
    S Offline
    SamGreenwood
    wrote on last edited by SamGreenwood
    #7

    @IniBudi said in Issues with WordPress Corruption and Backup Management:

    @SamGreenwood make sure that you use LAMP instead of WordPress Developer or Managed.

    The instance I'm using is WP (Managed). I was hoping there's a way to fix it without having to create a new server. I don't want to lose my content.

    @joseph said in Issues with WordPress Corruption and Backup Management:

    If WP keeps getting corrupt, it is possible that the site is hacked. The backup situation and WP not loading is most likely not related.

    I doubt it, I don't see any traffic that looks unusual. It seems like an issue with the WP package.

    J 1 Reply Last reply
    0
    • S SamGreenwood

      @IniBudi said in Issues with WordPress Corruption and Backup Management:

      @SamGreenwood make sure that you use LAMP instead of WordPress Developer or Managed.

      The instance I'm using is WP (Managed). I was hoping there's a way to fix it without having to create a new server. I don't want to lose my content.

      @joseph said in Issues with WordPress Corruption and Backup Management:

      If WP keeps getting corrupt, it is possible that the site is hacked. The backup situation and WP not loading is most likely not related.

      I doubt it, I don't see any traffic that looks unusual. It seems like an issue with the WP package.

      J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by joseph
      #8

      @SamGreenwood said in Issues with WordPress Corruption and Backup Management:

      I doubt it, I don't see any traffic that looks unusual. It seems like an issue with the WP package.

      Do you have the logs when WP is down? It could also be a plugin related issue. Update plugins one by one and after each update restart the app to check which plugin might be causing it

      S 1 Reply Last reply
      1
      • J joseph

        @SamGreenwood said in Issues with WordPress Corruption and Backup Management:

        I doubt it, I don't see any traffic that looks unusual. It seems like an issue with the WP package.

        Do you have the logs when WP is down? It could also be a plugin related issue. Update plugins one by one and after each update restart the app to check which plugin might be causing it

        S Offline
        S Offline
        SamGreenwood
        wrote on last edited by
        #9

        @joseph give me a bit I'll pull them.

        S 1 Reply Last reply
        1
        • S SamGreenwood

          @joseph give me a bit I'll pull them.

          S Offline
          S Offline
          SamGreenwood
          wrote on last edited by
          #10

          @SamGreenwood Also, is there a way to pull the main Cloudron log file and the app log files at once?

          J 1 Reply Last reply
          0
          • S SamGreenwood

            @SamGreenwood Also, is there a way to pull the main Cloudron log file and the app log files at once?

            J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #11

            @SamGreenwood dont' need the cloudron log file, just the app logs is sufficient.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              p44
              translator
              wrote on last edited by
              #12

              @SamGreenwood try do disable all Wp plugins and themes. Simply, you can rename those folders (/wp-content/plugins and /wp-content/themes) adding something after, then create new empty ones. And try if something changes. I don't think issue is related to backup.

              1 Reply Last reply
              4
              • S Offline
                S Offline
                SamGreenwood
                wrote on last edited by
                #13

                Here are links the the logs:

                • Cloudron Sys Log
                • WordPress Event Log
                • WordPress Terminal Log
                P 1 Reply Last reply
                0
                • S SamGreenwood

                  Here are links the the logs:

                  • Cloudron Sys Log
                  • WordPress Event Log
                  • WordPress Terminal Log
                  P Offline
                  P Offline
                  p44
                  translator
                  wrote on last edited by
                  #14

                  @SamGreenwood

                  About Wordpress,

                  • list item have you disabled all plugins and themes?
                  • did you check that wp-config.php is properly configured? (Eg. DB_NAME, DB_USER, DB_PASSWORD and DB_HOST).

                  In this situation, I think could be better to hire a Wp dev that can take a deep look inside...

                  About Cloudron,

                  it seems you don't have enough space on VPS (Error: Not enough disk space)...

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    joseph
                    Staff
                    wrote on last edited by
                    #15

                    There seem to be separate issues.

                    Cloudron backup errored with error: Error copying snapshot/app_542a898c-ae8f-4b67-b06e-16104dd8cdf4.tar.gz (12168190995 bytes): AccessDenied AccessDenied: null

                    This is the backup error. It says access denied. How/where are your backups stored? Does the API key have permissions to Copy?

                    2025-01-18T00:00:37.000Z [Sat Jan 18 00:00:37.378324 2025] [php:error] [pid 66] [client 172.18.18.140:58048] PHP Fatal error: Uncaught Error: Failed opening required '/app/data/wp-content/plugins/wp-rest-api-authentication/admin\partials\notices\class-mo-api-authentication-notices-utils.php' (include_path='.:/usr/share/php') in /app/data/wp-content/plugins/wp-rest-api-authentication/includes/class-miniorange-api-authentication-cron-manager.php:14\nStack trace:\n#0 /app/data/wp-content/plugins/wp-rest-api-authentication/includes/class-miniorange-api-authentication.php(130): require_once()\n#1 /app/data/wp-content/plugins/wp-rest-api-authentication/includes/class-miniorange-api-authentication.php(76): Miniorange_Api_Authentication->load_dependencies()\n#2 /app/data/wp-content/plugins/wp-rest-api-authentication/miniorange-api-authentication.php(124): Miniorange_Api_Authentication->__construct()\n#3 /app/data/wp-content/plugins/wp-rest-api-authentication/miniorange-api-authentication.php(127): run_miniorange_api_authentication()\n#4 /app/code/wp-settings.php(471): include_once('...')\n#5 /app/data/wp-config.php(118): require_once('...')\n#6 /app/code/wp-load.php(50): require_once('...')\n#7 /app/code/wp-blog-header.php(13): require_once('...')\n#8 /app/code/index.php(17): require('...')\n#9 {main}\n thrown in /app/data/wp-content/plugins/wp-rest-api-authentication/includes/class-miniorange-api-authentication-cron-manager.php on line 14

                    There is a PHP erorr coming from wp-rest-api-authentication plugin. You have to debug the backtrace above.

                    1 Reply Last reply
                    2
                    • S Offline
                      S Offline
                      SamGreenwood
                      wrote on last edited by
                      #16

                      Clarification:

                      This instance has WP Multisite enabled. I get the error mentioned above on the subcidiary sites but get a "Error establishing a database connection" on the main network site.

                      J 1 Reply Last reply
                      0
                      • S SamGreenwood

                        Clarification:

                        This instance has WP Multisite enabled. I get the error mentioned above on the subcidiary sites but get a "Error establishing a database connection" on the main network site.

                        J Offline
                        J Offline
                        joseph
                        Staff
                        wrote on last edited by
                        #17

                        @SamGreenwood can you try disabling wp-rest-api-authentication ? I suspect that plugin is the source of the issue. See https://docs.cloudron.io/apps/wordpress-managed/#disabling-plugin

                        1 Reply Last reply
                        2
                        • S Offline
                          S Offline
                          SamGreenwood
                          wrote on last edited by
                          #18

                          I followed the instructions, now the child sites work but the main network site isn't,

                          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