-
Notifications
You must be signed in to change notification settings - Fork 74
IIS Setup Documentation #148
Comments
Thanks! I'll add it to the documentation soon. |
I also want to note that I had a small problem after getting it up and running where I couldn't save any edited pages. Of course, no error message would pop-up (just an empty error popup after clicking save) and I had to dig in to first find the logs and then interpret those logs. Turns out that my application pool didn't have the proper rights to access the .gitconfig file. I recommend that a new Application Pool be created and the identity used for that pool be set to Local System. |
I just found another issue running with Node IIS. It appears that items don't get synched automatically with my git repo. Even though I can see a bunch of git processes running in the task manager, it fails to push changes. In addition, file uploads fail. Files are copied over to the repo folder, but don't get synched with git and Wiki.js is unable to fetch the file listing. Once I switched back to running directly under node, this all worked again. Just something to keep in mind with 2.x to see if we can get full Node IIS support. |
Hey @wooster11, since you've gotten this up and running behind IIS, i was wondering if you could help me out.
The problem seems to be that my browser is caching the content of these pages, so when I update a page through the web interface, the page gets updated correctly, I can confirm that the file on the backend (filesystem) does indeed get updated with new content, as well, a new commit is created in my repo. At this point, im brought back to view the updated changes. Everything is good so far. If however i choose to edit the page the second time, the previous version of the page is displayed in my the wiki.js editor. Any ideas? EDIT: It seems that the back end needs time to sync up. If i wait 5-10 minutes and then refresh the page, my changes are displayed. I still don't know why this happens. |
Hey @toose11, I'm not sure what's going on here. I gave up on my IIS deployment as I was having all other kinds of problems (subsequent comment) with it working properly with my git repo and it saving changes. Sorry, I can't be of more help here. |
@wooster11 Thanks anyway 👍 |
May I know why do you need to create virtual directory instead of create a website with Physical directory is C:\wiki? |
couple of notes for anyone else trying to get this to workk with iisnode first I had to override the port with process.env.PORT under server\core\config.js
next in the web.config I added a line of
this is due to this issue with iisnode |
Actual behavior
Setting up Wiki.js to run on IIS was kind of a pain, but isn't actually that hard. There just isn't any directly related documentation.
Expected behavior
It should be easier to run via IIS.
Steps to reproduce the behavior
Install Wiki.js and have it run on IIS without any documentation.
I'm happy to provide the steps that worked for me if you want one way to do it for your docs. I wrote it out below. Hope this helps someone.
Running Wiki.js on IIS
C:\wiki\
)wikiSiteInit.js
to the root site folder (same as in the previous step)require('./server/index.js');
The text was updated successfully, but these errors were encountered: