Closed freddysdad closed 6 years ago
Can't reproduce.
Which image version of mailcow/phpfpm?
git diff origin/master data/Dockerfiles/phpfpm
?
root@mail:/opt/mailcow-dockerized# git diff origin/master data/Dockerfiles/phpfpm root@mail:/opt/mailcow-dockerized#
And?
and nothing - no difference, I ran update.sh before reporting
The image version.
docker-compose images | grep -i php-fpm
mailcow/phpfpm:1.17 is working fine.
apologies, i misread the original question
root@mail:/opt/mailcow-dockerized# docker-compose images | grep -i php-fpm mailcowdockerized_php-fpm-mailcow_1 mailcow/phpfpm 1.17 7c71e48e7ce4 287 MB
It is possible you built the images instead of downloading them + something messed up then.
Try docker-compose pull php-fpm-mailcow
and run docker-compose up -d
Pulling php-fpm-mailcow ... done
root@mail:/opt/mailcow-dockerized# docker-compose up -d
mailcowdockerized_redis-mailcow_1 is up-to-date
mailcowdockerized_dovecot-mailcow_1 is up-to-date
mailcowdockerized_sogo-mailcow_1 is up-to-date
mailcowdockerized_ipv6nat_1 is up-to-date
mailcowdockerized_dockerapi-mailcow_1 is up-to-date
mailcowdockerized_mysql-mailcow_1 is up-to-date
mailcowdockerized_watchdog-mailcow_1 is up-to-date
mailcowdockerized_unbound-mailcow_1 is up-to-date
mailcowdockerized_memcached-mailcow_1 is up-to-date
mailcowdockerized_postfix-mailcow_1 is up-to-date
mailcowdockerized_clamd-mailcow_1 is up-to-date
mailcowdockerized_php-fpm-mailcow_1 is up-to-date
mailcowdockerized_nginx-mailcow_1 is up-to-date
mailcowdockerized_netfilter-mailcow_1 is up-to-date
mailcowdockerized_rspamd-mailcow_1 is up-to-date
mailcowdockerized_acme-mailcow_1 is up-to-date
root@mail:/opt/mailcow-dockerized# ./update.sh
Checking internet connection... OK
Checking for newer update script...
Are you sure you want to update mailcow: dockerized? All containers will be stopped. [y/N] y
Stopping mailcow...
Stopping mailcowdockerized_rspamd-mailcow_1 ... done
Stopping mailcowdockerized_acme-mailcow_1 ... done
Stopping mailcowdockerized_nginx-mailcow_1 ... done
Stopping mailcowdockerized_netfilter-mailcow_1 ... done
Stopping mailcowdockerized_php-fpm-mailcow_1 ... done
Stopping mailcowdockerized_ipv6nat_1 ... done
Stopping mailcowdockerized_unbound-mailcow_1 ... done
Stopping mailcowdockerized_redis-mailcow_1 ... done
Stopping mailcowdockerized_postfix-mailcow_1 ... done
Stopping mailcowdockerized_mysql-mailcow_1 ... done
Stopping mailcowdockerized_sogo-mailcow_1 ... done
Stopping mailcowdockerized_dockerapi-mailcow_1 ... done
Stopping mailcowdockerized_clamd-mailcow_1 ... done
Stopping mailcowdockerized_watchdog-mailcow_1 ... done
Stopping mailcowdockerized_memcached-mailcow_1 ... done
Stopping mailcowdockerized_dovecot-mailcow_1 ... done
Removing mailcowdockerized_rspamd-mailcow_1 ... done
Removing mailcowdockerized_acme-mailcow_1 ... done
Removing mailcowdockerized_nginx-mailcow_1 ... done
Removing mailcowdockerized_netfilter-mailcow_1 ... done
Removing mailcowdockerized_php-fpm-mailcow_1 ... done
Removing mailcowdockerized_ipv6nat_1 ... done
Removing mailcowdockerized_unbound-mailcow_1 ... done
Removing mailcowdockerized_redis-mailcow_1 ... done
Removing mailcowdockerized_postfix-mailcow_1 ... done
Removing mailcowdockerized_mysql-mailcow_1 ... done
Removing mailcowdockerized_sogo-mailcow_1 ... done
Removing mailcowdockerized_dockerapi-mailcow_1 ... done
Removing mailcowdockerized_clamd-mailcow_1 ... done
Removing mailcowdockerized_watchdog-mailcow_1 ... done
Removing mailcowdockerized_memcached-mailcow_1 ... done
Removing mailcowdockerized_dovecot-mailcow_1 ... done
Removing network mailcowdockerized_mailcow-network
Committing current status...
Fetching updated code from remote...
Merging local with remote code (recursive, strategy: "theirs", options: "patience"...
Already up-to-date.
Fetching new docker-compose version...
######################################################################## 100.0%
Fetching new images, if any...
Pulling unbound-mailcow ... done
Pulling mysql-mailcow ... done
Pulling redis-mailcow ... done
Pulling clamd-mailcow ... done
Pulling php-fpm-mailcow ... done
Pulling sogo-mailcow ... done
Pulling dovecot-mailcow ... done
Pulling postfix-mailcow ... done
Pulling memcached-mailcow ... done
Pulling nginx-mailcow ... done
Pulling rspamd-mailcow ... done
Pulling acme-mailcow ... done
Pulling netfilter-mailcow ... done
Pulling watchdog-mailcow ... done
Pulling dockerapi-mailcow ... done
Pulling ipv6nat ... done
Fixing project name...
Fixing PHP-FPM worker ports for Nginx sites...
Starting mailcow...
Creating network "mailcowdockerized_mailcow-network" with driver "bridge"
Creating mailcowdockerized_dovecot-mailcow_1 ... done
Creating mailcowdockerized_memcached-mailcow_1 ... done
Creating mailcowdockerized_watchdog-mailcow_1 ... done
Creating mailcowdockerized_clamd-mailcow_1 ... done
Creating mailcowdockerized_dockerapi-mailcow_1 ... done
Creating mailcowdockerized_sogo-mailcow_1 ... done
Creating mailcowdockerized_unbound-mailcow_1 ... done
Creating mailcowdockerized_mysql-mailcow_1 ... done
Creating mailcowdockerized_redis-mailcow_1 ... done
Creating mailcowdockerized_ipv6nat_1 ... done
Creating mailcowdockerized_postfix-mailcow_1 ... done
Creating mailcowdockerized_php-fpm-mailcow_1 ... done
Creating mailcowdockerized_nginx-mailcow_1 ... done
Creating mailcowdockerized_netfilter-mailcow_1 ... done
Creating mailcowdockerized_acme-mailcow_1 ... done
Creating mailcowdockerized_rspamd-mailcow_1 ... done
Collecting garbage...
Further cleanup...
If you want to cleanup further garbage collected by Docker, please make sure all containers are up and running before cleaning your system by executing "docker system prune"
root@mail:/opt/mailcow-dockerized# docker-compose logs php-fpm-mailcow
Attaching to mailcowdockerized_php-fpm-mailcow_1
php-fpm-mailcow_1 | mysqld is alive
php-fpm-mailcow_1 | /docker-entrypoint.sh: line 11: [: too many arguments
php-fpm-mailcow_1 | /docker-entrypoint.sh: line 11: [: too many arguments
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | [02-Jul-2018 20:23:59] NOTICE: fpm is running, pid 1
php-fpm-mailcow_1 | [02-Jul-2018 20:23:59] NOTICE: ready to handle connections
root@mail:/opt/mailcow-dockerized#```
Cannot read this.
You could try to run docker rmi mailcow/phpfpm:1.17
, docker-compose down
and docker-compose up -d
.
Error response from daemon: conflict: unable to remove repository reference "mailcow/phpfpm:1.17" (must force) - container c316b7532860 is using its referenced image 7c71e48e7ce4
Run down first then. :)
Wait... run docker-compose down
, then docker rmi mailcow/phpfpm:1.17
and then docker-compose pull
. After that, run docker-compose up -d
root@mail:/opt/mailcow-dockerized# docker-compose logs php-fpm-mailcow
Attaching to mailcowdockerized_php-fpm-mailcow_1
php-fpm-mailcow_1 | mysqld is alive
php-fpm-mailcow_1 | /docker-entrypoint.sh: line 11: [: too many arguments
php-fpm-mailcow_1 | /docker-entrypoint.sh: line 11: [: too many arguments
php-fpm-mailcow_1 | /docker-entrypoint.sh: line 11: [: too many arguments
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | 1
php-fpm-mailcow_1 | [02-Jul-2018 20:43:14] NOTICE: fpm is running, pid 1
php-fpm-mailcow_1 | [02-Jul-2018 20:43:14] NOTICE: ready to handle connections
php-fpm-mailcow_1 | fd4d:6169:6c63:6f77::1 - 02/Jul/2018:20:43:55 +0100 "POST /index.php" 200
php-fpm-mailcow_1 | fd4d:6169:6c63:6f77::1 - 02/Jul/2018:20:45:55 +0100 "POST /index.php" 200```
It should not be rebuilt but downloaded. Pull is important after you deleted the image.
same problem following exact steps down, rm, pull, up
@freddysdad the normal code tag `like this` is just for stuff that fits in a single line... if you wanna do multi line, use: ``` code stuff ```
If you paste the full log into the Github entry field, then select it all (all the lines) and hit the "Insert code" button on top, it should automatically use the right one.
@hachre thanks, I've updated all my previously (hard to read) comments. problem persists!
It really looks like the container was rebuilt locally and the line endings were not read correctly.
I would need to see it on the machine.
@andryyy that's no problem - how can i send access details over to you?
Nice, thanks. Mail me to info@servercow.de, please. 👍
Thanks @andryyy - Details sent
Meh, I am stupid. Fixed it. 👍
from log after booting or restarting container: