GithubHelp home page GithubHelp logo

Comments (5)

starlightcrafted avatar starlightcrafted commented on August 20, 2024

Can you show the logs from a clean docker-compose with docker logs postal>

Please tear down your env with docker-compose down first.

You should get some output like

Postal User Creator
Enter the information required to create a new Postal user.
This tool is usually only used to create your initial admin user.

E-Mail Address      : [email protected]
First Name          : Sia
Last Name           : Cat
Initial Password:   : ***************fast_server.cert
fast_server.key
lets_encrypt.pem
signing.key
16:52:14 system             | Procodile supervisor started with PID 221
16:52:14 system             | Application root is /opt/postal
16:52:14 system             | Automatic respawning is disabled
16:52:14 system             | Reloading configuration
16:52:14 control            | Listening at /tmp/postal/pids/procodile.sock
16:52:14 web.1              | Started with PID 224
16:52:14 worker.1           | Started with PID 226
16:52:14 cron.1             | Started with PID 228
16:52:14 smtp.1             | Started with PID 230
16:52:14 requeuer.1         | Started with PID 232
16:52:15 web.1              | => Puma starting in single mode...
16:52:15 web.1              | => * Version 4.3.5 (ruby 2.6.7-p197), codename: Mysterious Traveller
16:52:15 web.1              | => * Min threads: 5, max threads: 5
16:52:15 web.1              | => * Environment: production```

from docker-postal.

dtrckd avatar dtrckd commented on August 20, 2024

Here is the log of a freshly created env. Password seems empty here.
Note that is not completely reproducible, sometimes, the password is shown in clear like in my first comment.

spawn /opt/postal/bin/postal make-user     
Postal User Creator   
Enter the information required to create a new Postal user.   
This tool is usually only used to create your initial admin user.    

E-Mail Address      :  [email protected]  
First Name           : peace 
Last Name           : peace  
Initial Password:   : fast_server.cert   
fast_server.key
lets_encrypt.pem  
signing.key         
14:27:49 system             | Procodile supervisor started with PID 216      
14:27:49 system             | Application root is /opt/postal     
14:27:49 system             | Automatic respawning is disabled    

Machine info :

docker-compose version: 1.21.0, build unknown
Linux #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux

from docker-postal.

starlightcrafted avatar starlightcrafted commented on August 20, 2024

Weird - I've seen it before, but I couldn't reproduce it consistently in the build system tests.

I've updated the container with a fix that worked in the ubuntu container, can you try it?

Thanks!

from docker-postal.

dtrckd avatar dtrckd commented on August 20, 2024

Thanks @ILoveYaToo your changes seems to solve it.

I tried many times the create-user.sh script with a sleep 1 which seems to be enough to solve the issue.

from docker-postal.

starlightcrafted avatar starlightcrafted commented on August 20, 2024

Nice, glad its working for you now :)

from docker-postal.

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.