Failed attempt at moving Drupal 8 to a clean installation of my OS. Okay, so ive reinstalled my ubuntu OS,  reinstalled the LAMP stack, ive restored the database and connected to it just fine. Ive checked which php modules drupal 8 requires and installed them, my version of php is above the 5.6 lower limit - i have not installed ALL of the php5-* modules in apt-cache though but i dont think thats an issue(?), ive set the chmod 777 . But now my /user/login kind of routes dont work, it just gives a 404. Have anyone experience anything like this, and how to solve? 

I have looked at the clean_urls in my .htaccess, but drupal 8 clean urls should just work out of the box.
Okay so i went inside of /etc/apache2.conf and changed 

&lt;Directory /var/www/&gt;
    Options Indexes FollowSymLinks
    AllowOverride none
    Require all granted
&lt;/Directory&gt;


to 

&lt;Directory /var/www/&gt;
        Options Indexes FollowSymLinks
        AllowOverride all
        Require all granted
    &lt;/Directory&gt;


that worked :)