Hi @Nick-B,
attached you’ll find the logs - but you likely find out they are pretty useless for this problem.
But today I found some time to investigate a bit further and finally I think I found out what the problem really is.
This might help to save you some time for troubleshooting, as it fixed the problem for me reliably:
Here’s what I did:
Step 1
The site runs fine both admin and front-end, pages, menus, post and images are there, local SSL is working.
The I stopped the site and kept it as blueprint ‘sqlite-integration.local’.
Step 2
Now I created a new site and used the sqlite-integration.local site as blueprint, which worked fine without any error.
When trying to run the site, I get some odd front-end problems and the 502 error when trying to access the backend.
…It seems the adjustments for SQLite were not updated, so I tried that manually:
Looking at the ‘db.php’ (of the freshly created site’s ‘wp-content’ folder):
- I had to change this path (that’s the one from the blueprint):
$sqlite_plugin_implementation_folder_path = ‘/Users/andy/Local Sites/sqlite-integration/app/public/wp-content/plugins/sqlite-database-integration’;
to this: (that’s the cloned path):
$sqlite_plugin_implementation_folder_path = ‘/Users/andy/Local Sites/sqliteblueprint/app/public/wp-content/plugins/sqlite-database-integration’;
- Then I opended the cloned SQLite database in ./wp-content/database/.ht.sqlite
and changed:
wp_options > site_url
wp_options > home
to ‘https://sqliteblueprint.local’
- Then I looked at my SQLite database-client (without doing anything)…
- after a while Local replaces the ‘wp_options’ with the outdated ones (which I just replaced - except the one in ‘db.php’).
- That made me think, it is looking at the (now unused) MariaDB/mySQL to read those values from there.
Since I had no access to the WP-Admin (because of the 502 error), I accessed the mySQL database using TablePlus and changed (again):
wp_options > site_url
wp_options > home
to ‘https://sqliteblueprint.local’
in the mySQL-database
AND - of course - in the .ht.sqlite (again).
That made things work (except the SSL certificate and assets).
local-logs.zip (146 KB)