.htaccess file has the wrong version

Posted March 19, 2015 9.1k views

I update owncloud to version 8.0.2 and now when i access owncloud from browser I get this:
.htaccess file has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?

How can i correct it?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

Do a clean fresh install of owncloud, you’re probably using an older htaccess for an older version of owncloud.

I restore the system from a Snapshot, make the update and everything is working fine now. Don’t now what happen.
Thanks for helping.

cd /var/www/owncloud
sudo cp .htaccess .htaccess.old
sudo nano .htaccess
First line is #8.0.0 - edit to #8.0.2
Ctrl-X, Yes to save
Attempt upgrade again