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

Configuration Process Stuck at Verifying Git Repo Settings #191

Closed SkyeRangerDelta closed 5 years ago

SkyeRangerDelta commented 5 years ago

Actual behavior

After configuring a new repository and manually editing parts of the config.yml, the configuration page of the "browser installer" sits on "Verifying Git repository settings..." with no apparent progress made.

I've spent roughly 2 hours trying to work this out, including generating new SSH keys, saving them and changing the directory in the config, setting up the proper auth sections all in what I believe to be the proper fashion according to the documentation.

Expected behavior

Progress on with the repository state.

Steps to reproduce the behavior

Setup a private GitHub repository and initialize with readme.md. Continue through the configuration pages as per the "node wiki configure" command pages in the browser.

Other Notes

I can only guess that I've just simply missed something in setup that wasn't apparent to me. I'm not a master at git, but I can work with it. Site Auth section has been filled with appropriate GitHub client information, Git Connection Info section is identical to the SSH section in the documentation except filled in with the "proper" information.

The key I generated does not have a password on it.

The title property can have spaces right?

I'd love to get this thing working, and it'd be awesome if this is just some stupid error I've made. Thanks for looking into it.

NGPixel commented 5 years ago

Which OS and version? Which version of Git is installed? git --version Paste the contents of the git section of your config.yml with the sensitive info redacted.

SkyeRangerDelta commented 5 years ago

OS: Linux Ubuntu 18.04.2 LTS Git: 2.17.1

Git section of config.yml attached (Sorry, the editing was being annoying) notepad++_2019-04-07_17-08-59

NGPixel commented 5 years ago

The url is wrong. You're using an HTTPS formatted URL with SSH authentication.

The url should be git@github.com:SkyeRangerDelta/YOUR_REPO.git

SkyeRangerDelta commented 5 years ago

That finished the setup process. But now when it restarted it gave me a 403 permissions error. This is my end, what permissions does the folder for the wiki need (or do you recommend)? 755?

This is also running out of an apache web server folder, does that make a difference?

SkyeRangerDelta commented 5 years ago

I've set up a test environment away from my actual apache webserver to find out what I'm not doing right and I've figured out the permissions problems causing the 403 but now there's no CSS/Styling. I've added the port I'm connecting to in my browser to the host and port values in the config.yml and it's still not showing properly. Switching the port value back to 80 seems to never even load the wiki.

Since I'm running wiki.js in a subdomain folder (root folder of the apache virtual host), do I need to reconfigure something? I've experimented with the problem resolution as Issue 8 here: https://github.com/Requarks/wiki/issues/8 and I'm still getting the same problem while using ProxyPass. I don't need to port forward this right?

SkyeRangerDelta commented 5 years ago

I janked some stuff around using a ProxyPass in the virtual host apache conf. Looks to be working as expected now, graphics and all. Thank you for the git fix!