Developer forum

Forum » Dynamicweb 10 » Install plugin on fresh site fails

Install plugin on fresh site fails

Martin Moen
Reply

Whenever I try to install a plugin using dw install <path> I get an error on a fresh installation.

The reason seams to be that the wwwroot\Files\System\AddIns\Local folder is not present.
Are there any parameters that can be used to create it, or any way of creating it using the CLI?


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Martin

What is the error?

What command do you execute exactly - the path you specify?

 
Martin Moen
Reply

I dont have the error now, but I can post it later.

I have tested this out, and it is 100% related to the fact that the folder wwwroot\Files\System\AddIns\Local is not created during a normal DW10 installation.
So when you try to run dw install on a custom app into a fresh installation you get an 500 error. As soon as you manually create the folder, and run the same dw install <path> it works, no errors.

Would be nice if the install procedure create the folder if it does not exist, or if the CLI command did have a flag that could be set if you would like to create the folder if it does not exist.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Ok, thanks. We will look into the command that handles this.

 

You must be logged in to post in the forum