Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

'make dockersetup' generates an error

33 views
Skip to first unread message

Sera...@gmx.de

unread,
Jul 11, 2017, 9:29:47 AM7/11/17
to
When running "make dockersetup", I get this error

> make dockersetup
> /usr/bin/docker-compose run webapp /app/docker/run_setup_postgres.sh
> /bin/bash: /app/docker/run_setup_postgres.sh: Permission denied
> make: [dockersetup] Error 126 (ignored)

Inspecting the docker image with "docker run --rm local/socorro_webapp ls -l /app/docker", I see the file "run_setup_postgres.sh" in it with execution permissions. So, can you help me, why I am getting this error??

I also tried to change the permissions of that files to user "app", but this didn't work either.

William Kahn-Greene

unread,
Jul 17, 2017, 11:11:05 AM7/17/17
to Sera...@gmx.de, tools-...@lists.mozilla.org
Hi!

I haven't seen that error before, so I'm not sure why it's happening offhand.

What operating system are you using on your host?

What version of docker and docker-compose are you using?

/will
> _______________________________________________
> tools-socorro mailing list
> tools-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-socorro

Sera...@gmx.de

unread,
Jul 18, 2017, 4:21:46 AM7/18/17
to
Hi Will! Thank you for getting back to me regarding this topic.

I've installed CentOS-7-x86_64-Minimal-1611 as virtual maschine on Virtualbox.
The host system is a Windows 10 desktop maschine.

docker version 1.12.6, build 88a4867/1.12.6
docker-compose version 1.12.0, build b31ff33

with kind regards
Erwin

Sera...@gmx.de

unread,
Jul 18, 2017, 8:26:57 AM7/18/17
to
Update:

I've created a new VM with Ubuntu 16.04.2 LTS and it works now.
Installed docker with abt install -> Docker version 1.12.6, build 78d1802
Instaled docker-compose with abt install and manually updated it to -> docker-compose version 1.11.2, build dfed245

Found an other error in docker-compose.yml
it was pointing to:
atlassianlabs/localstack:0.4.0

This repository doesn't exist anymore.
I've changed it to
atlassianlabs/localstack:0.4.1
Then it was running through.

Thanks for responsing. I will use this Ubuntu VM for further tests.
I hope I could help a bit with the repo thingy.

With kind regards
Erwin

William Kahn-Greene

unread,
Jul 19, 2017, 6:26:47 PM7/19/17
to Vendurion Amandil, tools-...@lists.mozilla.org
Thank you for the heads-up on localstack 0.4.0 not being available! I
updated it to 0.4.1 in this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1381902

/will
0 new messages