Skip to content
New issue

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

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

Already on GitHub? # to your account

Own hosted troubleshooting - various issues fixed - stuck on NGINX #272

Open
ITINVENTBE opened this issue Dec 13, 2024 · 0 comments
Open

Comments

@ITINVENTBE
Copy link

First of all, love the concept and congratz to the contribution.

I've been looking at the self-hosted version of your project and have been running into several issues.
One of them was the 404 error someone posted a little while back but I've been able to fix that.

So here's a little list of what I did, what my environment is and where I'm stuck. hope someone finds it usefull and can help.

I'm hosting the site on my own server and uploaded the source, installed nodejs20 & yarn and published using NGINX.
Did a yarn build and then yarn build.static and copied the /dist folder but this gave me all sorts of weird things.
First of all, all the JS files gave an error 404.
When I looked at the /dist folder, it seemed that the /build folder inside where the JS files are stored, did not build.
Digging a little into yarn, I did a yarn build.client and saw that this created a new /dist folder containing all the Js files and css files needed.
Copying this to the /dist folder where the the static build already was present, fixed the 404 issue and loaded the site correctly.

Here's where I'm stuck, the entire site loads, the checklists loads and are interactive, however, when I click the checklist, the site just reloads.
When I use hostname/checklist, I can see the checklists so they are rendered from the .yml file, which is correct behavior.
What I'm assuming, is that NGINX is unable to handle the slug and I have not yet been able to figure out how to tell NGINX that the slugs are not real files but rather the site generating this content.

Anyone has any Idea?

@ITINVENTBE ITINVENTBE changed the title Own hosted troubleshooting - various issues fixed Own hosted troubleshooting - various issues fixed - stuck on NGINX Dec 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant