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)

104 Topics 812 Posts
  • Switch from Wordpress Developer -> managed

    Moved
    2
    0 Votes
    2 Posts
    275 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

    11
    0 Votes
    11 Posts
    952 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

    8
    0 Votes
    8 Posts
    747 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
    260 Views
    nebulonN
    Updated now.
  • Shutdown Wordpress instance and redirect all traffic to other website

    Solved
    9
    0 Votes
    9 Posts
    311 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
    776 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
    578 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
    2k 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
    1k 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
    453 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
    382 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.
  • WordPress Site Configuration

    Moved
    3
    0 Votes
    3 Posts
    389 Views
    mpeterson0418M
    @jaschaezra Thanks for the prompt feedback. Gave this documentation a read over = https://wordpress.org/documentation/article/create-pages/#changing-the-url-of-a-page Everything has been corrected as far as URLs go..... thanks for your help
  • Domain setup question (redirection)

    Solved
    3
    0 Votes
    3 Posts
    301 Views
    R
    I figured it out. The problem was an extremely slow DNS update. It works now by adding a redirect
  • Website breaks after update to v3.0

    7
    0 Votes
    7 Posts
    726 Views
    P
    @stormgrass You have to go to wp-config.php and enable DEBUG mode to understand if plugin or theme is blocking. Insinde wp-confing.php you will find: define( 'WP_DEBUG', false ); define( 'WP_DEBUG_LOG', false ); define( 'WP_DEBUG_DISPLAY', false ); change to define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', false ); define( 'WP_DEBUG_DISPLAY', true ); And you will see on the screen what is blocking your Wordpress instance.
  • Enable mod_ext_filter

    2
    0 Votes
    2 Posts
    464 Views
    nebulonN
    I've enabled it for the next package release then.
  • Restart stalled : error the wp-config file already exists

    Solved
    5
    +0
    0 Votes
    5 Posts
    617 Views
    benborgesB
    @robi htaccess
  • Wordpress 6.0.1 released

    3
    1 Votes
    3 Posts
    385 Views
    M
    Thank you @girish!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Wordpress migration keeps adding 'wp_' prefix to table names

    Moved
    2
    1 Votes
    2 Posts
    245 Views
    girishG
    @kaxline A couple of months ago, we pushed a package update that migrated tables to have the wp_ prefix (only when they had no prefix). This was required because WP does not support installations without a table prefix. It looks like something wrong with that migration in your installation. Do you have a backup from package v2.21.3 ? If so, if you can revert to that and contact me on support@cloudron.io, I can take a look why the migration is failing.
  • wp-config-sample.php not found

    Moved
    7
    0 Votes
    7 Posts
    956 Views
    A
    @girish nothing plugins and it is happen when it update I don't install any plugin because I want keep it simple and use cloudron security. Since your security level was very good and secured. But some werid. However so far working fine on my side now.