Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Site not building suddenly

    GitHub Pages
    3
    4
    43
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jordanurbs
      jordanurbs last edited by jordanurbs

      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?

      robi girish 2 Replies Last reply Reply Quote 0
      • robi
        robi @jordanurbs last edited by

        @jordanurbs have you checked in the File Manager or Terminal if that file path still exists? Permissions?

        Life of Advanced Technology

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @jordanurbs last edited by

          @jordanurbs Does it work if you create an empty 404.html file as the error suggests?

          jordanurbs 1 Reply Last reply Reply Quote 1
          • jordanurbs
            jordanurbs @girish last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB