Oh and I should have mentioned, this is from Docker running on Windows, via Docker Toolbox, which as I mentioned is a Linux VM running under VirtualBox. And again, the original instructions work well on Docker running under Linux.
I can’t say why it would work differently however, I’ve never encountered this before and I’ve built and started hundreds of images cross-platform in this way. My original cgwire Docker image was built on Windows too.
$ docker logs cgwire -t -f
2017-11-15T11:27:48.847839624Z Running with existing database in /var/lib/postgresql
2017-11-15T11:27:48.855850399Z Running Zou...
2017-11-15T11:27:49.013973561Z 2017-11-15 11:27:49,013 CRIT Supervisor running as root (no user in config file)
2017-11-15T11:27:49.024583083Z 2017-11-15 11:27:49,023 INFO RPC interface 'supervisor' initialized
2017-11-15T11:27:49.024601085Z 2017-11-15 11:27:49,024 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-11-15T11:27:49.024606002Z 2017-11-15 11:27:49,024 INFO supervisord started with pid 10
2017-11-15T11:27:50.027872710Z 2017-11-15 11:27:50,026 INFO spawned: 'gunicorn' with pid 13
2017-11-15T11:27:50.028862138Z 2017-11-15 11:27:50,028 INFO spawned: 'gunicorn-events' with pid 14
2017-11-15T11:27:50.032872480Z 2017-11-15 11:27:50,032 INFO spawned: 'redis' with pid 15
2017-11-15T11:27:50.034861845Z 2017-11-15 11:27:50,034 INFO spawned: 'postgresql' with pid 16
2017-11-15T11:27:50.045390634Z 2017-11-15 11:27:50,044 INFO spawned: 'nginx' with pid 17
2017-11-15T11:27:50.191979931Z 2017-11-15 11:27:50,191 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T11:27:51.194169901Z 2017-11-15 11:27:51,193 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-15T11:27:51.194189107Z 2017-11-15 11:27:51,193 INFO success: gunicorn-events entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-15T11:27:51.194194029Z 2017-11-15 11:27:51,193 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-15T11:27:51.195658934Z 2017-11-15 11:27:51,194 INFO spawned: 'postgresql' with pid 36
2017-11-15T11:27:51.195671322Z 2017-11-15 11:27:51,194 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-15T11:27:51.295245139Z 2017-11-15 11:27:51,294 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T11:27:53.298664087Z 2017-11-15 11:27:53,297 INFO spawned: 'postgresql' with pid 41
2017-11-15T11:27:53.352694089Z 2017-11-15 11:27:53,352 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T11:27:56.357566642Z 2017-11-15 11:27:56,357 INFO spawned: 'postgresql' with pid 48
2017-11-15T11:27:56.371897691Z 2017-11-15 11:27:56,371 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T11:27:57.372968214Z 2017-11-15 11:27:57,372 INFO gave up: postgresql entered FATAL state, too many start retries too quickly
2017-11-15T14:27:14.410956118Z 2017-11-15 14:27:14,410 INFO spawned: 'postgresql' with pid 75
2017-11-15T14:27:14.560709270Z 2017-11-15 14:27:14,560 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T14:27:15.564228916Z 2017-11-15 14:27:15,563 INFO spawned: 'postgresql' with pid 76
2017-11-15T14:27:15.576664407Z 2017-11-15 14:27:15,576 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T14:27:17.584393427Z 2017-11-15 14:27:17,582 INFO spawned: 'postgresql' with pid 77
2017-11-15T14:27:17.595877034Z 2017-11-15 14:27:17,595 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T14:27:20.601435160Z 2017-11-15 14:27:20,601 INFO spawned: 'postgresql' with pid 78
2017-11-15T14:27:20.615126737Z 2017-11-15 14:27:20,614 INFO exited: postgresql (exit status 1; not expected)
2017-11-15T14:27:21.616613601Z 2017-11-15 14:27:21,616 INFO gave up: postgresql entered FATAL state, too many start retries too quickly
Sorry if you have already covered these questions and requests.
I like to flag everything I can think of, before I get too used to an application.
Maybe you should be able to sort the “Task Types” by “Priority” and “For”. If you don’t want to add functionality for sorting, then maybe just have to sorted by “For” then “Priority” then “Name”, for a better overview of the production pipeline.
When adding a task type, the “Priority” is a dropdown menu. Should this not be a spinner for integer inputs?
Sorry for being an idiot user, but you seem to be able to add duplicate episodes/sequences/shots, though its seems to sort itself out when you refresh the page:
Might be nice with an autosave option on the breakdown page.
Can you assign an asset to a episode/sequence or multiple shots at one time?
Seems like you have to have an episode to create a shot? Can you not work purely with sequences/shots or even just shots?
Thank you again @tokejepsen for the feedback, it is very helpful. But, I have something to ask to you. Can you open a new topic with your feedback? It is not related to the Docker image, so it may be confusing for visitors. Then I will answer to your questions in this new topic.
I lower down the limit. Thx @marcus for the suggestion and the Docker image feedback.
About the windows incompatibility can you open an issue? We cannot afford to spend too much time on a non standard platform right now. We will come back to this later.
It’s no problem for me personally, it was more of a bug report than a problem I was looking to have solved. I’ve got it up and running on a vanilla Linux machine and all is working well.
As for Hyper-V, that’s actually good news; that’s the newer, default and promoted method of running Docker on Windows. Which means this would only ever be a problem for the small minority running the old “Docker Toolbox” (which is necessary in order to run non-Hyper-V machines in parallel, via e.g. VMWare Workstation and VirtualBox that doesn’t function when Hyper-V is enabled).
$ docker exec -it cgwire cat /var/log/postgresql/postgresql-9.5-main.log
2017-11-14 20:35:22 UTC [21-1] LOG: could not bind IPv6 socket: Cannot assign requested address
2017-11-14 20:35:22 UTC [21-2] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2017-11-14 20:35:22 UTC [22-1] LOG: database system was shut down at 2017-11-14 20:32:04 UTC
2017-11-14 20:35:22 UTC [22-2] LOG: MultiXact member wraparound protections are now enabled
2017-11-14 20:35:22 UTC [21-3] LOG: database system is ready to accept connections
2017-11-14 20:35:22 UTC [26-1] LOG: autovacuum launcher started
2017-11-14 20:35:23 UTC [28-1] [unknown]@[unknown] LOG: incomplete startup packet
2017-11-14 20:35:26 UTC [21-4] LOG: received fast shutdown request
2017-11-14 20:35:26 UTC [21-5] LOG: aborting any active transactions
2017-11-14 20:35:26 UTC [26-2] LOG: autovacuum launcher shutting down
2017-11-14 20:35:26 UTC [23-1] LOG: shutting down
2017-11-14 20:35:26 UTC [23-2] LOG: database system is shut down
2017-11-14 20:35:42 UTC [21-1] LOG: could not bind IPv6 socket: Cannot assign requested address
2017-11-14 20:35:42 UTC [21-2] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2017-11-14 20:35:42 UTC [22-1] LOG: database system was shut down at 2017-11-14 20:35:26 UTC
2017-11-14 20:35:42 UTC [22-2] LOG: MultiXact member wraparound protections are now enabled
2017-11-14 20:35:42 UTC [21-3] LOG: database system is ready to accept connections
2017-11-14 20:35:42 UTC [26-1] LOG: autovacuum launcher started
2017-11-14 20:35:43 UTC [29-1] [unknown]@[unknown] LOG: incomplete startup packet
2017-11-14 20:36:03 UTC [21-4] LOG: received fast shutdown request
2017-11-14 20:36:03 UTC [21-5] LOG: aborting any active transactions
2017-11-14 20:36:03 UTC [26-2] LOG: autovacuum launcher shutting down
2017-11-14 20:36:03 UTC [23-1] LOG: shutting down
2017-11-14 20:36:03 UTC [23-2] LOG: database system is shut down
2017-11-15 11:27:50 UTC [16-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 11:27:51 UTC [36-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 11:27:53 UTC [41-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 11:27:56 UTC [48-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 14:27:14 UTC [75-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 14:27:15 UTC [76-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 14:27:17 UTC [77-1] FATAL: could not create lock file "postmaster.pid": No space left on device
2017-11-15 14:27:20 UTC [78-1] FATAL: could not create lock file "postmaster.pid": No space left on device
I cleared up some space, and now it all works well.
This is a rare problem in general, but common in my experience and I think for anyone running Docker on Mac or Windows under VirtualBox, as it isn’t obvious how much space is left on the virtual machine hosting Docker. I also noticed that Docker on Windows without Toolbox only works on Windows 10 Pro and above, so it’s possible most trying this on Windows to be affected by this problem.
Nice detective work, and thanks for your patience!
I seem to have issues now getting the container running correctly:
C:\Users\admin>docker run -p 80:80 --name cgwire cgwire/cgwire
Running Zou...
2017-11-20 18:15:43,356 CRIT Supervisor running as root (no user in config file)
2017-11-20 18:15:43,368 INFO RPC interface 'supervisor' initialized
2017-11-20 18:15:43,368 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-11-20 18:15:43,369 INFO supervisord started with pid 9
2017-11-20 18:15:44,371 INFO spawned: 'gunicorn' with pid 12
2017-11-20 18:15:44,372 INFO spawned: 'gunicorn-events' with pid 13
2017-11-20 18:15:44,376 INFO spawned: 'redis' with pid 14
2017-11-20 18:15:44,381 INFO spawned: 'postgresql' with pid 15
2017-11-20 18:15:44,383 INFO spawned: 'nginx' with pid 16
2017-11-20 18:15:45,493 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-20 18:15:45,493 INFO success: gunicorn-events entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-20 18:15:45,494 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-20 18:15:45,494 INFO success: postgresql entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-11-20 18:15:45,494 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
If you setup a virtual machine (e.g. VirtualBox or VMWare) with Windows @frank then its possible could try these on your local machine. I think there’s a free development version of Windows you could use, if you don’t already have access.