Giter VIP home page Giter VIP logo

Comments (17)

swoga avatar swoga commented on September 27, 2024 1

Sorry I think my PR broke this.
I think you need to add the CONTAINER_PRUNE_INTERVAL environment variable for the image to work.

@galexrt Should we add this env to the dockerfile to provide a default value if not explicitly provided?

from container-healthchecks.

swoga avatar swoga commented on September 27, 2024 1

@galexrt Yes, I will create a PR

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024 1

Ah as written you need to remove the HC_ from the environment variables. That should get it working again.

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024

@Rustymage Post your docker-compose.yaml or docker run command.

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

docker run -d --name bitwarden -v /bw-data/:/data/ -p 76:80 -e SIGNUPS_ALLOWED=false -e ADMIN_TOKEN=TOKEN SMTP_HOST=smtp.gmail.com -e [email protected] -e SMTP_PORT=587 -e SMTP_SSL=true -e [email protected] -e SMTP_PASSWORD=PASSWORD bitwardenrs/server:latest

I use Portainer for management of containers, so I ran the above a few images ago. For this image (broken) and the last several images (working) I download the image and subsequently use the duplicate feature of Portainer to update using the same mount volume to keep the data.

It was only on the image mentioned in the first post that this problem occured.

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

I'll check & report back, thanks!

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024

@swoga Let's add it to the entrypoint.sh to in the future have all custom env var defaults there.

Are you going to create a PR?

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024

I have finally gotten the time to push a new tag, it should be built soon and available under: v1.16.0-20201006-124530-630.

Edit: v1.16.0-20201006-124530-630 is the right one.

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

Hi,

I have used this container and it now won't let me login.

How can I assist to demonstrate whta might have gone wrong?

Thanks.

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024

@Rustymage You need to register / create an user for that you either need to have working SMTP configured or using the manage.py to create a superuser, e.g., https://github.com/galexrt/docker-healthchecks#create-healthchecks-superuser.

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

I already have a working configuration and was upgrading so I wouldn't expect to start fresh or create a new user.

Have I misunderstood?

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024

@Rustymage What database are you using? If you are using sqlite, have you used a volume?

E.g., have you specified -v ...:... flag

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

I have used the default sqlite. I have 1 volume:

/data

I have restored the old image and I can log back in so the data is not lost.

from container-healthchecks.

galexrt avatar galexrt commented on September 27, 2024

What is your docker run command and / or environment variables? (Redact secrets from them).

If you have used a very very old image version, the env vars are not prefixe with HC_ anymore, see https://github.com/galexrt/docker-healthchecks#running-the-image for an example docker run command.

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

I'm afraid to say I don't have my run command as I've not saved it. I use Portainer to manage.

Here's the env variables.
Screenshot 2020-10-09 at 19 13 24

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

Thanks!

from container-healthchecks.

Rustymage avatar Rustymage commented on September 27, 2024

Just wanted to follow up @galexrt and say thanks for the help. I got it all working on the latest image with data intact.

from container-healthchecks.

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.