contao / contao-manager

Contao Manager
GNU Lesser General Public License v3.0
83 stars 33 forks source link

1.8.2 Check Database Getting Stuck? #796

Closed rburch closed 4 months ago

rburch commented 4 months ago

Working on an upgrade. We switched from MariaDB to MySQL. In 1.8.0 if you changed something about the database it would help you reset the credentials in Contao manager. In 1.8.2 it seems to just spin when you do the database check.

Screenshot 2024-02-19 at 4 48 53 PM
fritzmg commented 4 months ago

You likely still have the database_version set in your parameters.yml - or databaseVersion in your DATABASE_URL. You can remove that - then the error will go away.

rburch commented 4 months ago

I had the parameters.yml and tried removing it form there. Also just removed the whole file neither worked. Where is DATABASE_URL?

fritzmg commented 4 months ago

I had the parameters.yml and tried removing it form there. Also just removed the whole file neither worked.

Did you rebuild the application cache afterwards?

Where is DATABASE_URL?

.env.local in your project's root.

rburch commented 4 months ago

I couldn't find that, but rebuilding the cache did the trick.