Site not building suddenly
-
I can't tell if it's a DNS issue (already tried purging Cloudflare cache + re-syncing DNS from Cloudron) or a git issue but suddenly my github pages app will not update with my git repo.
In the logs of my newest app attempt:
Listening on port 3000 Using git repo at /app/data/repo.git Serving up directory /app/data/website git: info {} git: push {} Error: ENOENT: no such file or directory, stat '/app/data/website/404.html' Error: ENOENT: no such file or directory, stat '/app/data/website/404.html' Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'and on and on that error goes...
This is a static HTML site that was working just fine before it stopped working.
Any clues?
-
I can't tell if it's a DNS issue (already tried purging Cloudflare cache + re-syncing DNS from Cloudron) or a git issue but suddenly my github pages app will not update with my git repo.
In the logs of my newest app attempt:
Listening on port 3000 Using git repo at /app/data/repo.git Serving up directory /app/data/website git: info {} git: push {} Error: ENOENT: no such file or directory, stat '/app/data/website/404.html' Error: ENOENT: no such file or directory, stat '/app/data/website/404.html' Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'and on and on that error goes...
This is a static HTML site that was working just fine before it stopped working.
Any clues?
@jordanurbs have you checked in the File Manager or Terminal if that file path still exists? Permissions?
-
I can't tell if it's a DNS issue (already tried purging Cloudflare cache + re-syncing DNS from Cloudron) or a git issue but suddenly my github pages app will not update with my git repo.
In the logs of my newest app attempt:
Listening on port 3000 Using git repo at /app/data/repo.git Serving up directory /app/data/website git: info {} git: push {} Error: ENOENT: no such file or directory, stat '/app/data/website/404.html' Error: ENOENT: no such file or directory, stat '/app/data/website/404.html' Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'and on and on that error goes...
This is a static HTML site that was working just fine before it stopped working.
Any clues?
-
@jordanurbs Does it work if you create an empty 404.html file as the error suggests?
@girish I created a 404.html both in the file manager and in the git repo---nothing.
@robi checked I took a look in the file manager & terminal and there were no clues as to why the repo was there but the files were not
I did find a workable solution: I ended up cloning the repo into /app/data/ and then renaming the directory to 'website' and now it's live again.
I seem to have to pull manually from the app's terminal though, and can't just push to the 'page' remote from my local machine. Is there a git command I can use in the /app/data/website directory to have it stay synced to the 'page' remote like the cloudron app should be doing anyway?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login