Giter Site home page Giter Site logo

ghost-azure's Introduction

Want to install Ghost on Azure? Just click the 'Deploy to Azure' button and you're well on your way to have a Ghost Blog running within a minute or two. Made with ❤️ for Ghost by Microsoft.

Note: The deployment will most likely fail if you're running in a Free or Shared App Service Plan. This is due to NPM using more resources than the Azure sandbox allows. To work around this, deploy into a Basic or higher plan and then scale down if needed. More information in #30 and npm/npm#7200.

Note: After deployment, Ghost will continue setup - resulting in your brand new website staying blank on the very first load. Please give your website a solid minute of time. It will appear like the site isn't loading, but in reality, it's just creating your database in the background. This only happens the very first time you load your website - simply refresh, you'll see that everything worked well!

If you're interested in hosting your blog's images on Azure Blob Storage, check out Tommy Parnell's ghost-azure-storage module that plugs directly into Ghost.

Custom Domain

Directly after installation, Ghost will assume that your blog runs at http://sitename.azurewebsites.net. Should you switch to a custom domain, please inform Ghost about that change - you can do by setting the App Setting websiteUrl and restarting your website.

Ghost

Ghost Screenshot

Ghost is a free, open, simple blogging platform that's available to anyone who wants to use it. Lovingly created and maintained by John O'Nolan + Hannah Wolfe + an amazing group of contributors.

Visit the project's website at http://ghost.org • docs on http://support.ghost.org.

Ghost-Azure

Ghost Azure is a project that maintains the minimum configuration required to run ghost in azure Web Apps. This project does not contain alterations to ghost itself.

Running Locally

To run ghost locally run npm install then simply add websiteUrl, PORT, and NODE_ENV to your environment variables and run npm start. By default NODE_ENV will default to development, but the process that runs in azure runs with the value of production. If you decide to run NODE_ENV as production, you will probably want to turn off forceAdminSSL in config.js otherwise trying to access admin will default to redirecting you to https, and you won't have a valid SSL cert locally. The websiteUrl can be something as simple as http://localhost and the PORT variable should be the port you wish the instance to listen on.

Upgrading Ghost

The most comfortable way to update is to synchronize your Ghost installation with this respository. When you hit the deploy button, Azure will be aware of the source - and allow you to synchronize content. When you synchronize a deployment, only files checked into the repository are updated - nothing is deleted. If you didn't change the Ghost source code (but instead just created posts, uploaded pictures, or added themes), simply click the "Sync" button in the Azure Management Portal:

Sync Button

If you copied the files in this repository manually, you can still update with ease. See the Ghost-Updater-Azure project for details.

Copyright & License

Ghost is Copyright (c) 2013-2017 Ghost Foundation - Released under the MIT license.

ghost-azure's People

Contributors

chadwach avatar cicorias avatar czb182 avatar davidebbo avatar doodlemania2 avatar dwhieb avatar dzimchuk avatar felixrieseberg avatar kevinkuszyk avatar markau avatar matthieuklotz avatar mjhilton avatar naziml avatar smereczynski avatar terribledev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghost-azure's Issues

core/client folder?

The official repo has a client folder under core, any reason why it's not here?

v0.11.12

Hi Felix:

Any plans or ETA on an update to 0.11.12?

Thanks!

Some issues with the Ghost deployed on Azure

Dear Sir,

Once I deployed the Ghost on Azure, faced the issues. "Updating Website Config” kept going and never stop, I get some error screenshots from My Azure account for you reference as below.

ghost-1
ghost-2
ghost-3

Thanks

Best Regards,
John

MP3 files support

I am trying to figure out how to enable mp3 support with azure hosting and ghost. Is it possible to include some of the web.config exception in the default deploy?

Deployment fails

I just tried a couple of deploys, but both times it failed:

image

Are the any logs so I can try to help find a fix?

These are the screenshots from the Azure Portal:

image

image

Azure Storage Image Hosting

Just looking at the default location for image uploads, it is the default for Ghost which is /content/images/... is there a plan to move this to true Azure Storage hosting for something like https://XXX.blob.core.windows.net/container/image.jpg??

Invitation email was not sent. Please try resending.

I'm trying invite friends to blog but I have this error "Invitation email was not sent. Please try resending.", I configure in azure like in tutorial https://docs.ghost.org/docs mail config, emailService: Mailgun, emailUserName: postmaster@sandbox... and emailPassword: ****, I can send email test in aba Labs for my email but I couldnt resolve this problem, some help please.

Ghost url not using custom domain

After deploying to azure I added a custom domain. I updated the setting in the azure portal to reflect my change. The setting now reads: https://edwardwilson.me. However my theme which uses the url helper in ghost still returns the azurewebsites.net url. I have restarted many times.

Update via sync fail

Hello.

I've deployed ghost initially via Deploy to Azure button in the readme.md title. I've worked fine ever since, adding only content, not modifying the sources.

I've went into an old manage.azure console and clicked "Sync" as the Update section of readme implies.

Deployment went on for about 15 minutes and then failed. Here is a deployment log:

ommand: "D:\home\site\deployments\tools\deploy.cmd"
Handling node.js deployment.
KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot'
Copying file: 'azuredeploy.json'
Copying file: 'config.example.js'
Copying file: 'config.js'
Copying file: 'Gruntfile.js'
Copying file: 'iisnode.yml'
Copying file: 'index.js'
Copying file: 'npm-shrinkwrap.json'
Copying file: 'package.json'
Copying file: 'README.md'
Copying file: 'content\themes\casper\author.hbs'
Copying file: 'content\themes\casper\default.hbs'
Copying file: 'content\themes\casper\index.hbs'
Copying file: 'content\themes\casper\package.json'
Copying file: 'content\themes\casper\page.hbs'
Copying file: 'content\themes\casper\post.hbs'
Copying file: 'content\themes\casper\tag.hbs'
Copying file: 'content\themes\casper\assets\css\screen.css'
Copying file: 'content\themes\casper\partials\loop.hbs'
Copying file: 'content\themes\casper\partials\navigation.hbs'
Copying file: 'core\built\assets\ghost.css'
Copying file: 'core\built\assets\ghost.js'
Copying file: 'core\built\assets\ghost.min.css'
Copying file: 'core\built\assets\ghost.min.js'
Copying file: 'core\built\assets\tests.js'
Copying file: 'core\built\assets\vendor.css'
Copying file: 'core\built\assets\vendor.js'
Copying file: 'core\built\assets\vendor.min.css'
Copying file: 'core\built\assets\vendor.min.js'
Copying file: 'core\built\assets\codemirror\codemirror.css'
Copying file: 'core\built\assets\codemirror\codemirror.js'
Copying file: 'core\built\assets\fonts\ghosticons.eot'
Copying file: 'core\built\assets\fonts\ghosticons.svg'
Copying file: 'core\built\assets\fonts\ghosticons.ttf'
Copying file: 'core\built\assets\fonts\ghosticons.woff'
Copying file: 'core\built\assets\img\slackicon.png'
Deleting file: 'core\built\assets\img\contributors\bhops'
Deleting file: 'core\built\assets\img\contributors\cameronviner'
Deleting file: 'core\built\assets\img\contributors\garyc40'
Deleting file: 'core\built\assets\img\contributors\halfdan'
Deleting file: 'core\built\assets\img\contributors\jamesslock'
Deleting file: 'core\built\assets\img\contributors\jgillich'
Deleting file: 'core\built\assets\img\contributors\JohnONolan'
Deleting file: 'core\built\assets\img\contributors\jtwebman'
Deleting file: 'core\built\assets\img\contributors\kevinkucharczyk'
Deleting file: 'core\built\assets\img\contributors\mixonic'
Deleting file: 'core\built\assets\img\contributors\novaugust'
Deleting file: 'core\built\assets\img\contributors\rfpe'
Copying file: 'core\built\assets\img\contributors\AileenCGN'
Copying file: 'core\built\assets\img\contributors\cobbspur'
Omitting next output lines...
Node.js versions available on the platform are: 0.6.20, 0.8.2, 0.8.19, 0.8.26, 0.8.27, 0.8.28, 0.10.5, 0.10.18, 0.10.21, 0.10.24, 0.10.26, 0.10.28, 0.10.29, 0.10.31, 0.10.32, 0.10.40, 0.12.0, 0.12.2, 0.12.3, 0.12.6, 4.0.0, 4.1.0, 4.1.2, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.3.0, 4.3.2, 4.4.0, 4.4.1, 4.4.6, 4.4.7, 5.0.0, 5.1.1, 5.3.0, 5.4.0, 5.5.0, 5.6.0, 5.7.0, 5.7.1, 5.8.0, 5.9.1, 6.0.0, 6.1.0, 6.2.2, 6.3.0.
Selected node.js version 4.4.7. Use package.json file to choose a different version.
Selected npm version 2.15.8
Updating iisnode.yml at D:\home\site\wwwroot\iisnode.yml

[email protected] preinstall D:\home\site\wwwroot
node core/server/utils/npm/preinstall.js
[email protected] postinstall D:\home\site\wwwroot\node_modules\jsonpath
node lib/aesprim.js > generated/aesprim-browser.js
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "D:\Program Files (x86)\nodejs\4.4.7\node.exe" "D:\Program Files (x86)\npm\2.15.8\node_modules\npm\bin\npm-cli.js" "install" "--production"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! path D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node'
npm ERR! at Error (native)
npm ERR! { [Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node']
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! error rolling back Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back { [Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node']
npm ERR! error rolling back errno: -4048,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back syscall: 'unlink',
npm ERR! error rolling back path: 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node' }
npm ERR! Please include the following file with any support request:
Failed exitCode=-4048, command="D:\Program Files (x86)\nodejs\4.4.7\node.exe" "D:\Program Files (x86)\npm\2.15.8\node_modules\npm\bin\npm-cli.js" install --production
npm ERR! D:\home\site\wwwroot\npm-debug.log
An error has occurred during web site deployment.
npm ERR! Windows_NT 6.2.9200\r\nnpm ERR! argv "D:\Program Files (x86)\nodejs\4.4.7\node.exe" "D:\Program Files (x86)\npm\2.15.8\node_modules\npm\bin\npm-cli.js" "install" "--production"\r\nnpm ERR! node v4.4.7\r\nnpm ERR! npm v2.15.8\r\nnpm ERR! path D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node\r\nnpm ERR! code EPERM\r\nnpm ERR! errno -4048\r\nnpm ERR! syscall unlink\r\n\r\nnpm ERR! Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node'\r\nnpm ERR! at Error (native)\r\nnpm ERR! { [Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node']\r\nnpm ERR! errno: -4048,\r\nnpm ERR! code: 'EPERM',\r\nnpm ERR! syscall: 'unlink',\r\nnpm ERR! path: 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node' }\r\nnpm ERR! \r\nnpm ERR! Please try running this command again as root/Administrator.\r\nnpm ERR! error rolling back Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node'\r\nnpm ERR! error rolling back at Error (native)\r\nnpm ERR! error rolling back { [Error: EPERM: operation not permitted, unlink 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node']\r\nnpm ERR! error rolling back errno: -4048,\r\nnpm ERR! error rolling back code: 'EPERM',\r\nnpm ERR! error rolling back syscall: 'unlink',\r\nnpm ERR! error rolling back path: 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32\node_sqlite3.node' }\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR! D:\home\site\wwwroot\npm-debug.log\r\nD:\Program Files (x86)\SiteExtensions\Kudu\57.50815.2378\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"

Thank you for help in advance.

How to deploy into a subfolder?

The default setup process worked well. But I'd like to have two different blogs on my web, living in different subfolders. (One in English, other in Slovak - I don't want to mix them in a single list.)
I haven't been able to make it run in the subfolder. I've tried the obvious googled solutions, but no luck so far.

The most output I got was:

The page cannot be displayed because an internal server error has occurred.

And I haven't been able to find any logs anywhere.

I've edited the Config.js to include the correct URL, path to DB, etc. I've tried fixing the web.config, but probably did more harm than good.

Any ideas?

Ghost 0.6.2 Available

Thanks for providing this tool! Are there steps to pull in the latest Ghost updates? If so, I'd love to contribute.

Request for Wiki: How to clone from azure to local to test

Hi,

thank you very much for your work! It would be very nice if you could explain how to load the files from your Azure Webpage to your local machine (via FTP), set the specific parameters to run the same ghost instance locally and push changes via git.

Could you please write a Wiki Page which parameters must be set to run the instance locally?

Thanks in advance

Mats

Failed to upgrade to 0.9

When updating ghost, it looks lit successfully deployed but it won't load anything.
iisnode was unable to establish named pipe connection to the node.exe process before the process terminated

Multiple Ghost blogs?

What if you want to create 1000s of ghost blogs would you deploy this lib 1000s of times or
is there a more prudent way with only 1 or a few installations?

thanks!

i guess pretty much replicating Ghost(Pro)'s Business plan.

SqlLite3 doesn't install correctly

Hi there,

I've just installed from the Azure Marketplace (twice - deleted and recreated), and am getting a 500 error. I waited for deployment to complete, gave it some time, and then hit the site - 500. Let it sit for another 5 minutes or so in case install was still going; same problem.

Logs:

[31m
ERROR:�[39m �[31mCannot find module 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v46-win32-ia32\node_sqlite3.node'�[39m 

 Error: Cannot find module 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v46-win32-ia32\node_sqlite3.node'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (D:\home\site\wwwroot\node_modules\sqlite3\lib\sqlite3.js:4:15)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17) 

I notice that it's looking for node_sqlite3.node under a node-v46-win32-ia32 directory, but when exploring in Kudu, I can see that the directory is actually v11: D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32

Issue with undefined.azurewebsites.net

Hey Felix,

Having used your deployment with success, thanks for that! However whenever I create a new page it creates it with a url of undefined.azurewebsites.net which doesn't translate to anything.

Any idea what could be causing this?

1 hour deploying, still pending.

Hello,

Today deployed the 0.7.9 version, faced the problem, it was running 1 hour, still pending on Updating Website Config process, how to deal with this case?

image

Thanks

John

Setting websiteUrl to custom domain makes Ghost not working

I have a custom domain for my Ghost blog which works well, but going into admin mode redirects to my azurewebsites url and the logo uses the azurewebsites url as well and I don´t want that. I understand websiteUrl should fix this but when I add my custom domain there, save and restart the WebApp I get a HTTP 500 error until I remove the websiteUrl setting in the portal.

1.4.0 upgrade

Any chance you'll be upgrading this one day for the new Ghost? I took a stab at it myself but it's a pretty involved upgrade with the amount of stuff they changed for the 1.0 release.

Hi

I pushed broken code to my server by accident but then fixed it but my server is still down how do i get azure to restart? i have tried running npm start --production

deployment slot

hi,
When trying to use this with azure and then creating a deployment slot and copying production it does not work, just gets an internal error. any ideas how to set this up.

Customising the Casper theme to include Disqus

I have included Disqus in the post.hbs file and it works. The problem is that it will be overwritten with the next release.

Is there a recommended way to apply customisations to the standard theme? Seems I should copy the Casper theme and customise that instead.

Thank you!

Just wanted to say thank you for the amazing job! :)

Deployment issue

Got to the Deployment Complete step on deploy.azure.com. Waited a "solid minute" which has turned into an hour, and I'm still getting a blank web page. Actually its a 500 response with no content:

HTTP/1.1 500 Internal Server Error
Content-Length: 0
Server: Microsoft-IIS/8.0
X-Powered-By: ASP.NET
Date: Wed, 20 Apr 2016 04:55:15 GMT

Deploying to a Basic-small instance. Any ideas as to why?

Deployment failed

Spins at Setting up source for a long while, then deployment failed. MDSN account, chose standard.

In Azure, under deployments - Server farm and sites deploy ok. Sites/sourcecontrol shows status "conflict" and lists this error:

OPERATION ID40602CC8A67AE493
TRACKING ID5523cb0a-3a82-40f7-8afb-ceafb41c394e
STATUSConflict
PROVISIONING STATEFailed
TIMESTAMP5/13/2016, 1:16:10 PM
DURATIONPT11M11.7995214S
TYPEMicrosoft.Web/Sites/sourcecontrols
RESOURCE ID/subscriptions/d39689b5-c410-4b40-8b5a-b5243da42f26/resourceGroups/Ghost-Azure63e5/providers/Microsoft.Web/Sites/Ghost-Azure63e5/sourcecontrols/web
STATUSMESSAGE{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'."
}
}
RESOURCEGhost-Azure63e5/web

Preserving URL rewriting with auto deploy

I deploy from the main GitHub source repo and I'd like to keep the rewrites I have in web.config.

They are for rewriting www prefixes to the root domain.

Would it be possible to reference a rewrite.config file that from the web.config which is kept out of source control? This could then be created on the initial deploy. I could then keep my rewrites on upgrades.

It would break for existing upgraders though.

Your thoughts?

Successful deploy, but the site keeps returning a 500 error

I've just deployed through the marketplace and deploy to azure button on the repo a number of times. The deploy always succeeds, but after trying to go to the site I keep getting a 500 error.

This is the only thing being written to the log.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>IIS Detailed Error - 500.1002 - Internal Server Error</title> 
<style type="text/css"> 
<!-- 
body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} 
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} 
.config_source code{font-size:.8em;color:#000000;} 
pre{margin:0;font-size:1.4em;word-wrap:break-word;} 
ul,ol{margin:10px 0 10px 5px;} 
ul.first,ol.first{margin-top:5px;} 
fieldset{padding:0 15px 10px 15px;word-break:break-all;} 
.summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} 
legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; 
font-weight:bold;font-size:1em;} 
a:link,a:visited{color:#007EFF;font-weight:bold;} 
a:hover{text-decoration:none;} 
h1{font-size:2.4em;margin:0;color:#FFF;} 
h2{font-size:1.7em;margin:0;color:#CC0000;} 
h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;} 
h4{font-size:1.2em;margin:10px 0 5px 0; 
}#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS",Verdana,sans-serif; 
color:#FFF;background-color:#5C87B2; 
}#content{margin:0 0 0 2%;position:relative;} 
.summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} 
.content-container p{margin:0 0 10px 0; 
}#details-left{width:35%;float:left;margin-right:2%; 
}#details-right{width:63%;float:left;overflow:hidden; 
}#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF; 
background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal; 
font-size:1em;color:#FFF;text-align:right; 
}#server_version p{margin:5px 0;} 
table{margin:4px 0 4px 0;width:100%;border:none;} 
td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:normal;border:none;} 
th{width:30%;text-align:right;padding-right:2%;font-weight:bold;} 
thead th{background-color:#ebebeb;width:25%; 
}#details-right th{width:20%;} 
table tr.alt td,table tr.alt th{} 
.highlight-code{color:#CC0000;font-weight:bold;font-style:italic;} 
.clear{clear:both;} 
.preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;} 
--> 
</style> 

