### I see "Welcome to nginx" instead of the Laravel App!
## I see "Welcome to nginx" instead of the Laravel App!
Use `http://127.0.0.1` instead of `http://localhost` in your browser.
...
...
@@ -1386,7 +1388,7 @@ Use `http://127.0.0.1` instead of `http://localhost` in your browser.
<br>
### I see an error message containing `address already in use` or `port is already allocated`
## I see an error message containing `address already in use` or `port is already allocated`
Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in `apache`/`httpd` service or other development tools you have installed.
...
...
@@ -1395,7 +1397,7 @@ Make sure the ports for the services that you are trying to run (22, 80, 443, 33
<br>
### I get NGINX error 404 Not Found on Windows.
## I get NGINX error 404 Not Found on Windows.
1. Go to docker Settings on your Windows machine.
2. Click on the `Shared Drives` tab and check the drive that contains your project files.
...
...
@@ -1405,16 +1407,19 @@ Make sure the ports for the services that you are trying to run (22, 80, 443, 33
<br>
### The time in my services does not match the current time
## The time in my services does not match the current time
1. Make sure you've [changed the timezone](#Change-the-timezone).
2. Stop and rebuild the containers (`docker-compose up -d --build <services>`)
<br>
### I get MySQL connection refused
## I get MySQL connection refused
This error sometimes happens because your Laravel application isn't running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:
...
...
@@ -1423,9 +1428,3 @@ This error sometimes happens because your Laravel application isn't running on t
2. Change the `DB_HOST` variable on env with the IP that you received from previous step.
* Option B
1. Change the `DB_HOST` value to the same name as the MySQL docker container. The LaraDock docker-compose file currently has this as `mysql`
Join the chat room on [Gitter](https://gitter.im/LaraDock/laradock) and get help and support from the community.
You can as well can open an [issue](https://github.com/laradock/laradock/issues) on Github (will be labeled as Question) and discuss it with people on [Gitter](https://gitter.im/LaraDock/laradock).
@@ -74,7 +74,7 @@ submitting an <a href="https://github.com/laradock/laradock/issues"&g
<li><p>Edit the files you want to update.</p></li>
<li><p><strong>Note:</strong> If you want to edit the base image of the <code>Workspace</code> or the <code>php-fpm</code> Containers,
you need to edit their Dockerfiles from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
@@ -1440,7 +1438,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel ‘Welcome’ page!</h3>
<h2id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel ‘Welcome’ page!</h2>
<p>Run the following command from the Laravel root directory:</p>
...
...
@@ -1449,19 +1447,19 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see “Welcome to nginx” instead of the Laravel App!</h3>
<h2id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see “Welcome to nginx” instead of the Laravel App!</h2>
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
<p><br></p>
<h3id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
<h2id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h2>
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
<p><br></p>
<h3id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
<h2id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h2>
<ol>
<li>Go to docker Settings on your Windows machine.</li>
...
...
@@ -1472,7 +1470,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
<h2id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h2>
<ol>
<li>Make sure you’ve <ahref="#Change-the-timezone">changed the timezone</a>.</li>
...
...
@@ -1481,7 +1479,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
<h2id="i-get-mysql-connection-refused">I get MySQL connection refused</h2>
<p>This error sometimes happens because your Laravel application isn’t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
@@ -1120,7 +1118,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h3>
<h2 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h2>
<p>Run the following command from the Laravel root directory:</p>
...
...
@@ -1129,19 +1127,19 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h3>
<h2 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h2>
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
<p><br></p>
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
<h2 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h2>
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
<p><br></p>
<h3 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
<h2 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h2>
<ol>
<li>Go to docker Settings on your Windows machine.</li>
...
...
@@ -1152,7 +1150,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
<h2 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h2>
<ol>
<li>Make sure you&rsquo;ve <a href="#Change-the-timezone">changed the timezone</a>.</li>
...
...
@@ -1161,7 +1159,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
<h2 id="i-get-mysql-connection-refused">I get MySQL connection refused</h2>
<p>This error sometimes happens because your Laravel application isn&rsquo;t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
@@ -1802,7 +1792,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel ‘Welcome’ page!</h3>
<h2id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel ‘Welcome’ page!</h2>
<p>Run the following command from the Laravel root directory:</p>
...
...
@@ -1811,19 +1801,19 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see “Welcome to nginx” instead of the Laravel App!</h3>
<h2id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see “Welcome to nginx” instead of the Laravel App!</h2>
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
<p><br></p>
<h3id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
<h2id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h2>
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
<p><br></p>
<h3id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
<h2id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h2>
<ol>
<li>Go to docker Settings on your Windows machine.</li>
...
...
@@ -1834,7 +1824,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
<h2id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h2>
<ol>
<li>Make sure you’ve <ahref="#Change-the-timezone">changed the timezone</a>.</li>
...
...
@@ -1843,7 +1833,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
<h2id="i-get-mysql-connection-refused">I get MySQL connection refused</h2>
<p>This error sometimes happens because your Laravel application isn’t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
...
...
@@ -1949,7 +1939,7 @@ submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a>. E
<li><p>Edit the files you want to update.</p></li>
<li><p><strong>Note:</strong> If you want to edit the base image of the <code>Workspace</code> or the <code>php-fpm</code> Containers,
you need to edit their Dockerfiles from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
@@ -1488,7 +1478,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h3>
<h2 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h2>
<p>Run the following command from the Laravel root directory:</p>
...
...
@@ -1497,19 +1487,19 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h3>
<h2 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h2>
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
<p><br></p>
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
<h2 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h2>
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
<p><br></p>
<h3 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
<h2 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h2>
<ol>
<li>Go to docker Settings on your Windows machine.</li>
...
...
@@ -1520,7 +1510,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
<h2 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h2>
<ol>
<li>Make sure you&rsquo;ve <a href="#Change-the-timezone">changed the timezone</a>.</li>
...
...
@@ -1529,7 +1519,7 @@ e) set it to <code>true</code></p>
<p><br></p>
<h3 id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
<h2 id="i-get-mysql-connection-refused">I get MySQL connection refused</h2>
<p>This error sometimes happens because your Laravel application isn&rsquo;t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
...
...
@@ -1650,7 +1640,7 @@ submitting an <a href="https://github.com/laradock/laradock/issues"&g
<li><p>Edit the files you want to update.</p></li>
<li><p><strong>Note:</strong> If you want to edit the base image of the <code>Workspace</code> or the <code>php-fpm</code> Containers,
you need to edit their Dockerfiles from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>