Cannot upload files to external storage with WebDAV

Steps to reproduce

  1. Click upload file
  2. Browse to file that you want to upload
  3. Click open

Expected behaviour

Tell us what should happen
File(s) should be uploaded and appear in the files list in the target folder in ownCloud

Actual behaviour

Tell us what happens instead
Banner appears at the top of the page “Target folder has been moved or deleted” and the file does not seem to be uploaded. Please see below ownCloud Data log file section for error code details

Server configuration

Operating system: Dlink DNS-345 NAS – Linux OS not sure what version

Web server:

Database:

PHP version: Unknown

ownCloud version: (see ownCloud admin page) 8.0.4

Updated from an older ownCloud or fresh install: New install

Where did you install ownCloud from: Download from Dlink Sharecenter add-ons website

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.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/… YES - WebDAV to NAS files

Are you using encryption: yes/no NO

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Error
Error webdav client curl GET http://192.168.0.23/webdav/Volume_1/4_Uploads/Documents/IMG_4990.JPG returned status code 417 2018-10-08T10:16:12+00:00
Error webdav client curl GET http://192.168.0.23/webdav/Volume_1/4_Uploads/Documents/IMG_4990.JPG returned status code 417 2018-10-08T10:15:13+00:00

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Hey,

if i understand the following two links correctly this is a version releases more then three years ago which is already end of life and unsupported since ages. I think you should upgrade to the recent ownCloud version 10.0.10 and try again.

https://github.com/owncloud/core/releases/tag/v8.0.4

https://github.com/owncloud/core/wiki/Maintenance-and-Release-Schedule

Thank you for your reply,

I would gladly like to upgrade the ownCloud SW to 10.0.10 but I do not know how to install the downloaded files onto my NAS where I installed the version 8.0.4.
I think I may have installed some modified version that may be compatible to install on my DLink NAS product.

Files that install successfully as an add on look like this:

DNS-345 owncloud Package v2.04_07012015_UA

I installed the v2.0.4 file and when installed it upgraded online to the v8.0.4

Any suggestions on how to install the latest install file that I downloaded from the owncloud.org site to the NAS. In the DNS-345 admin GUI there is an install button for Add-ons but anything with a “gz” file extension will not install saying “invalid file”

Thank you

Dave…….

Hey,

there where some recent discussions around such NAS devices as a platform for ownCloud (see below) and from what i understand those are no recommended platforms. But if you’re sure that your NAS device provides all prerequisites for ownCloud (recent PHP version, recent library versions) maybe you could try to give the manual upgrade way a try.