Scripts folder browser Options
tobey
Posted: Wednesday, October 15, 2008 2:25:59 PM
Rank: Enthusiast

Joined: 9/29/2006
Posts: 17
Location: Zurich
Since I updated to umbraco 3.0.6 it lists too much in "scripts" node.

Print screen

How can I solve this problem?

We do not learn by doing, but by thinking about what we are doing.
Dirk
Posted: Wednesday, October 15, 2008 2:38:02 PM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,123
Location: Belgium
Hi tobey,

Didn't accidentally copied the new version into the 'scripts' folder. I'm not sure, but it could be that the 'scripts' folder always iterates folders/files in its directory when building the node, rather than getting its content from the db?

Looking forward to your answer!

Regards,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
drobar
Posted: Wednesday, October 15, 2008 4:15:06 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Looks like someone accidentally copied all the folders from the website root into the /scripts folder. Time to go cleaning (or grab a backup if you have one).

cheers,
doug.

MVP 2007-2009 - Percipient Studios
tobey
Posted: Wednesday, October 15, 2008 5:25:05 PM
Rank: Enthusiast

Joined: 9/29/2006
Posts: 17
Location: Zurich
No, there are only two files.

Print screen

We do not learn by doing, but by thinking about what we are doing.
drobar
Posted: Wednesday, October 15, 2008 6:03:56 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Okay, that's really strange!

Upgrading from v3.0.5 to v3.0.6 is a simple matter of replacing a single file and wouldn't cause this. When you say you upgraded, what was your starting version and what were the steps you performed to upgrade?

I've recently upgraded from a v2.1.x site to 3.0.6 (and have numerous 3.0.6 sites running) and none of them have this behavior.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
tobey
Posted: Monday, October 20, 2008 4:38:01 PM
Rank: Enthusiast

Joined: 9/29/2006
Posts: 17
Location: Zurich
I updated from 3.0.3 to 3.0.6.
I just extracted the zip file and replaced all files (except web.config).

We do not learn by doing, but by thinking about what we are doing.
drobar
Posted: Tuesday, October 21, 2008 1:29:15 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Here's how I do my upgrades. Notice that I don't over-write everything, just some folders.

Upgrade from 3.0.3 to 3.0.5

* Whenever doing an upgrade, ALWAYS backup all files first. This upgrade doesn't change the db, but it’s a good idea to back the db up as well.

* Before proceeding, make sure your umbraco/config/create/ui.xml files are both easily accessible for copying back. For the ui.xml file, you don’t need to worry about it if you haven’t installed any packages that add trees (like RSS, Logviewer, etc.), but back it up to restore anyways as you likely have installed one of these packages!

* Un-zip the 305build.zip and overwrite the /bin, /install, /umbraco and /umbraco_client folders. If you’ve done any modifications to files in these directories, then back them up first (i.e. you probably have some additional DLLs in the bin).

* If you've enabled content expirations in IIS to the umbraco_client folder, make sure to empty your local browser cache as we've made a lot of changes to the client files. Note that other clients won’t be aware of this.

* Copy back files from step 2 and 3. And yes, you’ll note that you don’t actually need to restore your Web.config because you haven’t overwritten it after all.

* Update the "umbracoConfigurationStatus" key in Web.config to "3.0.5". Otherwise, the installer will needlessly run.

* Make sure file/directory permissions are still set correctly (Network Service account granted “Modify” permissions on css, bin, config, data, media, umbraco, usercontrols, and xslt directories)

* You’re now done, but as an early 4.0 bonus, enable property descriptions by editing the /config/umbracoSettings.config file: just add the "text" element to /settings/content. Look in the original 305build "umbracoSettings.config" file for more information and see this blog post for more info: http://umbraco.org/blog/2008/1/8/show-property-descriptions-in-the-edit-view.



Upgrade from 3.0.5 to 3.0.6

* Replace umbraco.webservices.dll



What happens if you delete the /data/umbraco.config file (it'll get recreated automatically, don't worry)? If it fixes things, great. If not, no harm done.

Do you have a backup of your v3.0.3 site that you can restore (files and db) and then perform the upgrade according the the steps above? Does it make any difference?

cheers,
doug.

MVP 2007-2009 - Percipient Studios
tobey
Posted: Tuesday, October 21, 2008 12:02:16 PM
Rank: Enthusiast

Joined: 9/29/2006
Posts: 17
Location: Zurich
Thx a lot.

The solution was to copy \config\umbracoSettings.config from the former installation.

Other hint: It is also important to copy \data\access.xml if you have "Public access" defined. Otherwise you will lose all security settings.

We do not learn by doing, but by thinking about what we are doing.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.