I just installed NC on Ubuntu 16.04. I am seeing the “.htaccess not working” error. /etc/apache2/sites-available/nextcloud.conf has the AllowOverride All inside. sudo ls /var/www/nextcloud/data/ shows there is no .htaccess (there is one at /var/www/nextcloud/, though). When I check localhost/nextcloud/apps/files/ in my browser I get an Access Forbidden page.
I even tried making a new /var/www/nextcloud/data/.htaccess file manually following the instructions from from this post but the error persists.
Sorry if there is an obvious answer, I am not very server-savvy. I’ve tried searching through the forums and none of the answers worked.
Thanks for your prompt help! I just started migrating my db from sqlite → mysql and didn’t realize it would put my server in maintainence mode. I’ll get back to you as soon as it’s done.