Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I only see listing of my deployed folder, not the website. #70

Open
joergi opened this issue Oct 20, 2020 · 16 comments
Open

I only see listing of my deployed folder, not the website. #70

joergi opened this issue Oct 20, 2020 · 16 comments

Comments

@joergi
Copy link

joergi commented Oct 20, 2020

If i deploy my jeykll gh-page blog with github, it works fine.
the code is here, the blog is here

I also added the docker-compose.yml file to my project.

version: '3'
services:
  jekyll:
    image: starefossen/github-pages
    environment:
      - "JEKYLL_GITHUB_TOKEN: MY_TOKEN_XXXXX"
    ports:
      - "4000:4000"
    volumes:
      - ./:/usr/src/app
    tty: true

# file from https://github.com/Starefossen/docker-github-pages

the server get's deployed, but I only see this:
image
This is the structure of the deployed server with all tags and topics...
but I can't see the website itself.

in the online version the default.html takes care of the deployment.

I have no idea, what I need to change, that it works locally too (because at the moment I'm always doing try'n'error on the live version

Thanks for your help @Starefossen !

@Starefossen
Copy link
Owner

What does the log say when you run the docker-compose up command?

@joergi
Copy link
Author

joergi commented Oct 20, 2020

thx for your quick reply

$ dc up
Starting blog_jekyll_1 ... done
Attaching to blog_jekyll_1
jekyll_1  | Configuration file: /usr/src/app/_config.yml
jekyll_1  | Invalid theme folder: _includes
jekyll_1  |             Source: /usr/src/app
jekyll_1  |        Destination: /_site
jekyll_1  |  Incremental build: disabled. Enable with --incremental
jekyll_1  |       Generating... 
jekyll_1  |        Jekyll Feed: Generating feed for posts
jekyll_1  |                     done in 0.372 seconds.
jekyll_1  |  Auto-regeneration: enabled for '/usr/src/app'
jekyll_1  |     Server address: http://0.0.0.0:4000
jekyll_1  |   Server running... press ctrl-c to stop.

@kyeotic
Copy link

kyeotic commented Oct 20, 2020

I'm getting the same error, Invalid theme folder: _includes, it seems to be an issue with using one of the Supported themes with customizations. I am using Midnight

@joergi
Copy link
Author

joergi commented Oct 21, 2020

@kyeotic - do you only have this error or is your website also locally not rendered correctly?

@kyeotic
Copy link

kyeotic commented Oct 21, 2020

@joergi It renders the same as yours, with a list page and no styling.

@joergi
Copy link
Author

joergi commented Oct 21, 2020

Any idea @Starefossen ?

@joergi
Copy link
Author

joergi commented Oct 21, 2020

The plugins I use :

plugins:
 - jekyll-feed
 - jekyll-sitemap
 - jekyll-seo-tag 

theme: jekyll-theme-tactile

https://github.com/joergi/blog/blob/main/_config.yml

@Starefossen
Copy link
Owner

Unfortunately I have not been able to figure out why this is happening @joergi.... 😕

@joergi
Copy link
Author

joergi commented Oct 27, 2020

okay :-(
But you can confirm the error, right?

@joergi
Copy link
Author

joergi commented Oct 30, 2020

when I remove the theme completely, I don't have any error anymore

$ docker compose up

Starting blog_jekyll_1 ... done
Attaching to blog_jekyll_1
jekyll_1  | Configuration file: /usr/src/app/_config.yml
jekyll_1  |             Source: /usr/src/app
jekyll_1  |        Destination: /_site
jekyll_1  |  Incremental build: disabled. Enable with --incremental
jekyll_1  |       Generating... 
jekyll_1  |        Jekyll Feed: Generating feed for posts
jekyll_1  |                     done in 0.285 seconds.
jekyll_1  |  Auto-regeneration: enabled for '/usr/src/app'
jekyll_1  |     Server address: http://0.0.0.0:4000
jekyll_1  |   Server running... press ctrl-c to stop.

but there is still not file to click at.

@joergi
Copy link
Author

joergi commented Nov 9, 2020

do you have a "real" simple project where it works @Starefossen ?
just to play around? Thanks a lot

@joergi
Copy link
Author

joergi commented Dec 12, 2020

Any update on this @Starefossen ?

@rantoniuk
Copy link

Probably a problem with Jekyll version, see here

joergi added a commit to joergi/docker-github-pages that referenced this issue Mar 19, 2021
@joergi
Copy link
Author

joergi commented Mar 21, 2021

Hey @warden I made a fork from @Starefossen project and use the newest versions.....
see here https://github.com/joergi/docker-github-pages/blob/master/Dockerfile#L3

but I still have the same error somehow.

@LuigiLazzari
Copy link

I have the same problem.

@manolosolalinde
Copy link

Is this resolved? I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants