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. WordPress (Developer)
  3. Disabling Redis on WordPress crashed site

Disabling Redis on WordPress crashed site

Scheduled Pinned Locked Moved WordPress (Developer)
8 Posts 2 Posters 516 Views 2 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.
  • O Offline
    O Offline
    overholt
    wrote on last edited by
    #1

    I disabled the Redis plugin in my WordPress dashboard and also in my Cloudron dashboard. My site says "There has been a critical error on this website." I tried restarting the app. I'm not sure how to reenable the Redis plugin in WP without access to the admin backend. The plugin still exists in the wp-content folder. Do I need to change something in a config file or something? How can I fix this?

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

      @overholt just restarting the app will re-enable the plugin.

      Also, if you want to disable redis, do this via the Cloudron interface - See https://docs.cloudron.io/apps/#services

      1 Reply Last reply
      0
      • J joseph moved this topic from Support on
      • O Offline
        O Offline
        overholt
        wrote on last edited by overholt
        #3

        @joseph I tried both of those (see my original post).
        Do I need to manually restart the redis service? If so, how?
        I don't know if a the repair process will help.
        I don't have a full Cloudron backup of the WP instance but I do have a backup of the WP site itself. I suppose I could create a nother WP instance and restore the backup to it. It would be nice to find out what happened though so I don't do it again.
        Also, normally, if I disable a plugin it does not appear in the WordPress plugins directory, or it will have ...-disabled" or something after it. I have disabled plugins in my plugins folder that don't appear to be renamed. IS this expected behavior in Cloudron? Is there another mechanism by which plugins are disabled?

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

          @overholt you can restart redis from Services -> redis -> select the redis to restart.

          Just to take a step back.. what are the app logs saying? it should say something about why it's crashing . Also, what does crashing mean here? Does the app keep restarting ? Or some apache page? Or the "app is not responding" page ?

          Also, normally, if I disable a plugin it does not appear in the WordPress plugins directory, or it will have ...-disabled" or something after it.

          WP does not rename the plugin directory afaik. It just tracks what is enabled and not in the database. You , as a user, can rename that directory and this results in it getting disabled since WP does not know about this new directory anymore. The "-disabled" thing is just a rename. It could be "-something-wp-does-not-know" and it will still get disabled. This is my understanding of WP (not an expert)

          O 1 Reply Last reply
          0
          • J joseph

            @overholt you can restart redis from Services -> redis -> select the redis to restart.

            Just to take a step back.. what are the app logs saying? it should say something about why it's crashing . Also, what does crashing mean here? Does the app keep restarting ? Or some apache page? Or the "app is not responding" page ?

            Also, normally, if I disable a plugin it does not appear in the WordPress plugins directory, or it will have ...-disabled" or something after it.

            WP does not rename the plugin directory afaik. It just tracks what is enabled and not in the database. You , as a user, can rename that directory and this results in it getting disabled since WP does not know about this new directory anymore. The "-disabled" thing is just a rename. It could be "-something-wp-does-not-know" and it will still get disabled. This is my understanding of WP (not an expert)

            O Offline
            O Offline
            overholt
            wrote on last edited by overholt
            #5

            @joseph said in Disabling Redis on WordPress crashed site:

            what are the app logs saying?

            Nothing about this error:
            Time Source Details
            12:18 PM george App was re-configured
            12:16 PM george App was re-configured
            12:02 PM george App was re-configured
            11:57 AM george App was re-configured
            11:42 AM george App was started
            11:42 AM george App was stopped
            11:41 AM george App was re-configured
            8:56 AM george App was started
            8:56 AM george App was stopped
            8:55 AM george App was restarted
            8:55 AM george App was re-configured
            8:55 AM george App was re-configured
            8:53 AM george App was restarted
            8:49 AM george App was started
            8:49 AM george App was stopped

            @joseph said in Disabling Redis on WordPress crashed site:

            what does crashing mean here?

            Crash means...
            @overholt said in Disabling Redis on WordPress crashed site:

            My site says "There has been a critical error on this website."

            506dbd99-4c7d-4b92-98f5-f9264e6899bd-image.png

            This means the website won't load on the front or back end. It just stopped working altogether.

            I don't know what else to do from here besides ditch this install and try to start with a fresh one. Any ideas are greatly appreciated.

            O 1 Reply Last reply
            0
            • O overholt

              @joseph said in Disabling Redis on WordPress crashed site:

              what are the app logs saying?

              Nothing about this error:
              Time Source Details
              12:18 PM george App was re-configured
              12:16 PM george App was re-configured
              12:02 PM george App was re-configured
              11:57 AM george App was re-configured
              11:42 AM george App was started
              11:42 AM george App was stopped
              11:41 AM george App was re-configured
              8:56 AM george App was started
              8:56 AM george App was stopped
              8:55 AM george App was restarted
              8:55 AM george App was re-configured
              8:55 AM george App was re-configured
              8:53 AM george App was restarted
              8:49 AM george App was started
              8:49 AM george App was stopped

              @joseph said in Disabling Redis on WordPress crashed site:

              what does crashing mean here?

              Crash means...
              @overholt said in Disabling Redis on WordPress crashed site:

              My site says "There has been a critical error on this website."

              506dbd99-4c7d-4b92-98f5-f9264e6899bd-image.png

              This means the website won't load on the front or back end. It just stopped working altogether.

              I don't know what else to do from here besides ditch this install and try to start with a fresh one. Any ideas are greatly appreciated.

              O Offline
              O Offline
              overholt
              wrote on last edited by
              #6

              @overholt said in Disabling Redis on WordPress crashed site:

              @joseph said in Disabling Redis on WordPress crashed site:

              what are the app logs saying?

              Nothing about this error:
              Time Source Details
              12:18 PM george App was re-configured
              12:16 PM george App was re-configured
              12:02 PM george App was re-configured
              11:57 AM george App was re-configured
              11:42 AM george App was started
              11:42 AM george App was stopped
              11:41 AM george App was re-configured
              8:56 AM george App was started
              8:56 AM george App was stopped
              8:55 AM george App was restarted
              8:55 AM george App was re-configured
              8:55 AM george App was re-configured
              8:53 AM george App was restarted
              8:49 AM george App was started
              8:49 AM george App was stopped

              The last log has these details. Notice it says "".

              {
                "appId": "a986644a-0659-4da5-9b9f-78a5ad223fff",
                "app": {
                  "id": "a986644a-0659-4da5-9b9f-78a5ad223fff",
                  "appStoreId": "org.wordpress.unmanaged.cloudronapp",
                  "installationState": "installed",
                  "runState": "running",
                  "health": "healthy",
                  "containerId": "35bc835409f47b62778e44c6bf7db9641899469aafd5bac3eac66cb3ca67eac2",
                  "memoryLimit": 1073741824,
                  "cpuQuota": 70,
                  "label": null,
                  "notes": null,
                  "taskId": null,
                  "sso": false,
                  "enableBackup": true,
                  "proxyAuth": false,
                  "containerIp": "172.18.18.221",
                  "crontab": null,
                  "creationTime": "2024-09-21T16:28:46.000Z",
                  "updateTime": null,
                  "enableAutomaticUpdate": true,
                  "upstreamUri": "",
                  "enableMailbox": true,
                  "mailboxDisplayName": "",
                  "mailboxName": "wp.app",
                  "mailboxDomain": "******.com",
                  "enableInbox": false,
                  "inboxName": null,
                  "inboxDomain": null,
                  "enableTurn": 1,
                  "enableRedis": 0,
                  "storageVolumeId": null,
                  "storageVolumePrefix": null,
                  "ts": "2024-10-04T16:16:12.000Z",
                  "healthTime": "2024-10-04T16:18:00.000Z",
                  "hasIcon": false,
                  "hasAppStoreIcon": true,
                  "manifest": {
                    "id": "org.wordpress.unmanaged.cloudronapp",
                    "title": "WordPress (Developer)",
                    "author": "WordPress developers",
                    "description": "WordPress (Developer) package gives you complete control over your WordPress installation.\nUnlike the WordPress (Managed) package, core WordPress files are editable. Because the core files\nare editable, you have to keep WordPress updated from the WP Admin dashboard. Some salient features are:\n\n* Supports all migration plugins. Use this package to migrate your existing site into Cloudron.\n* Make changes to WordPress via SFTP or the File Manager.\n* Supports all WordPress security plugins like WordFence.\n* Update WordPress from inside WordPress' admin dashboard.\n\n## About\n\nWordPress is web software you can use to create a beautiful website or blog.\nWe like to say that WordPress is both free and priceless at the same time.\n\nThe core software is built by hundreds of community volunteers, and when\nyou’re ready for more there are thousands of plugins and themes available\nto transform your site into almost anything you can imagine. Over 60 million\npeople have chosen WordPress to power the place on the web they call “home”\n— we’d love you to join the family.\n\n### Apps\n\n* [Android](https://play.google.com/store/apps/details?id=org.wordpress.android&hl=en)\n* [iOS](https://itunes.apple.com/us/app/wordpress/id335703880?mt=8&uo=6&at=&ct=)\n",
                    "tagline": "Transform your site into almost anything",
                    "version": "3.7.2-1",
                    "upstreamVersion": "6.6.2",
                    "healthCheckPath": "/wp-includes/version.php",
                    "httpPort": 80,
                    "manifestVersion": 2,
                    "website": "https://wordpress.org/",
                    "contactEmail": "support@cloudron.io",
                    "configurePath": "/wp-login.php",
                    "icon": "logo.png",
                    "addons": {
                      "mysql": {},
                      "oidc": {
                        "loginRedirectUri": "/wp-admin/admin-ajax.php?action=openid-connect-authorize"
                      },
                      "localstorage": {
                        "ftp": {
                          "uid": 33,
                          "uname": "www-data"
                        }
                      },
                      "sendmail": {
                        "optional": true,
                        "supportsDisplayName": true
                      },
                      "scheduler": {
                        "wpcron": {
                          "schedule": "*/1 * * * *",
                          "command": "/app/pkg/cron.sh"
                        }
                      },
                      "redis": {
                        "optional": true
                      }
                    },
                    "tags": [
                      "hosting",
                      "blog",
                      "cms",
                      "weblog",
                      "ghost",
                      "website",
                      "wix",
                      "squarespace"
                    ],
                    "optionalSso": true,
                    "mediaLinks": [
                      "https://screenshots.cloudron.io/org.wordpress.unmanaged.cloudronapp/1.png",
                      "https://screenshots.cloudron.io/org.wordpress.unmanaged.cloudronapp/2.png",
                      "https://screenshots.cloudron.io/org.wordpress.unmanaged.cloudronapp/3.jpg"
                    ],
                    "changelog": "* Fix session expiry when using OIDC login\n",
                    "postInstallMessage": "This app is pre-setup with an admin account. The initial credentials are:\n\n**Username**: admin<br/>\n**Password**: changeme<br/>\n\nPlease change the password immediately.\n\n<sso>\nCloudron users get the `editor` role by default. You can give the user\n`admin` role inside WordPress' admin dashboard.\n</sso>\n",
                    "multiDomain": true,
                    "minBoxVersion": "7.4.3",
                    "forumUrl": "https://forum.cloudron.io/category/77/wordpress-developer",
                    "documentationUrl": "https://docs.cloudron.io/apps/wordpress-developer",
                    "dockerImage": "cloudron/org.wordpress.unmanaged.cloudronapp:20240913-071948-949f0e125"
                  },
                  "tags": [],
                  "checklist": {},
                  "reverseProxyConfig": {},
                  "portBindings": {},
                  "accessRestriction": null,
                  "operators": null,
                  "debugMode": null,
                  "servicesConfig": {},
                  "secondaryDomains": [],
                  "redirectDomains": [],
                  "aliasDomains": [],
                  "subdomain": "wp",
                  "domain": "******.com",
                  "certificate": null,
                  "env": {},
                  "mounts": [],
                  "error": null,
                  "iconUrl": "/api/v1/apps/a986644a-0659-4da5-9b9f-78a5ad223fff/icon",
                  "fqdn": "wp.******.com"
                },
                "enableRedis": true,
                "taskId": "2508"
              }
              

              @joseph said in Disabling Redis on WordPress crashed site:

              what does crashing mean here?

              Crash means...
              @overholt said in Disabling Redis on WordPress crashed site:

              My site says "There has been a critical error on this website."

              506dbd99-4c7d-4b92-98f5-f9264e6899bd-image.png

              This means the website won't load on the front or back end. It just stopped working altogether.

              I don't know what else to do from here besides ditch this install and try to start with a fresh one. Any ideas are greatly appreciated.

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

                @overholt the logs at https://docs.cloudron.io/apps/#log-viewer and not the Event Log .. (i know confusing..)

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  overholt
                  wrote on last edited by
                  #8

                  I managed to log into the back end of WP and started enabling and disabling different plugins. I discovered there was a conflict with one of them related to Toolset and WooCommerce. It's working again now.

                  1 Reply Last reply
                  1
                  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