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

sProblem with proper operation of awwesome - hows only standard nginx welcome page #22

Open
tarzinio opened this issue Apr 20, 2024 · 2 comments

Comments

@tarzinio
Copy link

tarzinio commented Apr 20, 2024

Hi,
I have a problem with the application working properly. After launching it, the default nginx page is displayed.
Only the awwesome image doesn't show
I use dockge for installation

obraz

yaml

version: "3.8"
services:
  ofelia:
    image: mcuadros/ofelia:latest
    container_name: ofelia
    depends_on:
      - source
    command: daemon --docker
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    labels:
      ofelia.job-run.awwesome.schedule: "@daily"
      ofelia.job-run.awwesome.container: awwesome
  source:
    image: mkitzmann/awwesome:latest
    platform: linux/amd64
    container_name: awwesome
    working_dir: /usr/src/app
    environment:
      TOKEN_GITHUB: ${TOKEN_GITHUB}
    command: sh -c "npm run build && rm -r html/* && cp -r dist/* html && exit"
    volumes:
      - shared_volume:/usr/src/app/html
    depends_on: []
  web:
    image: nginx
    container_name: nginx
    ports:
      - 8081:80
    volumes:
      - shared_volume:/usr/share/nginx/html:ro
volumes:
  shared_volume: null
networks: {}

logs

