<p>When you clone a project to the server you have to reinstall craft just like you did locally, you have the files but nothing is installed.</p>
<ul>
<li><strong>Enter to your server;</strong> for expample with <code>ssh root@your_ip</code></li>
<li><strong>Navigate to your path project;</strong> for example, on an Ubuntu - NGINX server it would be something like this: <code>cd /var/www/html</code></li>
<li><strong>Intall Craft:</strong> <code>php craft install</code> <em>(make sure you have the correct database credentials in .env file)</em></li>
<li><strong>If you use Composer and NPM install the dependencies:</strong> <code>composer install &amp;&amp; npm install</code></li>
</ul>
<p>Then you should have Craft installed.
More info about installation <a href="https://craftcms.com/docs/3.x/installation.html#step-1-download-craft" rel="nofollow noreferrer">here.</a></p>

CC BY-SA 4.0
2021-03-06T17:37:10.817Z
2021-03-06T17:37:10.817Z
Alexis Dalai Waldo Jiménez
<blockquote>
  <p>Service Unavailable Craft isn’t installed yet.</p>
</blockquote>

<p>If you're getting that message, then Craft can connect to the database with the credentials you've provided, but it can't find the <code>info</code> table, so it thinks it's not installed.</p>

<p>Maybe the <code>tablePrefix</code> config setting is set incorrectly in your <code>.env</code> file?</p>

CC BY-SA 4.0
2021-09-28T20:15:53.883Z
I'm having the same issue. My DB_TABLE_PREFIX setting is set to craft_ (which is correct). Is there anything else that could be causing it?
artmem
CC BY-SA 4.0
2021-09-28T20:27:11.747Z
In my case, it turned out to be a corrupted config file.
artmem
CC BY-SA 4.0
2019-06-14T17:00:29.970Z
2019-06-14T17:00:29.970Z
Brad Bell
<p>I had my Craft CMS site working on my local hosting. I then moved it over to bluehost VPS. I moved the database and uploaded the files to the server. I've put the database user information in the .env file and the server location. But site comes back on domain:</p>

<blockquote>
  <p>Service Unavailable
  Our site is temporarily unavailable. Please try again later.</p>
</blockquote>

<p>When I try to admin in it tells me: </p>

<blockquote>
  <p>Service Unavailable
  Craft isn’t installed yet.</p>
</blockquote>

<p>Any suggestions would be of great help. </p>

CC BY-SA 4.0
2019-06-14T09:59:34.093Z
Check if you have done `composer install` in your craft folder.
mrg
<server>
Craft CMS not working on server
# Craft CMS not working on server

(Asked by: username_0 on 2019-06-14)

I had my Craft CMS site working on my local hosting. I then moved it over to bluehost VPS. I moved the database and uploaded the files to the server. I've put the database user information in the .env file and the server location. But site comes back on domain:

> Service Unavailable
> Our site is temporarily unavailable. Please try again later.

When I try to admin in it tells me:

> Service Unavailable
> Craft isn’t installed yet.

Any suggestions would be of great help.

**Tags:** server

> **Comments:**
> **username_1**: Check if you have done `composer install` in your craft folder.  

---

## 2 answers

### Answer by username_2 on 2021-03-06. Score: 1

When you clone a project to the server you have to reinstall craft just like you did locally, you have the files but nothing is installed.

* **Enter to your server;** for expample with `ssh root@your_ip`
* **Navigate to your path project;** for example, on an Ubuntu - NGINX server it would be something like this: `cd /var/www/html`
* **Intall Craft:** `php craft install` *(make sure you have the correct database credentials in .env file)*
* **If you use Composer and NPM install the dependencies:** `composer install && npm install`

Then you should have Craft installed.
More info about installation [here.](https://craftcms.com/docs/3.x/installation.html#step-1-download-craft)


---

### Answer by username_3 on 2019-06-14. Score: 0

> Service Unavailable Craft isn’t installed yet.

If you're getting that message, then Craft can connect to the database with the credentials you've provided, but it can't find the `info` table, so it thinks it's not installed.

Maybe the `tablePrefix` config setting is set incorrectly in your `.env` file?

> **Comments:**
> **username_4**: I'm having the same issue. My DB_TABLE_PREFIX setting is set to craft_ (which is correct). Is there anything else that could be causing it?  
> **username_4**: In my case, it turned out to be a corrupted config file.  

---

