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

Can't update docker weblate from 4.7.1 to 4.8.1 #6719

Closed
1 task done
steam3d opened this issue Oct 26, 2021 · 8 comments
Closed
1 task done

Can't update docker weblate from 4.7.1 to 4.8.1 #6719

steam3d opened this issue Oct 26, 2021 · 8 comments
Assignees
Labels
documentation Improvements or additions to the documentation.
Milestone

Comments

@steam3d
Copy link
Contributor

steam3d commented Oct 26, 2021

Describe the issue
The docker weblate is not updated from 4.7.1 to 4.8.1.

  • I've read and searched the docs and did not find the answer there.
    If you didn’t try already, try to search there what you wrote above.

To Reproduce the issue

Steps to reproduce the behavior:

  1. Open weblate check version (4.7.1)
  2. docker-compose stop
  3. docker-compose pull
  4. docker-compose up
  5. Open weblate the version has not changed (4.7.1)

Expected behavior
Update to the latest version weblate.

Server configuration and status

Weblate installation: Docker

@nijel
Copy link
Member

nijel commented Oct 26, 2021

What tag do you use in docker-compose.yml? What did docker-compose pull fetch?

The latest tag contains 4.8.1...

@nijel nijel added the question This is more a question for the support than an issue. label Oct 26, 2021
@github-actions
Copy link

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

@steam3d
Copy link
Contributor Author

steam3d commented Oct 26, 2021

cat docker-compose.yml

version: "3"
services:
  weblate:
    image: weblate/weblate
    volumes:
      - weblate-data:/app/data
    env_file:
      - ./environment
    restart: always
    depends_on:
      - database
      - cache
  database:
    image: postgres:13-alpine
    env_file:
      - ./environment
    volumes:
      - postgres-data:/var/lib/postgresql/data
    restart: always
  cache:
    image: redis:6-alpine
    restart: always
    command: ["redis-server", "--appendonly", "yes"]
    volumes:
      - redis-data:/data
volumes:
  weblate-data: {}
  postgres-data: {}
  redis-data: {}

What did docker-compose pull fetch?

As expected docker-compose downloaded images and extracted them.

@nijel
Copy link
Member

nijel commented Oct 27, 2021

As expected docker-compose downloaded images and extracted them.

Apparently, it did not download latest Weblate container. docker-compose images will list you images, docker image inspect IMAGE will show you detailed info about that image (including Weblate version in the labels.

@steam3d
Copy link
Contributor Author

steam3d commented Oct 27, 2021

docker-compose images

image

docker image inspect weblate/weblate

image

Everything looks fine

@nijel
Copy link
Member

nijel commented Oct 27, 2021

docker-compose stop

It should have been docker-compose down.

The stop action does not remove the old containers. That makes up reuse existing container which are still on the old image.

@steam3d
Copy link
Contributor Author

steam3d commented Oct 28, 2021

docker-compose down fixed the problem

Don't you think it's worth updating the documentation? Change docker-compose stop -> docker-compose down

image

@nijel nijel added documentation Improvements or additions to the documentation. and removed question This is more a question for the support than an issue. labels Oct 29, 2021
@nijel nijel self-assigned this Oct 29, 2021
@nijel nijel added this to the 4.9 milestone Oct 29, 2021
@nijel nijel closed this as completed in 1185b77 Oct 29, 2021
@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

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

No branches or pull requests

2 participants