nginx     | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx     | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx     | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx     | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx     | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx     | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx     | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx     | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx     | /docker-entrypoint.sh: Configuration complete; ready for start up
nginx     | 2024/04/20 13:38:17 [notice] 1#1: using the "epoll" event method
nginx     | 2024/04/20 13:38:17 [notice] 1#1: nginx/1.25.5
nginx     | 2024/04/20 13:38:17 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14) 
nginx     | 2024/04/20 13:38:17 [notice] 1#1: OS: Linux 5.4.0-42-generic
nginx     | 2024/04/20 13:38:17 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx     | 2024/04/20 13:38:17 [notice] 1#1: start worker processes
nginx     | 2024/04/20 13:38:17 [notice] 1#1: start worker process 28
ofelia    | 2024-04-20T13:38:18.811Z  scheduler.go:44 ▶ NOTICE New job registered "awwesome" - "" - "@daily"
ofelia    | 2024-04-20T13:38:18.812Z  scheduler.go:55 ▶ DEBUG Starting scheduler with 1 jobs
awwesome  | 
awwesome  | > [email protected] build
awwesome  | > vite build
awwesome  | 
awwesome  | 
awwesome  | vite v4.4.8 building SSR bundle for production...
awwesome  | transforming...
awwesome  | Browserslist: caniuse-lite is outdated. Please run:
awwesome  |   npx update-browserslist-db@latest
awwesome  |   Why you should do it regularly: https://github.com/browserslist/update-db#readme
awwesome  | ✓ 101 modules transformed.
awwesome  | rendering chunks...
awwesome  | creating entries function
awwesome  | 
awwesome  | vite v4.4.8 building for production...
awwesome  | transforming...
awwesome  | ✓ 91 modules transformed.
awwesome  | rendering chunks...
awwesome  | computing gzip size...
awwesome  | .svelte-kit/output/client/_app/version.json                              0.03 kB │ gzip:  0.05 kB
awwesome  | .svelte-kit/output/client/vite-manifest.json                             2.70 kB │ gzip:  0.49 kB
awwesome  | .svelte-kit/output/client/_app/immutable/assets/0.0536c90a.css          11.66 kB │ gzip:  3.07 kB
awwesome  | .svelte-kit/output/client/_app/immutable/chunks/each.e59479a4.js         0.09 kB │ gzip:  0.10 kB
awwesome  | .svelte-kit/output/client/_app/immutable/chunks/stores.64ae6536.js       0.30 kB │ gzip:  0.18 kB
awwesome  | .svelte-kit/output/client/_app/immutable/nodes/1.90e3d46f.js             0.84 kB │ gzip:  0.52 kB
awwesome  | .svelte-kit/output/client/_app/immutable/chunks/index.08fbc02c.js        2.39 kB │ gzip:  1.24 kB
awwesome  | .svelte-kit/output/client/_app/immutable/chunks/singletons.bcf62d1c.js   2.91 kB │ gzip:  1.49 kB
awwesome  | .svelte-kit/output/client/_app/immutable/entry/app.29613178.js           6.01 kB │ gzip:  2.35 kB
awwesome  | .svelte-kit/output/client/_app/immutable/chunks/scheduler.8ad5346b.js    8.11 kB │ gzip:  3.21 kB
awwesome  | .svelte-kit/output/client/_app/immutable/entry/start.0b0873d5.js        24.06 kB │ gzip:  9.55 kB
awwesome  | .svelte-kit/output/client/_app/immutable/nodes/0.4056d65a.js            27.28 kB │ gzip:  5.43 kB
awwesome  | .svelte-kit/output/client/_app/immutable/nodes/2.b494147c.js            59.91 kB │ gzip: 20.55 kB
awwesome  | ✓ built in 7.41s
awwesome  | creating load function, category:  
awwesome  | loaded 1438 projects from Awesome Selfhosted and Sysadmin in 19697.755957999267ms
awwesome  | Github Repos total: 1212
awwesome  | Repos: 19, Github API cost: 1, remaining: 4904
awwesome  | Repos: 20, Github API cost: 1, remaining: 4903
awwesome  | Repos: 19, Github API cost: 1, remaining: 4902
awwesome  | Repos: 19, Github API cost: 1, remaining: 4901
awwesome  | Repos: 19, Github API cost: 1, remaining: 4900
awwesome  | Repos: 17, Github API cost: 1, remaining: 4899
awwesome  | Repos: 20, Github API cost: 1, remaining: 4898
awwesome  | Repos: 18, Github API cost: 1, remaining: 4897
awwesome  | Repos: 20, Github API cost: 1, remaining: 4896
awwesome  | Repos: 19, Github API cost: 1, remaining: 4895
awwesome  | Repos: 16, Github API cost: 1, remaining: 4894
awwesome  | Repos: 18, Github API cost: 1, remaining: 4893
awwesome  | Repos: 20, Github API cost: 1, remaining: 4892
awwesome  | Repos: 20, Github API cost: 1, remaining: 4891
awwesome  | Repos: 18, Github API cost: 1, remaining: 4890
awwesome  | Repos: 19, Github API cost: 1, remaining: 4889
awwesome  | Repos: 18, Github API cost: 1, remaining: 4888
awwesome  | Repos: 18, Github API cost: 1, remaining: 4887
awwesome  | Repos: 19, Github API cost: 1, remaining: 4886
awwesome  | Repos: 20, Github API cost: 1, remaining: 4885
awwesome  | Repos: 16, Github API cost: 1, remaining: 4884
awwesome  | Repos: 20, Github API cost: 1, remaining: 4883
awwesome  | Repos: 20, Github API cost: 1, remaining: 4882
awwesome  | Repos: 19, Github API cost: 1, remaining: 4881
awwesome  | Repos: 18, Github API cost: 1, remaining: 4880
awwesome  | Repos: 19, Github API cost: 1, remaining: 4879
awwesome  | Repos: 18, Github API cost: 1, remaining: 4878
awwesome  | Repos: 19, Github API cost: 1, remaining: 4877
awwesome  | Repos: 20, Github API cost: 1, remaining: 4876
awwesome  | Repos: 19, Github API cost: 1, remaining: 4875
awwesome  | Repos: 20, Github API cost: 1, remaining: 4874
awwesome  | Repos: 17, Github API cost: 1, remaining: 4873
awwesome  | Repos: 19, Github API cost: 1, remaining: 4872
awwesome  | Repos: 20, Github API cost: 1, remaining: 4871
awwesome  | Repos: 20, Github API cost: 1, remaining: 4870
awwesome  | Repos: 18, Github API cost: 1, remaining: 4869
awwesome  | Repos: 19, Github API cost: 1, remaining: 4868
awwesome  | Repos: 20, Github API cost: 1, remaining: 4867
awwesome  | Repos: 19, Github API cost: 1, remaining: 4866
awwesome  | Repos: 20, Github API cost: 1, remaining: 4865
awwesome  | Repos: 20, Github API cost: 1, remaining: 4864
awwesome  | Repos: 20, Github API cost: 1, remaining: 4863
awwesome  | Repos: 17, Github API cost: 1, remaining: 4862
awwesome  | Repos: 19, Github API cost: 1, remaining: 4861
awwesome  | Repos: 20, Github API cost: 1, remaining: 4860
awwesome  | Repos: 19, Github API cost: 1, remaining: 4859
awwesome  | Repos: 18, Github API cost: 1, remaining: 4858
awwesome  | Repos: 20, Github API cost: 1, remaining: 4857
awwesome  | Repos: 20, Github API cost: 1, remaining: 4856
awwesome  | Repos: 19, Github API cost: 1, remaining: 4855
awwesome  | Repos: 18, Github API cost: 1, remaining: 4854
awwesome  | Repos: 18, Github API cost: 1, remaining: 4853
awwesome  | Repos: 18, Github API cost: 1, remaining: 4852
awwesome  | Repos: 18, Github API cost: 1, remaining: 4851
awwesome  | Repos: 19, Github API cost: 1, remaining: 4850
awwesome  | Repos: 17, Github API cost: 1, remaining: 4849
awwesome  | Repos: 17, Github API cost: 1, remaining: 4848
awwesome  | Repos: 18, Github API cost: 1, remaining: 4847
awwesome  | Repos: 15, Github API cost: 1, remaining: 4846
awwesome  | Repos: 16, Github API cost: 1, remaining: 4845
awwesome  | Repos: 12, Github API cost: 1, remaining: 4844
awwesome  | fetched 1134 repositories from Github in 194829.6761619998ms
awwesome  | 50 new Projects found
awwesome  | 1438 total Projects. List saved to log/projects.json.
awwesome  | 292 Projects could not be found on GitHub. List saved to log/notfound.json.
awwesome  | processed 1438 projects in 236298.99649900012ms
awwesome  | creating load function, category:  analytics
awwesome  | .svelte-kit/output/server/vite-manifest.json                               2.14 kB
awwesome  | .svelte-kit/output/server/_app/immutable/assets/_layout.0536c90a.css      11.66 kB
awwesome  | .svelte-kit/output/server/entries/pages/_layout.ts.js                      0.10 kB
awwesome  | .svelte-kit/output/server/internal.js                                      0.19 kB
awwesome  | .svelte-kit/output/server/entries/fallbacks/error.svelte.js                0.47 kB
awwesome  | .svelte-kit/output/server/chunks/stores.js                                 0.66 kB
awwesome  | .svelte-kit/output/server/chunks/index.js                                  1.33 kB
awwesome  | .svelte-kit/output/server/chunks/index2.js                                 2.62 kB
awwesome  | .svelte-kit/output/server/chunks/ssr.js                                    4.62 kB
awwesome  | .svelte-kit/output/server/chunks/internal.js                               5.91 kB
awwesome  | .svelte-kit/output/server/entries/pages/_layout.svelte.js                 10.48 kB
awwesome  | .svelte-kit/output/server/entries/pages/_...category_/_page.server.ts.js  11.08 kB
awwesome  | .svelte-kit/output/server/entries/pages/_...category_/_page.svelte.js     20.40 kB
awwesome  | .svelte-kit/output/server/index.js                                        87.83 kB
awwesome  | 
awwesome  | Run npm run preview to preview your production build locally.
awwesome  | 
awwesome  | > Using @sveltejs/adapter-static
awwesome  |   Wrote site to "dist"
awwesome  |   ✔ done
awwesome  | ✓ built in 4m 38s
awwesome  | npm notice 
awwesome  | npm notice New minor version of npm available! 10.2.3 -> 10.5.2
awwesome  | npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
awwesome  | npm notice Run `npm install -g [email protected]` to update!
awwesome  | npm notice 
awwesome exited with code 0
@mkitzmann
Copy link
Owner

Im not sure why this is happing on your setup. The static generation is working fine. The error seems to happen at npm run preview which is a vite feature.

@tarzinio
Copy link
Author

@micash545 How can I check what exactly is causing the error?

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

2 participants