</head> 
<body> 
<div id="content"> 
<div class="content-container"> 
<h3>HTTP Error 500.1002 - Internal Server Error</h3> 
<h4>The page cannot be displayed because an internal server error has occurred.</h4> 
</div> 
<div class="content-container"> 
<fieldset><h4>Most likely causes:</h4> 
<ul>    <li>IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.</li>    <li>IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.</li>    <li>IIS was not able to process configuration for the Web site or application.</li>     <li>The authenticated user does not have permission to use this DLL.</li>   <li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li> </ul> 
</fieldset> 
</div> 
<div class="content-container"> 
<fieldset><h4>Things you can try:</h4> 
<ul>    <li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li>     <li>Check the event logs to see if any additional information was logged.</li>  <li>Verify the permissions for the DLL.</li>    <li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li>  <li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul> 
</fieldset> 
</div> 

<div class="content-container"> 
<fieldset><h4>Detailed Error Information:</h4> 
<div id="details-left"> 
<table border="0" cellpadding="0" cellspacing="0"> 
<tr class="alt"><th>Module</th><td>&nbsp;&nbsp;&nbsp;iisnode</td></tr> 
<tr><th>Notification</th><td>&nbsp;&nbsp;&nbsp;ExecuteRequestHandler</td></tr> 
<tr class="alt"><th>Handler</th><td>&nbsp;&nbsp;&nbsp;iisnode</td></tr> 
<tr><th>Error Code</th><td>&nbsp;&nbsp;&nbsp;0x00000002</td></tr> 

