Skip to content

ERROR msg="can't start blog handler. #6

@adegoodyer

Description

@adegoodyer

Hola Mario,

Just running through the Grafana Beyla setup for docker https://grafana.com/docs/beyla/latest/setup/docker/

Am getting the following error when pulling the docker image..

docker run -p 18443:8443 --name goblog mariomac/goblog:dev

Unable to find image 'mariomac/goblog:dev' locally
dev: Pulling from mariomac/goblog
dafa2b0c44d2: Pull complete
546bfa5bc9eb: Pull complete
Digest: sha256:5dd51dec9f02ecc9cbb7a5424a0828e7d0fa1132a8ce04bb1177ca9dca805c11
Status: Downloaded newer image for mariomac/goblog:dev
time=2024-11-15T11:58:53.221Z level=INFO msg="Starting GoBlog..."
time=2024-11-15T11:58:53.221Z level=INFO msg="loading all blog entries and pages" dir=entries
time=2024-11-15T11:58:53.221Z level=INFO msg="Scanning for template" folder=template
time=2024-11-15T11:58:53.221Z level=ERROR msg="can't start blog handler. ABORTING" error="loading resources: loading template: parsing template files: html/template: no files named in call to ParseFiles" rootPath=./ domain=localhost

Also the same error when I compile and run locally

go build -o goblog ./src

./goblog 
time=2024-11-15T12:15:05.735Z level=INFO msg="Starting GoBlog..."
time=2024-11-15T12:15:05.735Z level=INFO msg="loading all blog entries and pages" dir=entries
time=2024-11-15T12:15:05.735Z level=INFO msg="Scanning for template" folder=template
time=2024-11-15T12:15:05.735Z level=ERROR msg="can't start blog handler. ABORTING" error="loading resources: loading template: parsing template files: html/template: no files named in call to ParseFiles" rootPath=./ domain=localhost

Not tried via k8s yet as likely to hit similar issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions