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)

199 Topics 1.6k Posts
  • SFTP access for non Cloudron users?

    4
    0 Votes
    4 Posts
    437 Views
    girishG

    @jdaviescoates You can just create app password as your own account, no need to create a new user. The idea of app password is that the password only works for that one app. It won't work on the dashboard or any other app. The usual use case is for mobile apps or 3rd party client apps, which you don't want to trust with your primary cloudron password.

    It also has an advantage that you can revoke/delete the password anytime.

  • Wordpress Database Access

    6
    0 Votes
    6 Posts
    1k Views
    LonkleL

    Adding my two cents in here for anyone who comes along. You can also access the DB using desktop software like Sequel Ace and it's incredibly efficient to me.

  • Migrate Wordpress

    3
    0 Votes
    3 Posts
    465 Views
    P

    @rahim I think best solution is to do this process via command line. Is clean, safe and you can upload any DB size.

    Of course, each installation have specific way to follow, depends on specific case.

    Eg. if origin domain is the same or different to destination domain.

    Also, If both, source and destination, are live. In this case, you've to approach the DNS A field to validate domain on Cloudron.

    This below is my procedure, assuming that source and destination have the same domain name and that domain is live.

    From the source server you need to export:

    mysql.dump wp-content folder

    Then you've to create a new instance on Cloudron called "swap". Eg. swap.mydomain.com.

    You upload mysql dump to /tmp/ via terminal, and then you import sql DB using command line (you can find info here).

    Then you have to upload "wp-content" folder. You can do via FTP or also via Cloudron File Manager. You can upload zip archive and then unzip inside main wp folder.

    When you have swap.mydomain.com working, you can use the function app "Backups", using "Clone" on the main domain.

    Just before cloning, you have to change A fields in DNS panel, so Cloudron can validate new domain. (You can skip this step if your domain is configured with DNS provider (Eg. Cloudflare or others listed).

    Let me know if is all clear and if I can help you.

  • Warning: Don't update AuthLDAP plugin to 2.4.3 from 2.4.2, breaks LDAP login.

    Solved
    5
    2 Votes
    5 Posts
    215 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
    0 Votes
    3 Posts
    284 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
    2k 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
    265 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
    2k 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
    0 Votes
    7 Posts
    724 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
    0 Votes
    4 Posts
    221 Views
    robiR

    The amazing self solving topic 😉

  • Working app shows "not responding" in dashboard

    Moved Solved
    9
    0 Votes
    9 Posts
    862 Views
    girishG

    Right, for the moment it accepts everything till 403

  • Proposal: more for wp-config

    7
    0 Votes
    7 Posts
    611 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

    10
    0 Votes
    10 Posts
    2k 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
    1k 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

    7
    1 Votes
    7 Posts
    910 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
    3k 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 Unsolved
    18
    0 Votes
    18 Posts
    2k 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
    286 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
    567 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
    672 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! ☺️