</table> 
</div> 
<div id="details-right"> 
<table border="0" cellpadding="0" cellspacing="0"> 
<tr class="alt"><th>Requested URL</th><td>&nbsp;&nbsp;&nbsp;http://hackingonhacks-blog:80/index.js</td></tr> 
<tr><th>Physical Path</th><td>&nbsp;&nbsp;&nbsp;D:\home\site\wwwroot\index.js</td></tr> 
<tr class="alt"><th>Logon Method</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> 
<tr><th>Logon User</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> 

</table> 
<div class="clear"></div> 
</div> 
</fieldset> 
</div> 

<div class="content-container"> 
<fieldset><h4>More Information:</h4> 
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error. 
<p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,1002,0x00000002,9200">View more information &raquo;</a></p> 
<p>Microsoft Knowledge Base Articles:</p> 


</fieldset> 
</div> 
</div> 
</body> 
</html> 

No Security Certificate for the Custom Domain

I added the custom domain in "WebsiteUrl" in Azure.
But When I try to access the admin by "example.com/ghost", it gives Security Certificate Error (NET::ERR_CERT_COMMON_NAME_INVALID)

Please let me know how do I fix this?

ghost-0.7.0

Invalid salt version: 2

The deployment went perfectly - thank you!. When navigating to /ghost/settings (for initial config) and clicking save, I got the error "Invalid salt version: 2" screenshot.

Subsequently navigating to /ghost/settings/ redirects to /ghost/signin/ where entering username and password again throws the error "Invalid salt version: 2".

Add mail.from in config.js

Hello,
It would be great if we can amend the email configuration so it can read mail.from from an environment variable. Following the guide on ghost mail setup, we could have the following mail config block:

mail: {            
    transport: 'SMTP',
    from: process.env.emailFrom, // email from address
    options: {
         service: process.env.emailService,
         auth: {
             user: process.env.emailUsername, // username
             pass: process.env.emailPassword  // password
    }
}

This is very important if you would like to make sure that your emails go through trusted sending domains you have configured in your mail service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.