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


Skip to content

WordPress (Developer)

216 Topics 1.7k Posts
  • Warning: Don't update AuthLDAP plugin to 2.4.3 from 2.4.2, breaks LDAP login.

    Solved
    5
    2 Votes
    5 Posts
    395 Views
    girishG
    There's more deep rooted issues - https://github.com/heiglandreas/authLdap/issues/194 . The package itself is wrong and unfortunately wp admin suggests it as an update. Breaking a lot of things.
  • Trying to update app, but Docker Error - removeVolume? (6.0.1)

    3
    1
    0 Votes
    3 Posts
    495 Views
    LonkleL
    @girish Nope, tried to debug it. Tried to even repair it. In the end a reboot fixed the problem, but that was pretty weird.
  • disallow unfiltered html in wp-config.php

    Solved
    11
    3 Votes
    11 Posts
    4k Views
    jdaviescoatesJ
    @jodumont I think just having any recommended snippets in the docs would suffice for most, no? Then just copy/paste any you want to use using the File Manager (after making a backup in case it breaks something).
  • Quick Question About Unmanaged Wordpress

    Moved
    2
    0 Votes
    2 Posts
    642 Views
    girishG
    @dreamcatch22 You might have to restart the app after making php.ini changes. Apart from that, you can install something like https://wordpress.org/plugins/php-info-wp/ which should give you phpinfo output to verify is the extensions are enabled.
  • iframe disappearing from page when saved

    Solved
    18
    0 Votes
    18 Posts
    5k Views
    nebulonN
    Hm surfer will send cache-control: public, max-age=0 so I am not sure why it would cache as such, the etag also should have changed if the source content was updated.
  • Unmanaged Wordpress PHP setting

    Moved
    7
    1
    0 Votes
    7 Posts
    2k Views
    D
    @moocloud_matt Thanks for the heads up. The project is still early enough where I can make the switch.
  • Cloudron LDAP users cannot login

    Solved
    4
    1
    0 Votes
    4 Posts
    427 Views
    robiR
    The amazing self solving topic
  • Working app shows "not responding" in dashboard

    Moved Solved
    9
    0 Votes
    9 Posts
    2k Views
    girishG
    Right, for the moment it accepts everything till 403
  • Proposal: more for wp-config

    7
    0 Votes
    7 Posts
    2k Views
    LonkleL
    I agree with both of @girish's assessments of the file for the time being. But that doesn't mean that when Cloudron does support multi-site in the future, we can't assess multisite constants. So thanks for bringing it up! It lead me to that really interesting and eye-opening wp-config.php on Github.
  • Wordpress JWT Authetication Plugin

    rewrite htaccess jwt
    10
    0 Votes
    10 Posts
    4k Views
    girishG
    @ketchalegend I see. With the above htaccess, I got curl -X POST -H "Authorization: Bearer 1234567890" https://wp.domain.com/wp-json/jwt-auth/token {"success":false,"statusCode":403,"code":"jwt_auth_invalid_token","message":"Wrong number of segments","data":[]} So looks like the route is working.
  • 0 Votes
    13 Posts
    3k Views
    girishG
    Follow up from the customer: "The issue here turned out to be that in Wordpress, WP Rocket caching plugin was used. This plugin automatically starts to preload the cache of each page once something in the site has been updated. The preload itself causes some stress on the CPU and maybe some other processes. Turning off the plugin, the products were sent for less than 2 mins." They are working with the WP Rocket team to find a workaround.
  • WordPress Developer vs LAMP PHP 7.4

    wordpress benchmark
    7
    2
    1 Votes
    7 Posts
    2k Views
    JOduMonTJ
    @Lonk said in WordPress Developer vs LAMP PHP 7.4: could test it in the same conditions yes, I got that after, I just simply did'nt actived it inside WordPress but at the end it is doing what the WordPress_Dev container doing manually.
  • Latest package with LDAP add-on

    48
    0 Votes
    48 Posts
    7k Views
    LonkleL
    @d19dotca Wordpress is my favorite and Cloudron is my new development passion so I’m happy to troubleshoot WP stuff to find edge cases that Cloudron may need to account for. I am very for making WP the best it can be on Cloudron. ️ I’m happy I’ve been able to help troubleshoot with you!
  • Wordpress (unmanaged) CRON interrupts product loading

    Moved cron
    18
    1
    0 Votes
    18 Posts
    4k Views
    LonkleL
    @imc67 said in Wordpress (unmanaged) CRON interrupts product loading: If you set it to 5 then WP site check is complaining that there are missed events. Because either WP or plugins can create 1 minute tasks. Yes, cron scheduled Wordpress can be scheduled down to the minute. But they're expected to be missed. The default WP-Cron interval is "whenever the next person visits the site, run all the scheduled events that are in the past and haven't been run" (the one that Cloudron rightfully uses the WP-CLI and disables the native WP-Cron). That's pretty horrible, but that's what Wordpress installs expect the environment to be at default. So, the WP Site Check says that's notable, that wp-crons don't get run at the minute they're specified? If the WP Health Status Page actually says that, then Wordpress devs clearly think 1 minute (or a hugely popular site) is the best interval.
  • WordPress Address (URL) and Site Address (URL) are exposed for editing in GUI

    Solved
    3
    0 Votes
    3 Posts
    794 Views
    LonkleL
    Yeah, making them read only makes the most sense. It's not like URLs change that often but you certainly wouldn't want to change it in WP or Cloudron would freak.
  • Is it possible to configure the Apache Logs in Wordpress (Developer)?

    7
    0 Votes
    7 Posts
    2k Views
    LonkleL
    @girish said in Is it possible to configure the Apache Logs in Wordpress (Developer)?: Currently, you cannot change this, no. You have to use the LAMP app if you want to change the apache configs. In the LAMP app, there is an app.conf which gives you control over logging. You'd expressed interest in more fine-control over logging in another thread. If that's still true, I'll deal with the Apache over-Logging for now looking forward to a time where we figure out a solution for a way to best configure logs for the end-user. Going to LAMP would just feel like I'd be contributing less and less to the Wordpress (Developer) and (Managed) codebase(s) and that's my real goal. To make Wordpress (Developer) the best it can be in Cloudron. So maybe, one day, those access logs will be configurable.
  • Can I send the Wordpress Debug Log to the Cloudron Logs

    8
    0 Votes
    8 Posts
    2k Views
    LonkleL
    @girish said in Can I send the Wordpress Debug Log to the Cloudron Logs: I agree we should visit this at some point for better logging This fixes the Wordpress "custom log path issue". But I do think we should revisit in the future about other apps and how we might be able to symlink the logs together. Anyway, you got me 75% there on this one, so thank you for that! ️
  • Where the COOKIEHASH comes from ?

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    LonkleL
    @girish That makes sense why it wasn’t in mine. I’m planning to reinstall anyway for LDAP support so I’ll let your install script add the custom COOKIEHASH for me. ️
  • Debug logs

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    LonkleL
    I'm gonna look into this to get a definitive answer on if WP-DEBUG errors get piped to Cloudron's logs (which would be super useful). I'll post back guys (and if it doesn't, I'll see if I can make it do so and share the code).
  • Cron in developer edition

    3
    1 Votes
    3 Posts
    865 Views
    LonkleL
    Can confirm while converting the CRON Job to support multisite, it's still 1 minute and has been since I've been working on it.