Giter Site home page Giter Site logo

Comments (9)

yulahuyed avatar yulahuyed commented on May 11, 2024 2

@rogierlommers
Thank you for your help!
I have updated the Dockerfile which works well on Heroku.

from v2.

yulahuyed avatar yulahuyed commented on May 11, 2024 1

Yeah, I have sent the PR.

from v2.

fguillot avatar fguillot commented on May 11, 2024

Did you try to follow Heroku documentation for Go? https://devcenter.heroku.com/articles/deploying-go

from v2.

yulahuyed avatar yulahuyed commented on May 11, 2024

Yeah, but I get this error:

2018-02-07T02:15:58.828388+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-02-07T02:15:58.828567+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-02-07T02:15:58.952624+00:00 heroku[web.1]: State changed from starting to crashed
2018-02-07T02:15:58.936983+00:00 heroku[web.1]: Process exited with status 137

I changed the 127.0.0.1:8080 to0.0.0.0:PORT on miniflux/config/config.go. It also doesn't work.

from v2.

yulahuyed avatar yulahuyed commented on May 11, 2024

I try to deploy through the container of heroku. Open the app will get the error Internal Server Error.

2018-02-07T14:50:42.514644+00:00 heroku[web.1]: Starting process with command `/bin/sh -c /entrypoint.sh`
2018-02-07T14:50:44.140511+00:00 heroku[web.1]: State changed from starting to up
2018-02-07T14:50:43.952101+00:00 app[web.1]: postgres://ocrwogicgsbgvf:*****@ec2-54-235-66-81.compute-1.amazonaws.com:5432/dfium4c1gpb0k9?sslmode=disable
2018-02-07T14:50:43.956569+00:00 app[web.1]: [2018-02-07T14:50:43] [INFO] Starting Miniflux...
2018-02-07T14:50:43.956832+00:00 app[web.1]: [2018-02-07T14:50:43] [INFO] [Worker] #0 started
2018-02-07T14:50:43.956898+00:00 app[web.1]: [2018-02-07T14:50:43] [INFO] [Worker] #2 started
2018-02-07T14:50:43.995835+00:00 app[web.1]: [2018-02-07T14:50:43] [INFO] Listening on "0.0.0.0:28800" without TLS
2018-02-07T14:51:43.716793+00:00 app[web.1]: [2018-02-07T14:51:43] [ERROR] [Middleware:Session] unable to create session: pq: relation "sessions" does not exist

from v2.

rogierlommers avatar rogierlommers commented on May 11, 2024

from v2.

yulahuyed avatar yulahuyed commented on May 11, 2024

@rogierlommers I use the binary file directly on Dockerfile. (https://github.com/yulahuyed/miniflux-docker)
Could you please help me with this issue?

from v2.

rogierlommers avatar rogierlommers commented on May 11, 2024

I don't use Heroku, but can you enter the running container? if so, do it by docker exec <name> /bin/bash. Now you are inside the container. Next step is to run the migrations (only do this once):

/usr/local/bin/miniflux -migrate

This process performs all necessary database changes. After it's down, restart your container and show me the output here please.

from v2.

rogierlommers avatar rogierlommers commented on May 11, 2024

@yulahuyed maybe send a PR to @fguillot for the Docker project? (https://github.com/miniflux/docker)

from v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.