PhpStorm Workshop Project

Answered

Hi, I'm new to phpStorm and was very happy about the Workshop Project. But it fails on mysql installation. I did everything the readme told me to set it up, but on docker-compose up i only get:

D:\PhpStorm\Workspace\Workshop>docker-compose up
Starting workshop_debug_1 ... done
Starting workshop_mysql_1 ... done
Starting workshop_sftp_1 ... done
Attaching to workshop_debug_1, workshop_mysql_1, workshop_sftp_1
debug_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.2. Set the 'ServerName' directive globally to suppress this message
mysql_1 | [Entrypoint] MySQL Docker Image 5.7.21-1.1.3
debug_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.2. Set the 'ServerName' directive globally to suppress this message
debug_1 | [Mon Jun 18 08:36:37.353327 2018] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/7.1.15 configured -- resuming normal operations
debug_1 | [Mon Jun 18 08:36:37.353365 2018] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
sftp_1 | Server listening on 0.0.0.0 port 22.
sftp_1 | Server listening on :: port 22.
mysql_1 | [Entrypoint] Starting MySQL 5.7.21-1.1.3
workshop_mysql_1 exited with code 1

 

1
4 comments
Avatar
Permanently deleted user

Hello,

Here's a similar issue being discussed:
https://github.com/JetBrains/phpstorm-workshop/issues/23

Please try the following:

  • Remove the data directory
  • Delete all related images (phpstorm/{php, mysql, sftp}) and pull them anew
0
Avatar
Permanently deleted user

I have already seen this issue on github, but it did not help me. I also tried the steps mentioned above several times.

Is there a way to get more information in some log files?

0

Try to comment out volumes bdingin in docker-compose.yml:

  mysql:
image: phpstorm/mysql
ports:
- "33056:3306"
# volumes:
# - ./data:/var/lib/mysql
0
Avatar
Permanently deleted user

That did the trick, thanks!

0

Please sign in to leave a comment.