Good Evening!
I installed nextcloud and so far everything is working fine.
One point I want to ask:
I get the following Code Integrity Warning about the Extra Files:
usage/.htaccess
usage/.htpasswd
Is it possible to simply delete these two files?
Thanks in advance
peterg
Technical information
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Yes delete the .htpassword. That doesnât belong in the NC root directory. Download the NC install zip to your computer (unhide files) and youâll see that .htpassword isnât with the downloadable version.
The .htaccess is required but you need the right one for your current install. I would copy it & replace it individually just to make sure.
Make sure the permissions are set correctly too. Mine is set at 660 rwârw---- for the pretty url config âgroup userâ to be able to write to it.
Thank you!
You are right, in the original downloadfolder ânextcloudâ there is no subfolder âusageâ which has the: âusage/.htaccessâ and âusage/.htpasswdâ files. Obviously this was created during installation. I deleted the âusageâ folder" and both files. (The main file â.htaccessâ of course stays). NC works fine afterwards however, I still get the Code Integrity Warning as shown above about those two Extra files.
Do you mind clarifying what setup you have? Is this a shared hosted solution or a completely new install of ubuntu + Apache? Something is installing it there to protect you. I had something similar with my GoD shared hosting years ago.
Iâm trying to recall where Iâve seen that and some searching makes me think that youâve been allocated that space and you may want to make another directory for the NC installation. âŚbut this is all assumption at the moment. If it keeps reappearing then I would keep it there and make another directory. /usage/nextcloud/ Iâm thinking it wonât add a .htpasswd there outside of the /usage/ directory.
I have no detailed knowledge about linux or apache things. So I didnât touch .htaccess
I have an account for my internet-site with still a lot of free space. My german provider is âAll-Inkl.comâ.
I am happy with there service.
So I just uploaded NC via FTP, created a database and installed NC according to a similar recommendation found on the web for OC.
I just reconfirmed that this folder âusage/âŚâ which I deleted yesterday still didnâ reappear yet.
And actually everything goes fine.