-
Notifications
You must be signed in to change notification settings - Fork 10
Update INSTALL.md #10
Conversation
Add Nginx configuration line
Thanks for your contribution, what about URL rewriting? On Apache it is taken care of by the |
I'm not sure I understand the issue. I have this line:
Does that make sense? |
Not using nginx, I'd be unable to tell, but if it works for you then it should be ok. |
Ahh.. There is actually an issue. Compare this: |
Indeed. Looking into the Apache rewriting, it turns out there's no translation from the URI to a query string. The |
It's a puzzle everything works apart from the tag search. Compare: https://dir.hubup.pro/search?q=linux I've read his nginx page https://www.nginx.com/blog/creating-nginx-rewrite-rules/ but I don't know what I'm looking for. Do you have any idea what is is not rewritten? |
Error log output
|
Arg, I found the issue. I got this error before so I quickly updated the schema on my database but I didn’t reflect the change in the migration script. |
Please update to the latest master, I won't push a release until I can make a proper project archive. |
New release v2.0.4 pushed, I changed the INSTALL instructions, which makes conflicts with your changes. |
Well done, Hypolite! Glad you found it. Thanks! I'll update to the new release this evening, test the nginx configuration again, and resolve the conflict. Also I'll be adding some tags to my profile soon too. ^-^ |
Resolved conflict
Do you plan to add the nginx rewrite rule? |
I was planning to, but something is still not working. It's not populating the directory properly. Logs look ok. All three profile entries you see https://dir.hubup.pro/ are added manually via console. This is the only error I can see.
Could this be a permission issue? I'm running this under a dedicated user that is part of the www-data group. Cron job also runs under this user. |
I did a clean installation today with the latest master because of the above db error. Searching tags is now working but (Signing off now. Catch you later. Cheers.) |
Can you please add
at the same level as |
Did you add a remote directory to your poll queue like |
Yep. I've added two remote directories. This one and Adam's. I'll add the logger level this evening and report back. Lets just wait with this PR until everything works properly and then I update the rewrite rules. |
Interestingly the server list of the directory is filling up as expected; it's only the profiles that don't seem to work. |
Found the issue, a wrong boolean condition: https://github.com/friendica/friendica-directory/releases/tag/v2.0.6 Your directory should fill up next time the directories will be polled. You can set the |
Great. I'll update to 2.0.6 as soon as I have shell access. Thanks! |
Now, it works like a charm! Could you please review the rewrite settings. Some of it might be superfluous; it works though. |
Thanks for your contribution! |
My pleasure! |
Add Nginx configuration line