Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Orchard CMS: Cannot install modules from dashboard gallery

Tags:

orchardcms

All of this was done on my local machine.

I installed Orchard from within WebMatrix a few days ago (Orchard v 1.3.9)

I installed the Contoso Theme

I followed the instructions for the HelloWorld module and the Simple Commerce Module , and they work fine: this entailed adding modules from the gallery from within the dashboard: like the Code Generation Module

Today, if I try to install any modules from the gallery from within the dashboard, I get the following message with a red background:

Package installation failed.

There was an error installing the requested package. This can happen if the server does not have write access to the '~/Modules' or '~/Themes' folder of the web site. If the site is running in shared hosted environement, adding write access to these folders sometimes needs to be done manually through the Hoster control panel. Once Themes and Modules have been installed, it is recommended to remove write access to these folders.

The remote server returned an error: (404) Not Found.

I go into the Requests section of Web Matrix, and it shows the request to grab the Messaging module: it says

302.0 Object Moved Path C:/Users/Rick/Documents/My Web Sites/RickHodder/Packaging/PackagingServices/InstallGallery

GET http://localhost:36700/Packaging/PackagingServices/InstallGallery?packageId=Orchard.Module.Messaging&version=1.3.0&sourceId=1&redirectUrl=%2FPackaging%2FGallery%2FModules

Did the orchard project change the place where the gallery pulls from? I didnt make any changes to the machine, and I looked in the windows update log, and see nothing that might have change rights.

Any ideas?

like image 608
Rick Hodder Avatar asked Nov 24 '11 01:11

Rick Hodder


2 Answers

I think the issue is that the URL is case-sensitive. I had the exact same issue with the new package URL that Bertrand supplied. However, changing the case feedservice.svc to FeedService.svc fixed this. With this gallery URL, I'm now able to install modules from the dashboard:

http://packages.orchardproject.net/FeedService.svc

like image 151
Noah Cushing Avatar answered Dec 28 '22 18:12

Noah Cushing


Updated Feed URL:

This answers here should be updated, as the new Gallery Feed URL has changed:

NEW Feed URL: https://orchardgallery.azurewebsites.net/api/FeedService

Steps to update older Orchard versions

Go Admin > Settings > Gallery, then click the "Add Feed" button on the top right to paste the new feed URL.

You can then delete the old one feed URL:

OLD Feed URL: http://packages.orchardproject.net/FeedService.svc

The red error should disappear now from the Modules Gallery section.

like image 41
EdwardM Avatar answered Dec 28 '22 17:12

EdwardM