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

    Solved jekyll 3.9.0 | Error: The theme could not be found.

    GitHub Pages
    5
    8
    481
    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.
    • A
      annaooo last edited by annaooo

      Trying to setup a test page. I get this error

      • created page with index.html and pushed. This worked and shows up on cloudron instance.
      • downloaded a theme http://jekyllthemes.org/themes/no-style-please/
      • removed test index.html from before, unziped theme into repository directory, pushed, get error:
      riting objects: 100% (42/42), 429.22 KiB | 18.66 MiB/s, done.
      Total 42 (delta 2), reused 0 (delta 0), pack-reused 0
      remote: ==================================
      remote:         Publishing website
      remote: ==================================
      remote: => Cleanup build path /run/build
      remote: => Checkout repo into /run/build
      remote: => Remove Gemfile.lock
      remote: => jekyll build
      remote: Configuration file: /run/build/_config.yml
      remote: jekyll 3.9.0 | Error:  The no-style-please theme could not be found.
      To https://www.CLOUD/_git/page
      ! [remote rejected] master -> master (pre-receive hook declined)
      error: failed to push some refs to 'https://www.CLOUD/_git/page'
      

      Also worth noting is that the original test.html would not work when the github pages cloudron app is set to take over the root domain. I needed to set it up to a www subdomain first. Not sure if this is an issue with using cloudflare for dns. But anyway.

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        I can confirm it is not working. The root cause seems to be that the gem for the theme is not installed in the app. I couldn't find out so far how we could make the app so it allows for themes to be installed via bundle/Gemfile.

        For the issue installing on the apex domain, I was not able to reproduce. Does any other app work on that one for you?

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

          AFAIK, GitHub pages only supports the themes listed in https://pages.github.com/themes/ . You cannot put arbitrary jekyll themes. This app is built based on the GitHub pages gem which contains the above hardcoded them list.

          1 Reply Last reply Reply Quote 0
          • A
            annaooo @nebulon last edited by annaooo

            @girish said:

            AFAIK, GitHub pages only supports the themes listed in https://pages.github.com/themes/ . You cannot put arbitrary jekyll themes. This app is built based on the GitHub pages gem which contains the above hardcoded them list.

            Thank you for the clarification. I will stick with those themes than.

            @nebulon said:

            For the issue installing on the apex domain, I was not able to reproduce. Does any other app work on that one for you?

            I did not try another app as apex domain. However, I did now try github pages again as apex and it worked. Perhaps I did something wrong the first time

            atridad 1 Reply Last reply Reply Quote 0
            • atridad
              atridad App Dev @annaooo last edited by

              @annaooo you could try surfer if youโ€™re wanting to host a static site: https://video.lahijiapps.dev/videos/watch/3540b0bb-553f-43bb-8087-fa8e26fd0d46

              Are you dead set on Jekyll and GitHub pages?

              I type things and sometimes those things end up in your browser. ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฎ๐Ÿ‡ท๐Ÿ‡จ๐Ÿ‡ฆ

              A 1 Reply Last reply Reply Quote 0
              • A
                annaooo @atridad last edited by

                @atrilahiji saw surfer as an option. not deadset on pages. just thought it was an interesting option to explore

                robi 1 Reply Last reply Reply Quote 0
                • robi
                  robi @annaooo last edited by

                  @annaooo Surfer has some recently added new useful features. Take a look

                  Life of Gratitude.
                  Life of Advanced Technology

                  1 Reply Last reply Reply Quote 1
                  • atridad
                    atridad App Dev last edited by

                    Yeah I've often found the GitHub Pages app clunky and hard to use. Add in the features of Surfer and I really don't see a need to have GitHub Pages on here. But yeah check out Surfer for sure.

                    I type things and sometimes those things end up in your browser. ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฎ๐Ÿ‡ท๐Ÿ‡จ๐Ÿ‡ฆ

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