Uploads (could not rename part file to final file) end up being ".part" file and do not showup in web gui


#1

Steps to reproduce

  1. fresh Install owncloud 10.0.9 on fresh install of centos 7
  2. Mount remote storage to data directory folder
  3. copy backed up files of data folder files back onto remote storage
  4. run httpd
  5. setup and run owncloud for first time

Expected behaviour

Tell us what should happen
be able to see files uploaded with proper name

Actual behaviour

Tell us what happens instead
files upload but don’t rename therefore do not show up in web gui
error flashes at top in yellow: could not rename part file to final file

Server configuration

Operating system:
centos
Web server:
apache
Database:
mysql
PHP version:
7
ownCloud version: (see ownCloud admin page)
10.0.9
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
zip from 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.

https://gist.github.com/jeremybrown82/19b920c378f68e767a16bfd483fdafa9#file-gistfile1-txt

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'

{
    "system": {
        "instanceid": "ocveemviq2ey",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "owndrivecloud.com"
        ],
        "datadirectory": "\/var\/www\/html\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/owndrivecloud.com\/owncloud",
        "dbtype": "mysql",
        "version": "10.0.9.5",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true
    }
}

**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.

Enabled:
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.3.2
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_sharing: 0.10.1
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - market: 0.2.4
  - notifications: 0.3.4
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - user_external

**Are you using external storage, if yes which one:** local/smb/sftp/...
b2 backblaze bucket

**Are you using encryption:** yes/no
yes

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

### Client configuration
**Browser:**
latest firefox
**Operating system:**
windows 10

#2

Here is more detailed info.

[jeremybrown82@puilo30 ~]$ 2018/08/28 15:10:27 ERROR : jeremy/files/test.txt.ocTransferId11475000.part: Dir.Rename error: Fs “B2 bucket jeremybrown82” can’t rename files (no Move)
2018/08/28 15:10:27 ERROR : jeremy/files/test.txt.ocTransferId11475000.part: Dir.Rename error: Fs “B2 bucket jeremybrown82” can’t rename files (no Move)


#3

Apparently back blaze does not support renaming files, but copying them in linux does work to rename the files. Is there anyway to support cp paste (in owncloud) to rename as a substitute instead of directly renaming the file or directory?


#4

Hey,

from what i have read in the past the data directory should be left untouched / unmodified.