Question

Installation from the download Page and the right ownership from there

Ubuntu 16.04

PHP 7.0.8

MySQL 5.7.12

Apache 2.4.18 with configured VirtualHost

And after installation I see the success page.

Then:

admin page: 404

The frontend has some resource 404s:enter image description here

After a setup:di:compile some resource 404s are gone. But admin page are still 404.

What can I do?

Was it helpful?

Solution

Looks like your Magento application was switched to production mode, that's why static files are not accessible.

There are two solutions:

  1. Deploy static files: bin/magento setup:static-content:deploy
  2. Switch to developer mode: bin/magento deploy:mode:set developer

As for 404 for admin panel - make sure you are using correct admin path (can be found in app/etc/env.php)

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top