Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 1288 posts 3921 karma points c-trib
    Jan 20, 2010 @ 13:12
    Dan
    0

    Moving content safely to a fresh installation

    Hi,

    I have a large(ish) umbraco installation which contains over 6000 nodes of content, media, macros etc.  It has custom data types, templates, document types and several package installations, including Contour and blog4Umbraco.  The site is being developed for a large client who is keen to go live in the next 2 weeks.

    However, sometime around the time I had licensing issues with Contour and had to upgrade, all of the TinyMCE pop-up windows stopped rendering any content (apart from the Contour one).  I've had no success in trying to fix this so am now faced with trying to create a fresh installation of Umbraco and port all of the content over to it, in the hope that it rectifies the problem.

    Can anyone tell me if it's feasible to do this?  If so, what is the best procedure?

    I'm really hoping someone can suggest a way out of this.  It's my first Umbraco project to go live, and it's been a complete joy up until this problem appearing and being seemingly impossible to fix.

    Thanks

  • Seth Niemuth 275 posts 397 karma points
    Jan 20, 2010 @ 14:42
    Seth Niemuth
    0

    As for Contour, is the tinyMCE fixed if you uninstall it?

    You could just package up everything and move it to the other site (Content, styles, document types, templates, macros) but you will need to reinstall the packages you have installed. It can be done but will definitely take extra time.

    Next time you do want to move a site: 

    What I do whenever I want to move an umbraco site is to move the database ('Backup' database on old server, 'Restore' on new server and give a db user the read/write/owner permissions) and then move your umbraco installation ( zip up the folder where your umbraco installation is held on the old server, move that to the new server, and unzip it). You will need to update your web.config database connection string with the new db information such as server, name (if you gave it a new name when you restored it) and the db username and password. You will need to setup the IIS website on the new server as it was on the old (full trust, etc.) and also will need to check the folder permissions to make sure they are correct.

    If you do this, the umbraco installations will be identical.

  • Dan 1288 posts 3921 karma points c-trib
    Jan 20, 2010 @ 17:02
    Dan
    0

    Thanks for the response sniemuth.  If I uninstall contour it will remove all of the forms we've built, is that right?  I guess it's an option, but I'd need to schedule time to re-build all the forms and processes.  Thanks for the suggestion - I may just do that.

    Regarding copying over, I can see how that would be the process to do this, but I'd be copying over whatever the bug is that is creating the problem in the first place I think.  I need to essentially apply the old data to a new installation.

    Just a thought, out of desperation now...  Can I 'upgrade' Umbraco to the same (latest) version?  I'm wondering if this might be the solution?  It would essentially reload all of the system files but keep the current settings and data intact I'd hope?

    Can anyone see a reason for not doing this?

  • Seth Niemuth 275 posts 397 karma points
    Jan 20, 2010 @ 18:09
    Seth Niemuth
    0

    Yeah, I am guessing that your forms would be removed. I didn't realize you weren't on 4.0.3. Yeah, I would upgrade your version of umbraco first before trying to remove contour. Just back up everything as you have it now (as is normal with any upgrade) and try upgrading to see it fixes everything.

  • Dan 1288 posts 3921 karma points c-trib
    Jan 20, 2010 @ 18:23
    Dan
    0

    As far as I know I am on the latest version.  How do I tell by the way (can't see anything in web.config)?

    If my thoughts are confirmed and the version I'm working on is 4.0.3, is it possible to 'upgrade' to the same version?

  • Seth Niemuth 275 posts 397 karma points
    Jan 20, 2010 @ 18:44
    Seth Niemuth
    0

    If you are on version 4.0.3 your umbracoConfigurationStatus will be this in your web.config file:

    <add key="umbracoConfigurationStatus" value="4.0.3" />

    Also, hitting your 'About' button (at the top) in your umbraco backend will tell you.

    Yeah, I guess you could try to unzip the installation back over to try and fix your tinyMCE but then I am guessing you would have to reinstall contour because it will have changed something in tinymce if it broke it. Definitely backup your umbraco folder and database before doing it though.

     

  • Dan 1288 posts 3921 karma points c-trib
    Jan 21, 2010 @ 12:52
    Dan
    0

    I've upgraded from 4.0.2.1 to 4.0.3.  The upgrade a was stange and more than a little concerning as it just seemed to run the installation procedure (I was expecting from the documentation that it would be a slightly different process which was more clearly 'an upgrade' rather than a standard installation).  Anyhow, it completed with no problem and the site is visible (yet to check things like contour forms etc) but I can no longer log in through the admin screen.  The users I created previously are all still in the database and their passwords hashed, so I've tried adding:

    passwordFormat="Hashed" 

    into web.config, but still I just get the shakey red input boxes when I try to log in as any user.

    I know it's a long shot, but can anyone help?

  • Dan 1288 posts 3921 karma points c-trib
    Jan 21, 2010 @ 12:55
    Dan
    0

    Actually, it must be the cacheing of the web.config file as I used the hashed password and got in fine.

    However, even after upgrading my problem with the TinyMCE pop-ups not showing anything is STILL here!!!!  Nooooooo!!!!!!

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jan 21, 2010 @ 12:56
    Aaron Powell
    0

    Try changing the password format to plain and use the encrypted value from the DB and try and log in.

    If it keeps failing check the umbracoLog table, there may be some info in there.

    As for moving data, Courier is probably your only option, UmbImport may do it (but I'd suggest getting the Pro version of that).

  • Dan 1288 posts 3921 karma points c-trib
    Jan 21, 2010 @ 13:08
    Dan
    0

    Thanks Slace, it was indeed a cacheing issue - I can now log in using the hashed password setting.

    WRT fixing the HTML view bug though, Courier is looking like my only option.  800 Euros to resolve (what I can only see is) a bug - yikes!? :(

Please Sign in or register to post replies

Write your reply to:

Draft