requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

wiki configure wizard can't find JS directory #144

Closed benwolski closed 3 years ago

benwolski commented 5 years ago

Hi. I think I successfully pointed my subdomain to the wiki config wizard running on port 3000, but when I navigate to that page it doesn't find the config JS.

here's what shows up:

image

Result: GET https://test.justicewiki.org/js/vendor.js net::ERR_ABORTED 404

I'm a beginner, so I'm sure the issue is with my configuration of the proxy or permissions or something. Any advice?

sreddy6 commented 5 years ago

check your port number once again in config file. I've had similar issue earlier it's because you might have not give the port number after localhost in congif.yml file

benwolski commented 5 years ago

check your port number once again in config file. I've had similar issue earlier it's because you might have not give the port number after localhost in congif.yml file

Thanks for the pointer, but I'm still confused. I thought config.yml is what I'm trying to set up using the wizard that I can't get to display? Anyway, I tried all sorts of changes to the yml file, including adding the local 3000 port, and still haven't gotten the wizard up and running more than shown in my original post.

image

image

image

NGPixel commented 5 years ago

If you access your site through test.justicewiki.org, then you must set the host value to http://test.justicewiki.org

benwolski commented 5 years ago

Thanks, I just figured out that I hadn't pointed nginx to use the wikijs assets folder as root.

Now the config wizard finds the assets, but when I start the syscheck fails...and I don't know why.

image

benwolski commented 5 years ago

I now see that I have misconfigured something with git:

image

benwolski commented 5 years ago

I think I fixed the git issue, but I still get a 404 on syscheck and now there aren't any errors in the log:

image

PureNukage commented 5 years ago

I am having the same issue. I load to "http://localhost:3000" and see very un-styled page, absolutely no wizard configuration happening.

I have tried all different variations in the config.yml but it doesn't make sense for me to even open that, the wizard is supposed to create/edit that file with me?

PureNukage commented 5 years ago

Attempting to install Wiki.js has proven to be an exercise in insanity.

First I had issues with the one-line powershell command to install, error message coming was Exception calling "DownloadString" with "1" argument(s): "The request was aborted: Could not create SSL/TLS secure channel.

Then I went to installing it using the actual script, found here: https://github.com/Requarks/wiki/issues/421

The script would cancel after Step 4 reporting a command-line error with 7-Zip. After not solving this, I instead attempted to install manually using the directions at the bottom of the page here: https://docs-legacy.requarks.io/wiki/install

I got rid of the "sample" from the config.yml and ran "node wiki configure".

It appears with no CSS and no way to actually continue through the wizard. "node wiki start" leads to another unstyled page wanting me to log in.

Things of note: I have MongoDB installed, created a database named "wiki", the service is running. I do not have apache installed, don't NEED or even want the server to be internet, intra works for what I need.

It seems being a rocket scientist at NASA is needed to install this garbage.

NGPixel commented 5 years ago

@PureNukage You are seeing an unstyled page because you didn't set the proper host, as explained in the docs: https://docs.requarks.io/wiki/install/troubleshooting#weird-display-no-styling-missing-css

If you use http://localhost:3000 to access your wiki, then that should be the value.

As for the powershell error, Windows use TLS 1.0 by default, which is no longer supported by the website. I updated the install command to force TLS 1.2 before downloading the install script.

As for the error you got with 7-zip, I could not replicate it on my machine. Make sure you install into a folder you have the proper permissions or run powershell as admin.

PureNukage commented 5 years ago

Here's my config.yml

image

Here is my directory, contained in /web design/wikijs:

image

Think I'm going to give up, documentation is sparse and literally. every. single. different. method. of. installation. has. problems. It's unreal.

NGPixel commented 5 years ago

@PureNukage According to the screenshot of the file listing, you are using the repository contents and not a release build. So you're definitely going to run into issues as you're missing some generated files.

If you can't use the install scripts and want to do it manually, you got to download the packages from the Releases page:

https://github.com/Requarks/wiki/releases/tag/v1.0.102

PureNukage commented 5 years ago

Got it working, had a doozy of a time. Looks and feels nice thus far, only thing left is that the host computer sees a lot of "modal.xxxxx" everywhere