Open datashuttle opened 6 years ago
I'm not able to re-create your issue. Which operating system are you trying to build from? I build on Ubuntu 18.04. Could you also post a screenshot of the partially rendered page? If you wait for several seconds and refresh the page - does it work?
Hey David,
Ubuntu 16.04 inside a Vagrant VM with plenty of resources allocated. No matter, will try again and feedback what I find. No page refresh after a number of minutes.
Daryl
On Jun 26, 2018 6:48 AM, "David Lowes" notifications@github.com wrote:
I'm not able to re-create your issue. Which operating system are you trying to build from? I build on Ubuntu 18.04. Could you also post a screenshot of the partially rendered page? If you wait for several seconds and refresh the page - does it work?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zendtech/php-zendserver-docker/issues/12#issuecomment-400315081, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdFaQtI-y1PMF1F0sVw5-UsaHROhIg0ks5uAjuUgaJpZM4Uyc7J .
If you have trouble with the build you can also use pre-built images published in dockerhub. docker run zend/php-zendserver
Hello David,
Okay, I have the php-zendserver image running in a Docker container, with local port mappings as 10086:10081 on the container. This works fine and the UI comes up with localhost:10086. During the initial launch prompts, I complete the "Join a Cluster" information, see below, click "Next" then I am immediately redirected to a login screen without the option to set a user password. It's like the Launch dialog process didn't complete. As a result, I don't have a password to login.
I'm now down to this last little problem in order to finish up the training section on cluster deployment. Any ideas?
Daryl
On Mon, Jul 9, 2018 at 5:48 AM, David Lowes notifications@github.com wrote:
If you have trouble with the build you can also use pre-built images published in dockerhub. docker run zend/php-zendserver
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zendtech/php-zendserver-docker/issues/12#issuecomment-403466917, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdFaeDo7S9gBvRpMQYv7-cWiDNxf6m7ks5uE1EEgaJpZM4Uyc7J .
Did you supply the MYSQL environment variables?
docker run -e MYSQL_HOSTNAME=
If you did then it should not prompt you to join a cluster but rather either create a new one (if first instance is loaded) or join an existing one.
Hey David,
Hmm... No. Note to self...read the fxxxxxx manual. I see it states that on the Dockerhub description. Will try that today and feed back to you.
Daryl
On Wed, Jul 11, 2018 at 4:04 AM, David Lowes notifications@github.com wrote:
Did you supply the MYSQL environment variables? docker run -e MYSQL_HOSTNAME= -e MYSQL_PORT=3306 -e MYSQL_USERNAME= -e MYSQL_PASSWORD= -e MYSQL_DBNAME=zend php-zendserver
If you did then it should not prompt you to join a cluster but rather either create a new one (if first instance is loaded) or join an existing one.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zendtech/php-zendserver-docker/issues/12#issuecomment-404131059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdFaUQv07eNpIas9mjLsNiN2cZ0o7knks5uFduggaJpZM4Uyc7J .
Hey David,
Okay, the query didn't complete and the container quit. I assume this is due to Zend Server querying against a "zend" database? Can you confirm this? My Zend Server was installed with "server" as the database name, and I assumed I could run the container passing the environment variable MYSQL_DBNAME=server. Not sure about this. Here is the shell output on running the container.
Thanks for the help. I'm going to get there.
Daryl
On Wed, Jul 11, 2018 at 4:04 AM, David Lowes notifications@github.com wrote:
Did you supply the MYSQL environment variables? docker run -e MYSQL_HOSTNAME= -e MYSQL_PORT=3306 -e MYSQL_USERNAME= -e MYSQL_PASSWORD= -e MYSQL_DBNAME=zend php-zendserver
If you did then it should not prompt you to join a cluster but rather either create a new one (if first instance is loaded) or join an existing one.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zendtech/php-zendserver-docker/issues/12#issuecomment-404131059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdFaUQv07eNpIas9mjLsNiN2cZ0o7knks5uFduggaJpZM4Uyc7J .
David,
Okay, I think I've figured out what's wrong. I had not yet created a cluster. Now I have one and will see how it goes.
Will keep you posted if I need anything else.
Thanks for the help so far.
Daryl
On Wed, Jul 11, 2018 at 4:04 AM, David Lowes notifications@github.com wrote:
Did you supply the MYSQL environment variables? docker run -e MYSQL_HOSTNAME= -e MYSQL_PORT=3306 -e MYSQL_USERNAME= -e MYSQL_PASSWORD= -e MYSQL_DBNAME=zend php-zendserver
If you did then it should not prompt you to join a cluster but rather either create a new one (if first instance is loaded) or join an existing one.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zendtech/php-zendserver-docker/issues/12#issuecomment-404131059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdFaUQv07eNpIas9mjLsNiN2cZ0o7knks5uFduggaJpZM4Uyc7J .
David, me again.
Okay, executed the Docker run with:
docker run -d -e MYSQL_HOSTNAME=127.0.0.1 -e MYSQL_PORT=3306 -e MYSQL_USERNAME=root -e MYSQL_PASSWORD=vagrant -e MYSQL_DBNAME=zend php-zendserver
It runs for about 30 seconds and bails.
So, let me see if I understand the database in reference. The MYSQL_HOSTNAME should be set to an IP a database called "zend" is running? In my case, I'm running an initial Zend Server DB within my Vagrant VM on local IP of 127.0.0.1, with the credentials you see above. Are these the correct environment settings for a Docker container running in the same Vagrant VM?
Thanks,
Daryl
On Wed, Jul 11, 2018 at 4:04 AM, David Lowes notifications@github.com wrote:
Did you supply the MYSQL environment variables? docker run -e MYSQL_HOSTNAME= -e MYSQL_PORT=3306 -e MYSQL_USERNAME= -e MYSQL_PASSWORD= -e MYSQL_DBNAME=zend php-zendserver
If you did then it should not prompt you to join a cluster but rather either create a new one (if first instance is loaded) or join an existing one.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zendtech/php-zendserver-docker/issues/12#issuecomment-404131059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdFaUQv07eNpIas9mjLsNiN2cZ0o7knks5uFduggaJpZM4Uyc7J .
The image builds good, and runs. On initial request to the container IP and port 10081, the redirect to login does not complete rendering the login page. Prior version 9.1 works fine.