New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install docs are dated - any chance of an update? #2464

Open
dylanh724 opened this Issue Nov 11, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@dylanh724

dylanh724 commented Nov 11, 2018

The guides (nginx setup) were meant for Ubuntu 14 many years ago -- Following the guide now, I can't seem to get it to work (I had it working years ago when the guide was new: It seems like the guide is finally dated).

An updated guide would rock.

EDIT: Got it working, but only after several hours of external (Google) sites rather than the install guide.

@LeoColomb

This comment has been minimized.

Member

LeoColomb commented Nov 11, 2018

Thanks for your report @dylanh724!

There isn't any official guide how to install on a specific operating system. 🤔
I'm not sure but I think you used the link "How to Install YOURLS on Ubuntu 14.04" in the "list of some (unofficial) install guides" on the readme.html.
As described, it is non-official and do not take preference over official docs like the wiki.

An updated guide would rock.

That said I agree, this readme can definitely be rewritten to refer to more updated ressources. 👍
If you've succeeded to get it working after some hard work, would you document your way and suggest your own guide there? Thx!

@dylanh724

This comment has been minimized.

dylanh724 commented Nov 13, 2018

Actually, your wiki guide is just fine in my nginx setup:

https://github.com/YOURLS/YOURLS/wiki/Nginx-configuration

That wiki is actually awesome and up to date, but down low on Google and no where on that install page -- The wiki link belongs front+center of that /install page! Honestly, that would do just fine. You can keep those old guides, but preferably tag them "possibly outdated" below the wiki.

https://yourls.org/#Install

image

@LeoColomb

This comment has been minimized.

Member

LeoColomb commented Nov 13, 2018

@dylanh724 OK, thanks a lot for your feedback, appreciated.

We are definitely opened for a PR to reflect your awesome suggestions! 👍

@dylanh724

This comment has been minimized.

dylanh724 commented Nov 19, 2018

I had to restore a backup and now I'm back to 403 forbidden :P I forgot what I did to get it resolved, in the end. Something to do with either that wiki or using a different user for sql. Gahh... sorry.

EDIT: a chmod guide for YOURLS would be nice, too -- what should the main chmod -R be? And I heard /admin should have a different one? I'm horrible with chmod, so I'm just guessing. It'd probably just be a 1-liner guide. sudo chmod -R <xxx> ./ && sudo chmod -R <xxx> ./admin

@LeoColomb

This comment has been minimized.

Member

LeoColomb commented Nov 20, 2018

I had to restore a backup and now I'm back to 403 forbidden

@dylanh724 That's totally unrelated to this issue! 😉

what should the main chmod -R be? And I heard /admin should have a different one?

??
As any other php app, all files and directories should be available for reads and writes for the same user used by the web server (and the PHP interpreter) (often www-data).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment