Skip to content

Internal Error 1062 #3128

Closed
Closed

Description

@mydpy

I am having a problem syncing a large folder to ownCloud (4GB). Using the Mac desktop client I am get a 1062 internal error (log attached). I fixed this issue in the immediate-term by removing the synced folder and adding a new one on my local machine.

Expected behaviour

  1. Establish local folder to sync with remote ownCloud directory(ies)
  2. Add files, retrieve files, etc.; normal use
  3. Add time and unknown variables (server upgrades, internals, etc.) between use
  4. Add files, retrieve files, etc.

Actual behaviour

  1. Establish local folder to sync with remote ownCloud directory(ies)
  2. Add files, retrieve files, etc.; normal use
  3. Add time and unknown variables (server upgrades, internals, etc.) between use
  4. Try to add files. Cannot establish a connection. Try to reconnect, get an internal server error (1062)
  5. Delete the local folder
  6. Repeat step 1
  7. Normal use resumes

Steps to reproduce

(See above)

Server configuration

Operating system: RHEL6.6, Fully Patched.
Web server: Apache/2.2.15
Database: MySQL 5.1.73
PHP version: 5.3.3
ownCloud version: 7.0.4
Storage backend: local storage (EXT4)

Client configuration

Client version: Version 1.8.0 Build 2139
Operating system: MacOSX 10.10.2
Installation path of client: /Applications/owncloud.app

Logs

Gist: https://gist.github.com/mydpy/15ed1f97545db36dc270

Activity

  1. changed the title [-]Internal Error 1061[/-] [+]Internal Error 1062[/+] on Apr 18, 2015
  2. guruz commented on Apr 20, 2015

    @guruz
    Contributor
  3. guruz commented on May 5, 2015

    @guruz
    Contributor

    Please try with 1.8.1rc2 and a current server version

  4. mydpy commented on May 5, 2015

    @mydpy
    Author

    @guruz I edited my original post with information to better document the environment the issue was created in. I will update my client and try to recreate the issue tomorrow and report back. Thanks!

  5. cdamken commented on Aug 3, 2015

    @cdamken
    Contributor
  6. guruz commented on Aug 3, 2015

    @guruz
    Contributor
  7. thorleifjacobsen commented on Aug 4, 2015

    @thorleifjacobsen

    Hi.

    Think this should be reopened, have this problem on the latest version myself. Its during "Discovery" it yelds the error, so not yet connected to the "internet". Cant really seem to find out what the error means? Can someone browse the source and figure it out maybe? 1062 seems to be kinda random, not yet found an answere on what to look for. Is it file naming? File too big? File not accessible? e.t.c.

    08-04 12:33:20:256 0x7fd333cc8ad0 _csync_detect_update: Checking for rename based on inode # 944736
    08-04 12:33:20:256 0x7fd333cc8ad0 _csync_detect_update: file: Usortert/mP3/Stafford Brothers feat. Ollie James - Falling (Starkillers Remix) [facebook_Stomp's Playlist].mp3, instruction: INSTRUCTION_NEW <<=
    08-04 12:33:20:256 0x7fd333cc8ad0 csync_walker: file: /Users/toffe/Private/Usortert/mP3/The Wanted - Chasing the Sun (Mario Larrea Club Mix).mp3 [inode=944738 size=5495223]
    08-04 12:33:20:256 0x7fd333cc8ad0 _csync_detect_update: Checking for rename based on inode # 944738
    08-04 12:33:20:256 0x7fd333cc8ad0 _csync_detect_update: file: Usortert/mP3/The Wanted - Chasing the Sun (Mario Larrea Club Mix).mp3, instruction: INSTRUCTION_NEW <<=
    08-04 12:33:20:256 0x7fd333cc8ad0 csync_statedb_close: sqlite3_close=0
    08-04 12:33:20:257 0x7fd331711cf0 OCC::SyncEngine::handleSyncError: #### ERROR during csync_update : "An internal error number 1062 occurred."
    08-04 12:33:20:260 0x7fd331711cf0 OCC::SyncEngine::finalize: CSync run took 4054
    08-04 12:33:20:261 0x7fd331711cf0 OCC::Folder::slotSyncFinished: -> SyncEngine finished with ERROR, warn count is 0
    08-04 12:33:20:261 0x7fd331711cf0 OCC::Folder::bubbleUpSyncResult: Processing result list and logging took 0 Milliseconds.
    08-04 12:33:20:261 0x7fd331711cf0 OCC::Folder::bubbleUpSyncResult: OO folder slotSyncFinished: result: 2
    08-04 12:33:20:261 0x7fd331711cf0 OCC::Folder::slotSyncFinished: ** error Strings: ("An internal error number 1062 occurred.")
    08-04 12:33:20:261 0x7fd331711cf0 OCC::Folder::slotSyncFinished: * owncloud csync thread finished with error
    08-04 12:33:20:261 0x7fd331711cf0 OCC::Folder::slotSyncFinished: the last 1 syncs failed
    08-04 12:33:20:262 0x7fd331711cf0 OCC::SocketApi::sendMessage: SocketApi: Sending message: "STATUS:ERROR:/Users/toffe/Private/"
    08-04 12:33:20:262 0x7fd331711cf0 OCC::SocketApi::sendMessage: SocketApi: Sending message: "UPDATE_VIEW:/Users/toffe/Private/"

  8. guruz commented on Aug 4, 2015

    @guruz
    Contributor

    @Toffe87 What is "latest version"? You're on OS X?

  9. thorleifjacobsen commented on Aug 4, 2015

    @thorleifjacobsen

    Hi, latest version is the version which is current out there. Yes for OSX :) I get this error on OSX 1.8.4 Client

    Latest stable version: 1.8.4

    Extra: This is first - time - sync also of that folder which yields that error!

  10. guruz commented on Aug 4, 2015

    @guruz
    Contributor

    Hmm that's a CSYNC_STATUS_READDIR_ERROR if csync_vio_readdir returns 0.

  11. reopened this on Aug 4, 2015
  12. added this to the 2.0 - Multi-account milestone on Aug 4, 2015
  13. self-assigned this
    on Aug 4, 2015
  14. guruz commented on Aug 4, 2015

    @guruz
    Contributor

    If you check Usortert/mP3/ is there a file with an unusual name?

    CC @ogoffart

  15. guruz commented on Aug 4, 2015

    @guruz
    Contributor

    @mydpy Btw, judging from your log it is NOT an internal server error :-)

    I fixed this issue in the immediate-term by removing the synced folder and adding a new one on my local machine.

    You did not change/rename any local file, you just removed the folder from the configuration and added it again then it worked? That's quite weird..

  16. thorleifjacobsen commented on Aug 4, 2015

    @thorleifjacobsen

    Update: i tried adding ONLY the mp3 folder to sync, now atleast i get that error really fast. I'll try removing some of the shady characters.

  17. thorleifjacobsen commented on Aug 4, 2015

    @thorleifjacobsen

    Removed one and one mp3 and resynced the folder. Found out that the file which makes 1062 error is:

    The Wanted - Glad You Came (DJ Marley D Club Mix).mp3

    Terminal shows:
    -rwxrwxrwx 1 toffe staff 6.0M May 18 2012 The Wanted - Glad You? Came (DJ Marley D Club Mix).mp3

    There is a special "character" after "You" there which cant be seen. And creates 1062 error. That should be fixed in owncloud somehow.

  18. ogoffart commented on Aug 4, 2015

    @ogoffart
    Contributor

    Looks like a duplicate of #2777

  19. thorleifjacobsen commented on Aug 4, 2015

    @thorleifjacobsen

    Debugging:

    Filename: The Wanted - Glad You Came (DJ Marley D Club Mix).mp3
    Strlen: 56
    Fetching part after 'U' in You and befoce 'C' in Come
    Troubled part: 
    Strlen of that: 4 characters between U and C.. Wierd..
    1: ? ASCII: 239
    2: ? ASCII: 187
    3: ? ASCII: 191
    4: ASCII: 32
    The last one are a regulare space, so 3 characters between 'U' and the space shown before 'C'

    Edit: Ascii table showing what thoose "should" be: http://www.theasciicode.com.ar/extended-ascii-code/acute-accent-ascii-code-239.html

  20. guruz commented on Aug 4, 2015

    @guruz
    Contributor

    Dup of #2777 let's talk there. Thanks @Toffe87

  21. guruz commented on Aug 5, 2015

    @guruz
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions