<p>After doing some more digging in <code>storage/logs</code>, it turns out that the permissions were incorrect on the "cpresources" director. Once I fixed those, the upgrade progressed as normal.</p>

CC BY-SA 4.0
2018-06-01T01:39:43.373Z
2018-06-01T01:39:43.373Z
Jason Morehead
<p>I'm trying to upgrade a v2 site to v3 and have done the following:</p>

<ul>
<li>Verified that my server meets the v3 requirements using the Craft Server Check.</li>
<li>Followed steps 1-3 on <a href="https://docs.craftcms.com/v3/installation.html" rel="nofollow noreferrer">this page</a>.</li>
<li>Followed the directions on <a href="https://docs.craftcms.com/v3/upgrade.html" rel="nofollow noreferrer">this page</a>.</li>
</ul>

<p>When I go to my control panel's URL, I get the following error: "An internal server error occurred." There's nothing in my server's "error.log" file.</p>

<p>As a test, I even created a fresh install of v2 on a new server instance, imported my site's data, and tried upgrading that, and I still get the server error.</p>

<p>FWIW, I'm running Apache 2.4, Ubuntu 16.04, PHP 7.0.30, and MySQL v5.7.22.</p>

CC BY-SA 4.0
2018-05-31T17:24:34.467Z
I'm guessing the "An internal server error occurred." message is a web-server styled message and not a Craft-styled one?  If so, the underlying error message would be in your web server's error logs, not Craft's.
Brad Bell
CC BY-SA 4.0
2018-05-31T17:27:58.160Z
have you tried experimenting with the db table prefix setting? you might want to set that to "craft" when running `./craft setup` in the terminal to see if it works.
Clark Nelson
CC BY-SA 4.0
2018-06-01T01:02:30.953Z
@BradBell I've checked my server's Apache error logs and there's nothing in there.
Jason Morehead
<craft3><upgrades>
Upgrading from v2 to v3 results in internal server errors
# Upgrading from v2 to v3 results in internal server errors

(Asked by: username_0 on 2018-05-31)

I'm trying to upgrade a v2 site to v3 and have done the following:

* Verified that my server meets the v3 requirements using the Craft Server Check.
* Followed steps 1-3 on [this page](https://docs.craftcms.com/v3/installation.html).
* Followed the directions on [this page](https://docs.craftcms.com/v3/upgrade.html).

When I go to my control panel's URL, I get the following error: "An internal server error occurred." There's nothing in my server's "error.log" file.

As a test, I even created a fresh install of v2 on a new server instance, imported my site's data, and tried upgrading that, and I still get the server error.

FWIW, I'm running Apache 2.4, Ubuntu 16.04, PHP 7.0.30, and MySQL v5.7.22.

**Tags:** craft3, upgrades

> **Comments:**
> **username_1**: I'm guessing the "An internal server error occurred." message is a web-server styled message and not a Craft-styled one?  If so, the underlying error message would be in your web server's error logs, not Craft's.  
> **username_2**: have you tried experimenting with the db table prefix setting? you might want to set that to "craft" when running `./craft setup` in the terminal to see if it works.  
> **username_0**: @BradBell I've checked my server's Apache error logs and there's nothing in there.  

---

## 1 answers

### Answer by username_0 on 2018-06-01. Score: 2

After doing some more digging in `storage/logs`, it turns out that the permissions were incorrect on the "cpresources" director. Once I fixed those, the upgrade progressed as normal.


---

