question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment option #3 fails

See original GitHub issue

Deploy option #1 works, but option #3on docker-compose up.

I suspect this line /usr/bin/env: 'bash\r': No such file or directory causing the issue.

I’m familiar with Dockerfile, but still green on docker-compose; apologies that I can’t help debug.

D:\doccano>docker-compose up
WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use `docker stack deploy`.

Starting doccano_webpack_1 ...
Starting doccano_webpack_1 ... done
Starting doccano_django_1  ... done
Attaching to doccano_postgres_1, doccano_webpack_1, doccano_django_1
webpack_1   | /usr/bin/env: 'bash\r': No such file or directory
django_1    | /usr/bin/env: ‘bash\r’: No such file or directory
postgres_1  | The files belonging to this database system will be owned by user "postgres".
postgres_1  | This user must also own the server process.
postgres_1  |
postgres_1  | The database cluster will be initialized with locale "en_US.utf8".
postgres_1  | The default database encoding has accordingly been set to "UTF8".
postgres_1  | The default text search configuration will be set to "english".
postgres_1  |
postgres_1  | Data page checksums are disabled.
postgres_1  |
postgres_1  | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1  | creating subdirectories ... ok
postgres_1  | selecting default max_connections ... 100
postgres_1  | selecting default shared_buffers ... 128MB
postgres_1  | selecting default timezone ... Etc/UTC
postgres_1  | selecting dynamic shared memory implementation ... posix
postgres_1  | creating configuration files ... ok
postgres_1  | running bootstrap script ... ok
postgres_1  | performing post-bootstrap initialization ... ok
postgres_1  | syncing data to disk ... ok
postgres_1  |
postgres_1  | Success. You can now start the database server using:
postgres_1  |
postgres_1  |     pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1  |
postgres_1  |
postgres_1  | WARNING: enabling "trust" authentication for local connections
postgres_1  | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1  | --auth-local and --auth-host, the next time you run initdb.
postgres_1  | waiting for server to start....LOG:  database system was shut down at 2019-09-07 21:19:58 UTC
postgres_1  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1  | LOG:  database system is ready to accept connections
postgres_1  | LOG:  autovacuum launcher started
postgres_1  |  done
postgres_1  | server started
postgres_1  | CREATE DATABASE
postgres_1  |
postgres_1  |
postgres_1  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1  |
postgres_1  | waiting for server to shut down...LOG:  received fast shutdown request
postgres_1  | .LOG:  aborting any active transactions
postgres_1  | LOG:  autovacuum launcher shutting down
postgres_1  | LOG:  shutting down
postgres_1  | LOG:  database system is shut down
postgres_1  |  done
postgres_1  | server stopped
postgres_1  |
postgres_1  | PostgreSQL init process complete; ready for start up.
postgres_1  |
postgres_1  | LOG:  database system was shut down at 2019-09-07 21:19:59 UTC
postgres_1  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1  | LOG:  database system is ready to accept connections
postgres_1  | LOG:  autovacuum launcher started
doccano_webpack_1 exited with code 127
doccano_django_1 exited with code 127

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
icoxfog417commented, Oct 8, 2019

Thank you for providing your information! docker-compose may have something wrong we deal with it at #391.

0reactions
leungicommented, Oct 9, 2019

Thanks for responding to issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

vCenter HA Deployment Fails with an Error - VMware Docs
Deployment failures can be caused by configuration issues, especially problems with the networking setup.
Read more >
Bastion deployment fails and no option to specify which ...
Bastion deployment fails and no option to specify which subscription to use. Attempting to create a Bastion connection to connect to my VM ......
Read more >
Deployment policies and settings - AWS Elastic Beanstalk
If your deployments fail because they don't pass health checks and you need to force an update regardless of health status, specify the...
Read more >
5G Deployment Options - LinkedIn
Option 3 represents a Non-Standalone (NSA) deployment where both LTE and 5G NR radio access networks are present but controlled by only the ......
Read more >
NSA/ENDC - 5G | ShareTechnote
This is about one of NR deployment options where LTE work as a master and NR ... It is based on general concept...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found