Skip Navigation
Lemmy Support @lemmy.ml suspended @lemmy.ml

[RESOLVED] Getting a 404 Fetch Error When Attempting to Upgrade to 0.17.0

I made the two version number changes to my docker-compose.yml file. Ran Docker Compose Down then Docker Compose Up -D.

Visit https://beehaw.org and you'll see the error in your browser:

404: FetchError: request to http://0.0.0.0:8536/api/v3/site

19
19 comments
  • Type

    docker compose logs -f lemmy
    

    (or docker-compose) to see the logs.

    Is the last message saying that the database migration is going to be run? If so, you need to wait. It can take a few hours.

    • Also, did you change the variables in the Lemmy UI environment?

      (Edit to specify, in the docker-compose.yml file the variables are now different)

      The lemmy-ui environment variables have changed, and should now look like:
      
        environment:
          - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
          - LEMMY_UI_LEMMY_EXTERNAL_HOST={{ domain }}
          - LEMMY_UI_HTTPS=true
      
      

      There are also other instructions that you need to follow. Are you following the release note instructions?

      See: https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md#lemmy-v0170-release-2023-01-31

19 comments