Skip to content

Rename failed #2795

Closed
Closed

Description

@lupa18

Expected behaviour

A folder name should be changed through OC web interface:

I have 5 folders:

  • clientsync
  • Documentos
  • Escritorio
  • Musica
  • zotero

I go to web interface and rename clientsync folder -> new name should be ownCloud and I should see:

  • ownCloud
  • Documentos
  • Escritorio
  • Musica
  • zotero

Actual behaviour

It doesn't change name. Then when I click there on cliensync (old folder name) noting happend.

"New folder" is accesible by url, but it's no displayed in "root" files folder. I mean, when I put new name on the url, like this: /index.php/apps/files?dir=//ownCloud -> I could see the content !

Steps to reproduce

  1. Go to clientsync folder and clic on rename button at right
  2. Once renamed, log out and login or update your browser

Server configuration

Operating system: Ubuntu 12.04.2 LTS

Web server: Apache 2.2.22

Database: mysql-server 5.5.29

PHP version: PHP 5.3.10-1ubuntu3.6

ownCloud version: 5.0.3

Client configuration

Browser: Firefox 20 and Chromium Versión 25.0.1364.160

Operating system: Linux Mint 13 (Ubuntu 12.04)

Logs

Web server error log

[Mon Apr 08 17:46:18 2013] [error] [client 164.73.15.104] File does not exist: /usr/share/owncloud/owncloud, referer: https://nube.data.cse.edu.uy/remote.php/core.css?285e19f20beded7d215102b49d5c09a0

ownCloud log (data/owncloud.log)

{"app":"search_lucene","message":"failed to extract meta information for \/0d7d9f80-d31e-1031-8b3c-31c8f205a781\/files\/zotero\/D2GMTCBN.prop: unable to determine file format","level":2,"time":1365453978}
{"app":"PHP","message":"ldap_start_tls(): Unable to start TLS: Protocol error at \/usr\/share\/owncloud\/apps\/user_ldap\/lib\/connection.php#614","level":2,"time":1365454009}
{"app":"PHP","message":"ldap_start_tls(): Unable to start TLS: Protocol error at \/usr\/share\/owncloud\/apps\/user_ldap\/lib\/connection.php#614","level":2,"time":1365454042}
{"app":"PHP","message":"ldap_start_tls(): Unable to start TLS: Protocol error at \/usr\/share\/owncloud\/apps\/user_ldap\/lib\/connection.php#614","level":2,"time":1365454078}
{"app":"PHP","message":"ldap_start_tls(): Unable to start TLS: Protocol error at \/usr\/share\/owncloud\/apps\/user_ldap\/lib\/connection.php#614","level":2,"time":1365454113}
{"app":"PHP","message":"ldap_start_tls(): Unable to start TLS: Protocol error at \/usr\/share\/owncloud\/apps\/user_ldap\/lib\/connection.php#614","level":2,"time":1365454146}
{"app":"search_lucene","message":"failed to extract meta information for \/0d7d9f80-d31e-1031-8b3c-31c8f205a781\/files\/zotero\/CIT3D2G9.prop: unable to determine file format","level":2,"time":1365454168}
{"app":"PHP","message":"ldap_start_tls(): Unable to start TLS: Protocol error at \/usr\/share\/owncloud\/apps\/user_ldap\/lib\/connection.php#614","level":2,"time":1365454179}

Activity

  1. DeepDiver1975 commented on Apr 8, 2013

    @DeepDiver1975
    Contributor
  2. lupa18 commented on Apr 8, 2013

    @lupa18
    Author

    Sorry, I just added some information.

  3. DeepDiver1975 commented on Apr 8, 2013

    @DeepDiver1975
    Contributor

    disable your apps step by step - one of them might have a negative impact

  4. lupa18 commented on Apr 9, 2013

    @lupa18
    Author

    Ok, but I'm not using 3rd party apps.
    I disabled this:

    • Share Files
    • Text Editor
    • Updater
    • User Account Migration
    • Versions

    and then, the problem persists... I could reproduce it very easy. What other apps do you think I must disable? Here are my enabled apps:

    • Calendar
    • Contacts
    • Deleted files
    • First Run Wizard
    • Full Text Search
    • Image Viewer
    • LDAP user and group backend
    • Media
    • ODF Viewer
    • PDF Viewer
    • Pictures
    • Video Viewer
    • ownCloud Instance Migration
    • ownCloud dependencies info
  5. sixxma commented on Apr 10, 2013

    @sixxma

    Expected behaviour

    When rename files or folders by webclient of owncloud i expect that rename works

    Actual behaviour

    When rename files or folders by webclient, the file or folders are rename in the server but in webclient appears by old name of files or folders and can't edit or delete or anything action from webclient

    Steps to reproduce

    1. upload a file .txt
    2. rename a file .txt
    3. edit a file.txt / delete a file .txt / anyhing with the file = error

    Server configuration

    Operating system: Centos 6.3

    Web server: Apache 2.2.15-26 x86_64

    Database: Mysql 5.1 x86_64

    PHP version: PHP 5.3.23

    ownCloud version: 5.0.3

    Client configuration

    Browser: Firefox 20, Safari 6.0.3

    Operating system: MacOS X Lion

    Logs

    Web server error log

    
    #### ownCloud log (data/owncloud.log)
    

    Insert your ownCloud log here
    Debug core Adding user backend instance of OC_User_Database. 10 de Abril de 2013 9:56
    Error core unable to rename, file is not writable : files/httpd.conf 10 de Abril de 2013 9:56
    Debug core include path for class "OCA_FirstRunWizard\Config" starts with "apps/"

    This Debug entries repeat a lot

    Warning PHP iconv(): Detected an illegal character in input string at /var/www/owncloud/apps/search_lucene/3rdparty/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum.php#58
    Warning PHP file_get_contents(/var/owncloud_data//adm/files/httpd.conf): failed to open stream: No such file or directory at /var/www/owncloud/lib/files/storage/local.php#110
    Warning PHP filemtime(): stat failed for /var/owncloud_data//adm/files/httpd.conf at /var/www/owncloud/lib/files/storage/local.php#92

    Browser log

  6. quenenni commented on Apr 10, 2013

    @quenenni

    Same problem here.

    In the 'filecache' table, the field 'name' keeps the old value while the field 'path' has the new value.
    That's why, when reloading a page, we see the old valuein the files/folder list and when we try to do something with that folder / file, it fails.

  7. karlitschek commented on Apr 10, 2013

    @karlitschek
    Contributor

    @quenenni Thanks for debugging this. @icewind1991 @blizzz @schiesbn What do you think?

  8. quenenni commented on Apr 15, 2013

    @quenenni

    Works good for me in v5.0.4.

    Thanks for your reactivity.

  9. fda77 commented on Jul 28, 2013

    @fda77

    I've installed ownCloud 5.0.9 Yesterday the 1st time. No apps, no plugins etc.
    I've 1 folder with 1GB content. Renaming by webif xyz2-> xyz
    The folder is renamed but empty now! "Used space" does not count the 1GB anymore!
    Renaming back xyz -> xyz2: files there again and "used space" is correct again

  10. karlitschek commented on Oct 17, 2013

    @karlitschek
    Contributor

    Can't reproduce with ownCloud 6 / master

  11. locked as resolved and limited conversation to collaborators on Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions