Orchard CMS on Azure: Problems installing new modules - azure

I recently created an Orchard CMS instance on MS Azure. I wanted to add some modules but I am getting the error (within the module page):
Error loading extensions from gallery source 'Orchard Gallery'. Unable
to connect to the remote server.
I'm not familiar enough with Azure to be able to diagnose what is going wrong. I've seen some pages that say that this is by design. If so, then I can just install modules manually. But if this has ever been changed and this is indeed an issue then, does anyone know a) what the issue is or b) how to go about diagnosing it?
Thanks!

What is the version of your Orchard CMS instance? (see bottom right in admin)
Check on the Gallery setting page (/Packaging/Gallery/Sources) that the url of the default feed is https://gallery.orchardproject.net/api/FeedService

Related

If I provided incorrect subdomain name during Kabanero Foundation installation, how to fix it?

I provided incorrect subdomain name during Kabanero Foundation installation on OKD. Now my Application-->Routes are wrong. How to fix that?
For Kabanero Landing Page, my link is: https://kabanero-landing-kabanero./
I tried https://kabanero-landing-kabanero./ but I get
Application is not available
The application is currently not serving requests at this endpoint. It may not have been started or is still starting.
Expected: Kabanero Landing Page
Actual: Application is not available
The application is currently not serving requests at this endpoint. It may not have been started or is still starting.
There really is no good way to fix it. There is not a good manner to change the routes automatically. Assuming you are early in your install, you should be able to clone the 0.2.0 (if you installed 0.2.0) support scripts from https://github.com/kabanero-io/kabanero-foundation/tree/0.2.0/scripts and run the uninstall-kabanero-foundation.sh script to remove the foundation and reinstall. You should be able to keep the OKD install that you have done.
If there are enough people that hit this, I can put a requirement in place to provide an update script to change this value and restart.

Add module to Orchard

I am working on orchard CMS (version 1.8.1) sites with multiple language, I found this one (https://github.com/qt1/orchard_contrib-RM.Localization) is useful, and I would like to add this to my site, but failed to work (I just copied it into, but picker widget cannot be found in dashboard), may someone know how to do and give me some advice?
Regards,
David
If you want to use this module in you Orchard app, you need to add it the the Orchard.sln and compile the application - then the module will be visible in Modules section of the dashboard.
You can also try using an existing package from the Orchard Gallery
Download a package
Go to Modules, and enable Packaging module
Go to Modules -> Installed and click Install a module from your computer
Browse the package and click Install
Now enable the installed module

Themes in Orchard hosted in Azure

I've been setting up Orchard 1.8 in an Azure Cloud Service. I've got it working, but I'm now confused as to how to use it.
Installing themes via the gallery fails silently. The devs say this is because Orchard on Azure doesn't support the theme gallery, and suggest adding new themes to the project and uploading a new package (https://orchard.codeplex.com/discussions/453688). Ignoring that this requires any designers that want to make minor CSS changes now need Visual Studio, access to the entire source code, and then wait through a 20 minute deploy, this just doesn't seem possible.
This post explains how the Azure emulator doesn't work with Orchard. So now I'm confused; what is the expected workflow for a brand new Orchard site hosted on Azure if I can't make changes to the site in production or staging but cannot run it locally either. I'm aware I could run it without the Azure emulator on regular IIS but that seems to be too far removed from the production environment to be a good test.
I was drawn to Orchard originally because it had great documentation and supports MVC Web API, but this seems so fundamental that now I'm not so sure. I feel like every time something goes wrong they'll always be doubt whether it's working as designed or if there is an Azure idiosyncrasy going on.
I'd love to hear from anyone who's had an Orchard site from scratch in Azure, I'm hoping I've just missed something simple with this.
Thanks,
Tom
You should never install modules or themes on a production server. Instead, install those on your dev machine, build the package and then deploy. If you don't want to deal with the heaviness of cloud services, don't use cloud services. Azure Web Sites are about a million times easier to use, and they work great. They allow for what you're asking for.

Setting up Umbraco project with nuget in vs 2012 error

I'm trying to set up a development project in vs 2012 with nuget and Umbraco. I am aware of the several recipe's, amongst the better Umbraco for beginners: Setup Umbraco on localhost together with VS 2012 and uSiteBuilder.
When I am using this procedure I install Umbraco with nuget and build it without problems, but when I hit F5 I get the same error continously: "Could not load type Umbraco.Web.UmbracoApplication" which global.asax inherits from!
What is wrong, what am I missing here...? Thanks in advance /Finn
A bit late, but I had the same problem and the reason for that are missing dll's. Referenced libraries weren't copied to bin folder.
It is not the best or easiest way of setting the project up.
Instead of creating a WebForm project, create an empty MVC4 project and then install the Umbraco CMS from NuGet. This way you won't have to remove anything. It will also by default use IIS Express, so there is no need to change the project properties.
You don't even have to use the NuGet console. You can use the package manager and just search for Umbraco.
Well it seems like an unprofessional oversight from my point! I just forgot to give security access to the relevant folders to network service.
You might have to build and clean the solution a couple of times if you get exposed to the YSOD error: "Cannot create/shadow copy 'filename' when that file already exists" when you hit F5! This error might occur if you hit F5 too quickly after a build, in this case asp.net is probably not finished with whatever it has to complete, and the file is locked.
#Digbyswift: I do not agree with you! Whether you set up your project as an MVC or Webforms application, it doesn't matter. What is important though, is that you use empty applications, as if you don't there will probably be some references/dependencies that you have to delete in order to get the application running! And default server will be the vs dev server, which in my opinion is by far the best and easiest to use untill you are ready to deploy your application. I agree thouhg that using the package-manager from visual studio is the easiest way to come around installing Umbraco.
Following these steps and hints you should use no more than a couple of minutes from installing Umbraco untill you have the wellcome screen and is ready to set up db etc...
Cheers Finn...

Authentication.Federated settings not appearing

I'm trying to use the Authentication.Federated module to enable ADFS support for Orchard. I installed the module by downloading it locally and adding it, and I enabled the module. Now, according to the instructions, I should see the Federated authentication settings under the general "Settings" menu in the Orchard dashboard, but they are not there. What's missing?
I'm running locally, if that's relevant, and I had Orchard setup its own local database when I started it the first time
EDIT: Tried installing from Gallery; same thing.
EDIT2: Looks like the logs show this:
Orchard.Environment.Extensions.ExtensionManager - No suitable loader found for extension "Authentication.Federated"
Looks like the dynamic loader doesn't like Authentication.Federated, but the settings show up if you include the project in the solution.

Resources