Missing htaccess and user ini files

Steps to reproduce

  1. install owncloud 10.2.x on ubuntu 18.04, apache2

Expected behaviour

Tell us what should happen

Actual behaviour

Results

  • core
    • FILE_MISSING
      • .htaccess
      • .user.ini

Server configuration

Operating system: ubuntu 18.04

Web server: apache2

Database: mysql57

PHP version: php72

ownCloud version: 10.2.0.5

Updated from an older ownCloud or fresh install:
fresh install

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

Results

  • core
    • FILE_MISSING
      • .htaccess
      • .user.ini

The content of config/config.php:

Hey,

from what i know files starting with a dot (like the .htaccess) are “hidden files” which are not always shown by default in software like file managers, ftp clients or archiving/extracting tools. Could it be possible that you have missed to copy over both hidden files due to them not showing in your used software?

I extracted the owncloud tar file directly into the web server directory using tar xjf file outputdirectory options. Extracting the owncloud installation into the home folder and manually transferring those hidden files resolved the issue.

1 Like