.htaccess file has the wrong version

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?


This comment has been deleted

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

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

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