<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[GitHub pages doesn&#x27;t seem to build the site?]]></title><description><![CDATA[<p dir="auto">I've been testing out the Cloudron github pages app, using approximately the test case outlined in the earlier post here:</p>
<p dir="auto"><a href="https://forum.cloudron.io/post/1889">https://forum.cloudron.io/post/1889</a></p>
<p dir="auto">Although correctly pushing the repository inside the site, so</p>
<ul>
<li><code>gem install bundler jekyll</code></li>
<li><code>jekyll new my-awesome-site</code></li>
<li><code>cd my-awesome-site</code></li>
<li><code>git init</code></li>
<li><code>git add .</code></li>
<li><code>git commit -m 'initial commit'</code></li>
<li><code>git remote add page https://my.domain/_git/page</code></li>
<li><code>git push page master</code></li>
</ul>
<p dir="auto">After the push succeeds, I visit the app's URL, and I see an error:</p>
<pre><code>Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'
</code></pre>
<p dir="auto">Inspecting the contents of <code>/app/data/website/</code>, it's not the built version of the site. It looks like a copy of the latest <code>master</code> branch commit, which intentionally has no <code>404.html</code>, nor an <code>index.html</code> file.</p>
<p dir="auto">Shouldn't the app have built the site, and published the result in <code>/app/data/website/</code>?</p>
<p dir="auto">At the very least I'd have expected some evidence of a <code>_site</code> folder or log entries showing that Jekyll has been run. The logs simply show:</p>
<pre><code>Jun 27 12:01:17 =&gt; First run, create bare repo
Jun 27 12:01:17 Initialized empty Git repository in /app/data/repo.git/
Jun 27 12:01:17 =&gt; Install welcome page
Jun 27 12:01:17 =&gt; Update welcome page
Jun 27 12:01:17 =&gt; Ensure git hook
Jun 27 12:01:17 =&gt; Ensure permissions
Jun 27 12:01:17 =&gt; Run server
Jun 27 12:01:17 Listening on port 3000
Jun 27 12:01:17 Using git repo at /app/data/repo.git
Jun 27 12:01:17 Serving up directory /app/data/website
Jul 05 11:25:59 git: info {}
Jul 05 11:26:11 git: info {}
Jul 05 12:01:34 git: info {}
Jul 05 12:01:40 git: info {}
Jul 05 12:01:40 git: push {
Jul 05 12:01:40 head: '5c044c8e60311e7bb76c61817d3c3b65eededd46',
Jul 05 12:01:40 last: '0095e37ae41807050bb92ead9279c38dfc84151bb247',
Jul 05 12:01:40 refname: 'refs/heads/master',
Jul 05 12:01:40 ref: 'heads',
Jul 05 12:01:40 name: 'master',
Jul 05 12:01:40 branch: 'master'
Jul 05 12:01:40 }
Jul 05 12:01:52 Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'
</code></pre>
<p dir="auto">I was wondering if the build is failing because of Jekyll version differences.</p>
<p dir="auto">I attempted to match the version exactly. Unfortunately the latest version of Jekyll mentioned in the <a href="https://forum.cloudron.io/post/8844">updates thread</a> (3.8.7) won't install due to errors (<em>Bundler could not find compatible versions for gem "kramdown"</em>), so I used the next version up which will install, 3.9.2. (I note Jekyll has a 4.0 series now).</p>
<p dir="auto">I'm not sure how crucial that version for the app to work correctly - but I don't see any errors in the logs, so I can only assume it's okay to have a slight difference?  If the Github Pages app is very sensitive to version differences in Jekyll, how would I deal with errors such as the one above, due to changes in compatible versions of other gems?</p>
]]></description><link>https://forum.cloudron.io/topic/7319/github-pages-doesn-t-seem-to-build-the-site</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 16:36:24 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7319.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Jul 2022 11:32:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GitHub pages doesn&#x27;t seem to build the site? on Sat, 09 Jul 2022 11:18:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thanks for the sanity check.  There does seem to have been something wrong with my jekyll site creation. Trying again, it works as advertised...!? I can see a <code>remote: =&gt; jekyll build</code> line in the git-push output.</p>
<p dir="auto">IIRC I did attempt this more than once earlier, and I'm not sure what was wrong.</p>
<p dir="auto">Anyway, hopefully this thread may nevertheless be helpful for someone else getting started on this.</p>
]]></description><link>https://forum.cloudron.io/post/50713</link><guid isPermaLink="true">https://forum.cloudron.io/post/50713</guid><dc:creator><![CDATA[wu-lee]]></dc:creator><pubDate>Sat, 09 Jul 2022 11:18:23 GMT</pubDate></item><item><title><![CDATA[Reply to GitHub pages doesn&#x27;t seem to build the site? on Wed, 06 Jul 2022 12:04:13 GMT]]></title><description><![CDATA[<p dir="auto">Per <a href="https://pages.github.com/versions/" target="_blank" rel="noopener noreferrer nofollow ugc">https://pages.github.com/versions/</a>, the jekyll version needed is 3.9.2. So, I did <code>sudo gem install jekyll -v 3.9.2</code>.</p>
<p dir="auto">Then, <code>jekyll new my-awesome-site</code>. It has 404.html ...</p>
<pre><code>~/tmp/pages/my-awesome-site$ ls -l
total 28
-rw-r--r-- 1 girish girish  398 Jul  6 17:29 404.html
-rw-r--r-- 1 girish girish  539 Jul  6 17:29 about.md
-rw-r--r-- 1 girish girish 1652 Jul  6 17:29 _config.yml
-rw-rw-r-- 1 girish girish 1434 Jul  6 17:29 Gemfile
-rw-rw-r-- 1 girish girish 1990 Jul  6 17:29 Gemfile.lock
-rw-r--r-- 1 girish girish  175 Jul  6 17:29 index.md
drwxrwxr-x 2 girish girish 4096 Jul  6 17:29 _posts
</code></pre>
<p dir="auto">Opening the page, I get:</p>
<p dir="auto"><img src="/assets/uploads/files/1657109032175-c6bc5cce-29ec-490b-abf1-6b3ddd983b19-image.png" alt="c6bc5cce-29ec-490b-abf1-6b3ddd983b19-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So, I suspect, something went wrong with jekyll project in your setup.</p>
]]></description><link>https://forum.cloudron.io/post/50579</link><guid isPermaLink="true">https://forum.cloudron.io/post/50579</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 06 Jul 2022 12:04:13 GMT</pubDate></item><item><title><![CDATA[Reply to GitHub pages doesn&#x27;t seem to build the site? on Wed, 06 Jul 2022 11:54:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wu-lee" aria-label="Profile: wu-lee">@<bdi>wu-lee</bdi></a> said in <a href="/post/50546">GitHub pages doesn't seem to build the site?</a>:</p>
<blockquote>
<p dir="auto">Inspecting the contents of /app/data/website/, it's not the built version of the site. It looks like a copy of the latest master branch commit, which intentionally has no 404.html, nor an index.html file.</p>
</blockquote>
<p dir="auto">I got jekyll 4.2.2 installed when I did <code>gem install jekyll</code>. And after jekyll new , the site has 404 page.</p>
<pre><code>~/tmp/pages/my-awesome-site$ ls -l
total 28
-rw-r--r-- 1 girish girish  419 Jul  6 17:19 404.html
-rw-r--r-- 1 girish girish  539 Jul  6 17:19 about.markdown
-rw-r--r-- 1 girish girish 2080 Jul  6 17:19 _config.yml
-rw-rw-r-- 1 girish girish 1304 Jul  6 17:19 Gemfile
-rw-rw-r-- 1 girish girish 1899 Jul  6 17:23 Gemfile.lock
-rw-r--r-- 1 girish girish  175 Jul  6 17:19 index.markdown
drwxrwxr-x 2 girish girish 4096 Jul  6 17:19 _posts
</code></pre>
]]></description><link>https://forum.cloudron.io/post/50578</link><guid isPermaLink="true">https://forum.cloudron.io/post/50578</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 06 Jul 2022 11:54:56 GMT</pubDate></item></channel></rss>