Is it possible to convert Wordpress Managed site to Unmanaged?
-
-
@affinity said in Is it possible to convert Wordpress Managed site to Unmanaged?:
Also, doesn't wordpress unmanaged app handle the domain setup for you?
That step was specific to using the LAMP app, if using unmanaged wordpress app, just change the domain name in cloudron.
As for the plugin, you will need to find one that suits YOU specifically, I've always used https://wordpress.org/plugins/all-in-one-wp-migration/ for simpler sites though.
-
@nebulon @murgero It worked! But only with a little mod... Here's what I Did for future users.
- Site under 500 Mb? Skip to step 2, If not keep reading...
Before I proceeded to follow through with @d19dotca Instructions to migrate the site I had to work around the plugins 512mb import limitation of all in one wp plugin.
Unnecessary Rant: Now, If I knew that the developer purposefully locked the user out from importing backups over 512 mb I wouldn’t have choose to back up countless hours of work of my site using this method… In fact, I was relying on cloudron for my primary my backups and this plug as secondary a "just in case" type scenario! But because there is no way to transfer the back up from cloudron, I have no choice but to either fork the premium, resort to another tedious complicated process or resort to this method. DISCLAIMER: I will GLADLY pay a premium for extra options but THIS felt more like extortion. Moraly, you can be the judge, but this is what i did Anyway.
I proceeded to downloading an old version of the plugin (version 6.68) and modified line 254 of the constants.php to : define( 'AI1WM_MAX_FILE_SIZE', 536870912 * 20 ); This gave me 10gb upload limit.
-
Create a second admin level account from wordpress, if you don't have one already (you can delete later after transfer — Important note! If you dont do this you can be locked out by previous AuthLDAP settings)
-
Use the All-In-One WP Migration plugin to export the site, being sure to check the boxes in advanced section that say "Do not export must-use plugins"
-
Setup the new Unmanaged WordPress app in your Cloudron install (my.yourdomain.com) to a temporary domain, eg transfer.yourdomain.com.
-
Configure Import by logging on with Default credentials, (click info on app to show default login creds) and add in the same All-In-One WP Migration plugin you used. Now import the site file that was created in step 3 above.
-
Reconfigure AuthLDAP: After it's done importing, login with the second admin account you just created in step 2 and activate AuthLDAP. Then copy and paste all the settings from your managed install AuthLDAP Settings feilds To the new apps settings feilds — (This will reactivate your old admin amount)
-
Reconfigure WP-SMPT: Copy and paste all the settings from your managed install WP-SMPT Plugin - Settings feilds To the new apps settings fields.
You can now delete your managed app and replace to original Domain easily from the cloudron dashboard. Enjoy SFTP, No Write limit to the main directory and unshackled wordpress creation!
Extra, Reasons why @d19dotca didnt work as planned.
Because I followed step by step, I enabled advance export options and checked the "Do not export must-use plugins". Because of this I could not login because my main admin user needed Authdap which was not installed by default in the unmanaged distro, like the managed one. Luckily I had a secondary Admin account where I was able to login and Install AuthLDAP manualy to login with my original primary admin account.
Also because the unmanaged app doesnt include WP Main SMPT by default, I had to manually reconfigure that plugin which was included but not activated or setup. I achieved this by installing the plugin and copied the settings credentials from my first site ("yourdomain.com"/wp-admin/options-general.php?page=wp_mail_smtp.php) to the new sites plugin settings fields and it worked as I expected.
Other than that, I then restored the original domain from the old app in cloudron and also just had to make a few mods to .htaccess to get my max php time and upload limits to where I originally had them.
All in all, I transferred my site (721mb) from Managed to Unmanaged with this method.
Cheers.
-
@affinity said in Is it possible to convert Wordpress Managed site to Unmanaged?:
I proceeded to downloading an old version of the plugin (version 6.68) and modified line 254 of the constants.php to : define( 'AI1WM_MAX_FILE_SIZE', 536870912 * 20 ); This gave me 10gb upload limit.
Be careful when doing something like this.
- Just because it is PHP does NOT mean it is open source.
- You might be violating a license agreement making that change.
Otherwise, good job getting this working! Can you mark this thread as resolved now?
-
@affinity - I'm not sure I fully understand, because you stated that you followed my instructions but then "ran into a few issues" but what you stated was what I had already mentioned... that you need to select the "Do not export must-use plugins" option and restart the target WordPress instance afterwards because as my steps indicated "I find access is lost to the main LDAP admin user until a restart". So I wonder if maybe some steps were missed? Because it seems your words for future users was the same as what my instructions already had included. No? With my steps, you would not need to reconfigure any LDAP or SMTP plugins that are included in the managed WordPress app.
-
@d19dotca I cleaned up the post to make it much easier for future users to read!
No, To clarify, Step 3 in your instructions was not missed. The reason I lost my access to my LDAP user after the transfer was simply because the "Unmanaged Wordpress" App has LDAP included but not activated by default, therefore rendering my primary admin user account useless at login window after migration. (no matter how many times I restarted the app, it didn't fix the issue, this issue only happens migrating from managed to unmanaged version) If any users are importing a site into the destination of a "Managed Wordpress" App distribution, then none of this is relevant and Your instructions are 100% accurate and are all that's needed.
To clarify, In order to transfer your site from the managed app to an unmanaged app in Cloudron without getting locked out using this method make sure you prep one of the following options ...
-
Create a second admin account in wordpress before migration and use that upon signing into the new app. (which I did & recommend way easier)
-
Leave "Do not export Must-Use Plugins" uncheaked upon exporting backup file during migration. (Warning: This will transfer in Wp-Mail-SMPT, AuthLDAP, Disable Wordpress Core Updates, as Must Use plugins and mean you cant re-enable updates from admin without SFTP edits — Not recommended! )
-
If you already transfered and are locked out still and don't want to do it again, Activate the LDAP plugin from terminal -> mysql command | view this post for instructions.
-