Why does my files I put into datadir don't appear in ownCloud?

Here we try to answer typical questions
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Why does my files I put into datadir don't appear in ownCloud?

Postby RealRancor » Tue Dec 22, 2015 8:29 pm

Problem:

I'm putting files on operating system into the datadirectory but they don't appear within the WebGUI of ownCoud.

Description:

Manually modification within the datadir is unsupported as stated in the documentation:

The data directory on the server is exclusive to ownCloud and must not be modified manually.


https://doc.owncloud.org/server/8.2/adm ... ync-issues
https://doc.owncloud.org/desktop/2.1/tr ... her-issues

Alternatives:

1. Use a WebDAV client to access your files as described in https://doc.owncloud.org/server/8.2/use ... ebdav.html

From command line (on the same server for example) you can use a client like "cadaver".

2. Use the "External storage support" App:

https://doc.owncloud.org/server/8.2/adm ... n_gui.html

You can create a folder like /mnt/ocupload, mount that folder with the local option:

https://doc.owncloud.org/server/8.2/adm ... local.html

and put the files into the folder /mnt/ocupload. If they don't appear make sure you have followed:

https://doc.owncloud.org/server/8.2/adm ... l-storages
*gone*

exarg
Newbie
Posts: 5
Joined: Thu Mar 10, 2016 2:05 am
ownCloud version: 9.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7

Re: Why does my files I put into datadir don't appear in ownCloud?

Postby exarg » Sat Jul 16, 2016 11:01 pm

I feel that this is partially my problem.

I managed to solve spanking:

- Upload FTP
- Creation of the file of the same name by the web interface.

Voila, you soon :)

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Why does my files I put into datadir don't appear in ownCloud?

Postby RealRancor » Sun Jul 17, 2016 1:07 am

Just use one of the two solutions mentioned above instead of doing such an unsupported operation.
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “FAQ”

Who is online

Users browsing this forum: No registered users and 1 guest