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


WordPress (Managed)

93 Topics 718 Posts
  • WordPress Managed - Package updates

    Pinned
    59
    1 Votes
    59 Posts
    2k Views

    [3.4.2]

    Update WordPress to 6.4.2 Announcement
  • Favicon

    Solved
    5
    1 Votes
    5 Posts
    62 Views

    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
    53 Views

    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
    45 Views

    I will remove that line altogether. This closed issue list was maintained 5-6 years ago but it's not anymore.

  • Can I install an old WP instance

    Solved
    3
    0 Votes
    3 Posts
    61 Views

    Awesome, thanks!

  • 3 Votes
    2 Posts
    75 Views

    Plugin version 2.5.7 fixes it

  • 0 Votes
    10 Posts
    115 Views

    @Jeyakumarrathnaselvi So, WP itself is running OK but you face this issues when uploading a plugin/theme ?

    It would help a lot if you can give us complete information in a single shot and explain the problem in detail with reproduction steps. Otherwise, we all have to guess.

  • Switch from Wordpress Developer -> managed

    Moved
    2
    0 Votes
    2 Posts
    63 Views

    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
    89 Views

    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
    216 Views

    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
    77 Views

    Updated now.

  • 0 Votes
    9 Posts
    121 Views

    @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
    161 Views

    @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
    120 Views

    @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
    794 Views

    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.

  • 0 Votes
    14 Posts
    172 Views

    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
    86 Views

    @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?

  • 1 Votes
    5 Posts
    62 Views

    @jdaviescoates yup that was definitely the problem. I don't disagree with you, but then again I don't know the reasoning behind having two different ones.

    Thanks for the tip!

  • Wordpress Fatal Error.. help?

    Moved
    3
    0 Votes
    3 Posts
    63 Views

    Seems to work fine for me. As in, I installed and activated it:

    c74a641d-c11f-4d7d-b5a7-563ede5835c7-image.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
    81 Views

    @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