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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. GitHub Pages
  3. Site not building suddenly

Site not building suddenly

Scheduled Pinned Locked Moved GitHub Pages
4 Posts 3 Posters 1.6k Views 3 Watching
  • 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.
  • jordanurbsJ Offline
    jordanurbsJ Offline
    jordanurbs
    wrote on last edited by jordanurbs
    #1

    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?

    robiR girishG 2 Replies Last reply
    0
    • jordanurbsJ 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?

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

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

      Conscious tech

      1 Reply Last reply
      0
      • jordanurbsJ 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?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

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

        jordanurbsJ 1 Reply Last reply
        1
        • girishG girish

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

          jordanurbsJ Offline
          jordanurbsJ Offline
          jordanurbs
          wrote on last edited by
          #4

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

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search