Answers.Body: <p>This isn't a direct answer to your question, but the first place I'd look is your logs on your server. As an example, I'm running nginx on my server and the logs are located in <code>/var/log/nginx/</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-19T15:23:42.487Z
Answers.Text: logs added above
Answers.UserDisplayName: dominik
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-19T13:34:54.160Z
Answers.LastActivityDate: 2018-07-19T13:34:54.160Z
Answers.UserDisplayName: John Morton
Body: <p>I have a problem with my page after upload on server. Currently a enabled devMode and while loading it shows </p>
  
  <blockquote>
    <p><strong>HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException</strong> </p>
    
    <p><strong>whatmore</strong>:</p>
    
    <p>vendor/yiisoft/yii2/base/Application.php at line 386 – craft\web\Application::handleRequest(craft\web\Request)</p>
  </blockquote>
  
  <p>web.log below:</p>
  
  <blockquote>
    <p>2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=my_database;port=3306;
    2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][profile begin][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=my_database;port=3306;
    2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][profile end][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=my_database;port=3306;
    2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][error][craft\db\Connection::open] SQLSTATE[HY000] [2002] No such file or directory
    2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][error][craft\db\Connection::open] SQLSTATE[HY000] [2002] No such file or directory
    2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][info][yii\web\Session::open] Session started
    2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][error][yii\web\HttpException:503] craft\web\ServiceUnavailableHttpException in /path/to/public_html/www/vendor/craftcms/cms/src/web/Application.php:507
    Stack trace:</p>
    
    <p>0 /home/cluster-sites/3/t/toolmach.co.uk/public_html/www/vendor/craftcms/cms/src/web/Application.php(184): craft\web\Application->_processInstallRequest(Object(craft\web\Request))</p>
    
    <p>1 /home/cluster-sites/3/t/toolmach.co.uk/public_html/www/vendor/yiisoft/yii2/base/Application.php(386): craft\web\Application->handleRequest(Object(craft\web\Request))</p>
    
    <p>2 /home/cluster-sites/3/t/toolmach.co.uk/public_html/www/web/index.php(21): yii\base\Application->run()</p>
    
    <p>3 {main}
    2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/to/public_html/www/vendor/yiisoft/yii2/views/errorHandler/exception.php
    2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/to/public_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
    2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/to/public_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
    2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/topublic_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
    2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/topublic_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
    2018-07-19 07:11:05 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][info][application] $_GET = []</p>
    
    <p>$_POST = []</p>
    
    <p>$_FILES = []</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-19T20:00:25.423Z
Comments.Text: Have you tried loading the Control Panel? A 503 is what gets served on a front-end request is the system is offline or there is a pending update. Loading the Control Panel should give you more info.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-19T20:03:25.527Z
Comments.Text: Actually from the logs, it looks like Craft doesn't think it's installed. So it you loaded the CP, you'll probably get the installer. That usually means something isn't correct in your `craft/config/db.php` file.
Comments.UserDisplayName: Brad Bell
Tags: <error>
Title: HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException
ThreadText: # HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException
  
  (Asked by: username_0 on 2018-07-19)
  
  I have a problem with my page after upload on server. Currently a enabled devMode and while loading it shows
  
  > **HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException**
  >
  > **whatmore**:
  >
  > vendor/yiisoft/yii2/base/Application.php at line 386 – craft\web\Application::handleRequest(craft\web\Request)
  
  web.log below:
  
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=my\_database;port=3306;
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][profile begin][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=my\_database;port=3306;
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][profile end][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=my\_database;port=3306;
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][error][craft\db\Connection::open] SQLSTATE[HY000] [2002] No such file or directory
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][error][craft\db\Connection::open] SQLSTATE[HY000] [2002] No such file or directory
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][info][yii\web\Session::open] Session started
  > 2018-07-19 07:11:06 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][error][yii\web\HttpException:503] craft\web\ServiceUnavailableHttpException in /path/to/public\_html/www/vendor/craftcms/cms/src/web/Application.php:507
  > Stack trace:
  >
  > 0 /home/cluster-sites/3/t/toolmach.co.uk/public\_html/www/vendor/craftcms/cms/src/web/Application.php(184): craft\web\Application->\_processInstallRequest(Object(craft\web\Request))
  >
  > 1 /home/cluster-sites/3/t/toolmach.co.uk/public\_html/www/vendor/yiisoft/yii2/base/Application.php(386): craft\web\Application->handleRequest(Object(craft\web\Request))
  >
  > 2 /home/cluster-sites/3/t/toolmach.co.uk/public\_html/www/web/index.php(21): yii\base\Application->run()
  >
  > 3 {main}
  > 2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/to/public\_html/www/vendor/yiisoft/yii2/views/errorHandler/exception.php
  > 2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/to/public\_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
  > 2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/to/public\_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
  > 2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/topublic\_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
  > 2018-07-19 07:11:07 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][trace][yii\base\View::renderFile] Rendering view file: /path/topublic\_html/www/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php
  > 2018-07-19 07:11:05 [80.55.43.241][-][72baf4994c2e29ee1f32982349aec971][info][application] $\_GET = []
  >
  > $\_POST = []
  >
  > $\_FILES = []
  
  **Tags:** error
  
  > **Comments:**
  > **username_1**: Have you tried loading the Control Panel? A 503 is what gets served on a front-end request is the system is offline or there is a pending update. Loading the Control Panel should give you more info.  
  > **username_1**: Actually from the logs, it looks like Craft doesn't think it's installed. So it you loaded the CP, you'll probably get the installer. That usually means something isn't correct in your `craft/config/db.php` file.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-07-19. Score: 1
  
  This isn't a direct answer to your question, but the first place I'd look is your logs on your server. As an example, I'm running nginx on my server and the logs are located in `/var/log/nginx/`.
  
  > **Comments:**
  > **username_0**: logs added above  
  
  ---
  
  