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 (Managed)

113 Topics 865 Posts
  • Notifications that "WordPress 6.4.2 is available. Please update!"

    4
    1 Votes
    4 Posts
    1k Views
    M
    Thanks for the reply. I do have automatic updates enable, and in the app it says "Automatic Updates is currently enabled." But for some reason the automatic updates haven't been applied since packaged version 3.3.0 on 08/09/2023 for multiple of my sites. I am able to manually click update in the Updates section of the app, so I am good for now, thanks.
  • 1 Votes
    6 Posts
    2k Views
    T
    I'm sorry for awakening an old thread, but as this subject came up first in my Google search, I thought it would be wise to share a proper solution regarding the unfiltered_html setting in Cloudron's WordPress managed app. In the WordPress managed app, the unfiltered_html capability is configured in the wp-config.php file : define('DISALLOW_UNFILTERED_HTML', true); to revert this you can just change this line to the following one: define('DISALLOW_UNFILTERED_HTML', false); The reason WordPress managed on Cloudron could be a better choice for some use cases, particularly from a security standpoint, is noteworthy. In the managed version, most of the WordPress files are on an immutable partition, meaning they cannot be altered. This greatly lowers the risk of security issues caused by unauthorized changes to the files. Also, as the WordPress core files are part of the WordPress cloudron app's, they are not included in the Cloudron's backups, making the backups lighter and quicker since only plugins data and customizations are backed up, not the entire WordPress core.
  • Wordpress path **/app/data/** not found

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    girishG
    @opensourced thanks for confirming! We are rolling out that package slowly.
  • WPML not working in managed?

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    girishG
    @dsp76 I think this was a bug in the package not setting WP_CONTENT_DIR maybe. I have pushed a new package which sets this, can you check if that helps? I could not test WPML personally since it seems this is some paid plugin (unless there is a test version somewhere for me to test)
  • Can I install an old WP instance

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    girishG
    @dsp76 the migration is no different from any other app. For WP, I didn't find any plugins that specifically migrate only the database and the plugins alone. The managed WP app does not allow changing the WP code itself. This is the reason the guides focus on WordPress Developer - most of the migration plugins just tarball the entire WP source. Generally, https://docs.cloudron.io/guides/migrate-wordpress/#migration-without-a-plugin should work though (as long as you have no changes to WP code).
  • Favicon

    Solved
    5
    1 Votes
    5 Posts
    2k Views
    N
    Thank you! The Site Logo block did the trick. Thanks, @girish! Wordpress has gotten so complex!
  • Error 500 on admin-ajax.php

    3
    1 Votes
    3 Posts
    2k Views
    A
    nothing but depreciated errors. weird thing is, I've rebuilt the site using a backup from all-in-one wp migration tool to www.website.com and redirected website.com to it. site is still standing. Attacks happening to root domain?
  • Docs need update

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    girishG
    I will remove that line altogether. This closed issue list was maintained 5-6 years ago but it's not anymore.
  • Important: Do not update authLdap plugin to 2.5.4

    2
    3 Votes
    2 Posts
    776 Views
    girishG
    Plugin version 2.5.7 fixes it
  • Switch from Wordpress Developer -> managed

    Moved
    2
    0 Votes
    2 Posts
    766 Views
    girishG
    No, you have to migrate using some technique like https://docs.cloudron.io/guides/migrate-wordpress/ Note that depending on your Developer setup, you may not be able to migrate at all. Especially, if you had edited core files or used plugins that edit files and change code etc .
  • Unexpected CiviCRM behavior after clone

    civicrm clone
    11
    0 Votes
    11 Posts
    4k Views
    girishG
    There's two DSN: CIVICRM_UF_DSN and right below the above screenshot CIVICRM_DSN . Both have to be updated after a clone.
  • important security question

    security
    8
    0 Votes
    8 Posts
    2k Views
    adisonA
    aw, thanks. i will attempt to use wordpress managed, as long as the export thing will work.
  • WordPress RRR 6.2.2!

    Solved
    2
    2 Votes
    2 Posts
    756 Views
    nebulonN
    Updated now.
  • Shutdown Wordpress instance and redirect all traffic to other website

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    girishG
    @p44 You can do this in a few ways, depending on your use case: With surfer, you can use create a 404.html . In javascript, use something like https://stackoverflow.com/questions/20077103/page-redirect-with-path-using-javascript . Here's an ultra basic 404.html: <html> <script> window.location = "https://cloudron.io"; </script> <body> Not found </body> </html> Another idea is to use the LAMP app and configure apache to redirect using redirect rules. When to use which? Off my head: Use surfer, if you want to show a page which has the classic "redirecting in 3..2..1". Use lamp, if you want to redirect asap. This also does redirect at http level. So, a brower can potentially cache/remember this information and will be faster for future access (but with the danger that it will not hit your site anymore).
  • Wordfence Wordress Plugin not working with Cloudron

    Moved Solved
    7
    1 Votes
    7 Posts
    2k Views
    U
    @msbt The developer version of the WordPress app fixed the issue I was facing. Thank you
  • Wordpress Base directory

    Moved
    5
    1 Votes
    5 Posts
    2k Views
    girishG
    @Thedurancode What is the exact error? Do you have a screenshot ? Also, as @JLX89 said, there are two WordPress packages: Managed - https://www.cloudron.io/store/org.wordpress.cloudronapp.html Developer - https://www.cloudron.io/store/org.wordpress.unmanaged.cloudronapp.html If you want to use a lot of plugins/customization, use the Developer edition. This gives you a lot more control of your installation.
  • Lost access to Wordpress

    16
    0 Votes
    16 Posts
    6k Views
    T
    On my Cloudron-powered WordPress website I have made a solution. Simply open your Cloudron UI and access the Terminal. dbname=`head -20 wp-config.php | grep 'NAME' | cut -d\' -f4` dbuser=`head -20 wp-config.php | grep 'USER' | cut -d\' -f4` dbpass=`head -20 wp-config.php | grep 'PASS' | cut -d\' -f4` dbhost=`head -20 wp-config.php|grep 'HOST'|cut -d\' -f4|cut -d: -f1` mysql -h $dbhost -u $dbuser -p$dbpass -D $dbname -e "insert into wp_users (user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name) values ('emergency','','emergency','emergency@localhost','','2023-01-10 01:23','',0,'Emergency');set @emerid = (SELECT ID FROM wp_users WHERE user_email = 'emergency@localhost');insert into wp_usermeta (user_id, meta_key, meta_value) values (@emerid, 'wp_capabilities', 'a:1:{s:13:\"administrator\";b:1;} ');UPDATE wp_users SET user_pass=\"582f40dea63ec71c7f12d8adbe3230b4\" WHERE ID = @emerid;" This should inject a user: emergency With password: techspanHelpsy0u# Obviously change the username/password to your own liking prior to pasting in the commands. The password is in MD5 hash format, so just use an "md5 generator" and then where you see 582f40dea63ec71c7f12d8adbe3230b4...... put your own password MD5 hash, hint: Google MD5 hash generator and then type your_wanted_password, generate the hash, and replace! If you have any issues, or find this works - either way please let me know so I can help improve this copy paste solution Side-note one could set a variable of a preferred password by the user, then use md5sum to generate said md5 hash to pass through to the SQL. However, all that said - the wp cli solution does all this for you. wp user create wild wild@localhost.0000000 --role=administrator This would generate a user wild with a randomly generated password which would display on the terminal output.
  • Civicrm (Wordpress) can't connect to database after Cloudron reboot

    14
    0 Votes
    14 Posts
    5k Views
    jeauJ
    I recovered the backup and restarted the cloned app that I had deleted before the reboot. So the problem was not the reboot but the deletion. It works. The database is accessible even if the application is stopped. This is quite confusing for me. Maybe a warning should be added in the doc https://docs.cloudron.io/backups/#clone-app The problem makes a lot of sense and I made a mistake, but I think other people can do the same. I will take some time to fix it. Thanks for all
  • 0 Votes
    4 Posts
    1k Views
    girishG
    @Supaiku cron tasks are already run every minute - https://docs.cloudron.io/apps/wordpress-developer/#cron-tasks . Can you give more information on what the issue is? What command did you run? What error did you see?
  • Wordpress Fatal Error.. help?

    Moved
    3
    0 Votes
    3 Posts
    1k Views
    girishG
    Seems to work fine for me. As in, I installed and activated it: [image: 1676368374354-c74a641d-c11f-4d7d-b5a7-563ede5835c7-image-resized.png] Can you tell us how to reproduce or maybe try a fresh installation ? The errors seems to indicate that it's trying to insert duplicate entries in the database. I doubt this is a Cloudron specific issue.