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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • 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

Cloudron Forum

Apps | Demo | Docs | Install

Site not building suddenly

Scheduled Pinned Locked Moved GitHub Pages
4 Posts 3 Posters 62 Views
    • 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
  • robiR Offline
    robiR Offline
    robi
    replied to jordanurbs on last edited by
    #2

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

    Life of sky tech

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jordanurbs 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
  • jordanurbsJ Offline
    jordanurbsJ Offline
    jordanurbs
    replied to girish 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.