[Pkg-owncloud-maintainers] Owncloud Client on kFreeBSD

Sandro Knauß mail at sandroknauss.de
Mon Sep 1 14:46:33 UTC 2014


Hey,

is it possible that you can give me the credentials for your testuser or 
create the same on a different arch? Than we can look if the output differs.

Regards,

sandro

--

> Sorry for the delay, I just tried the owncloudcmd with a test user
> account on my owncloud server. The server certificate is self signed,
> but on the question to trust I answered yes.
> 
> It seems to work until it tries to update the local database. I am not
> sure if this problem is kFreeBSD specific. The full console output is
> quoted below.
> 
> > jan at Debian-kFreeBSD-VM1:~/owncloud-client-test$ owncloudcmd .
> > https://owncloud.taujhe.de
> > QIODevice::read: device not open
> > Passing NO proxy to csync for
> > "https://owncloud.taujhe.de/remote.php/webdav/"
> > Transaction Start  "checkConnect"
> > Columns in the current journal:  ("phash", "pathlen", "path", "inode",
> > "uid", "gid", "mode", "modtime", "type", "md5")
> > Transaction Start  "update database structure: add fileid col"
> > Transaction Start  "update database structure (remotePerm"
> > Transaction Start  "update database structure: add inode index"
> > Transaction Start  "update database structure: add pathlen index"
> > =====sync DB has only 0 items, enable recursive PROPFIND if csync
> > supports it
> > #### Discovery start
> > #################################################### >>
> > [08/31 17:08:27.060722, 8] csync_update:  Journal: ./.csync_journal.db
> > [08/31 17:08:27.063217, 7] csync_memstat_check:  Memory: 414148K total
> > size, 30284K resident, 0K shared
> > [08/31 17:08:27.063298, 8] csync_update:  No exclude file loaded or
> > defined!
> > [08/31 17:08:27.063440, 9] csync_ftw:   <= Closing walk for . with
> > read_from_db 0
> > [08/31 17:08:27.063522, 8] csync_update:  Update detection for local
> > replica took 0,00 seconds walking 0 files.
> > [08/31 17:08:27.063752, 7] csync_memstat_check:  Memory: 414148K total
> > size, 30336K resident, 0K shared
> > [08/31 17:08:27.063852, 9] oc_module:  opendir method called on
> > ownclouds://owncloud.taujhe.de/remote.php/webdav
> > [08/31 17:08:27.063878, 9] oc_module:  * scheme ownclouds
> > [08/31 17:08:27.063894, 9] oc_module:  * host owncloud.taujhe.de
> > [08/31 17:08:27.063910, 9] oc_module:  * port 0
> > [08/31 17:08:27.063925, 9] oc_module:  * path /remote.php/webdav
> > [08/31 17:08:27.063940, 9] oc_module:  * user
> > [08/31 17:08:27.064085, 9] oc_module:  Timeout set to 300 seconds
> > [08/31 17:08:27.178555, 9] oc_module:  No proxy configured.
> > [08/31 17:08:27.178658, 9] oc_module:  fetch_resource_list_recursive
> > Starting recursive propfind
> > ownclouds://owncloud.taujhe.de/remote.php/webdav /remote.php/webdav
> > [08/31 17:08:27.571762, 9] oc_module:  Call the csync callback for SSL
> > problems
> > ** Authentication required:
> > 
> > There are problems with the SSL certificate:
> >  * The certificate is not trusted!
> > 
> > Certificate fingerprint:
> > b3:98:cf:d5:a8:91:5c:15:6d:1e:e3:0d:83:31:ff:51:17:06:aa:33
> > 
> > There are problems with the SSL certificate:
> >  * The certificate is not trusted!
> > 
> > Certificate fingerprint:
> > 3e:0a:ee:94:08:9b:5c:5c:15:49:24:a9:06:36:c3:b1:71:ad:24:dc
> > Do you want to accept the certificate chain anyway?
> > Answer yes to do so and take the risk:
> > yes
> > [08/31 17:08:57.288820, 9] oc_module:  ## VERIFY_SSL CERT: 0
> > [08/31 17:08:57.353705, 9] oc_module:  Authentication required
> > [08/31 17:08:57.353797, 9] oc_module:  Call the csync callback for
> > ownCloud
> > ** Authentication required:
> > Enter your username:
> > <user name removed>
> > ** Authentication required:
> > Enter your password:
> > <user password removed>
> > [08/31 17:09:04.738021, 9] oc_module:  propfind_results_recursive
> > /remote.php/webdav/ is a folder
> > [08/31 17:09:04.738306, 9] oc_module:  propfind_results_recursive
> > /remote.php/webdav/documents/ is a folder
> > [08/31 17:09:04.738340, 9] oc_module:  propfind_results_recursive
> > /remote.php/webdav/documents/ new maximum tree depth 2
> > [08/31 17:09:04.738462, 9] oc_module:  propfind_results_recursive
> > /remote.php/webdav/music/ is a folder
> > [08/31 17:09:04.738671, 9] oc_module:  propfind_results_recursive
> > /remote.php/webdav/photos/ is a folder
> > [08/31 17:09:04.738911, 9] oc_module:  Recursive propfind result code 207.
> > [08/31 17:09:04.738972, 9] oc_module:  fill_recursive_propfind_cache
> > /remote.php/webdav Server maybe did not give us an 'infinity' depth result
> > [08/31 17:09:04.739008, 9] oc_module:  get_listdir_context_from_cache
> > Returning cache for /remote.php/webdav (5 elements)
> > [08/31 17:09:04.739024, 9] oc_module:  clear_propfind_recursive_cache
> > Invalidating..
> > [08/31 17:09:04.739066, 9] oc_module:  fetch_resource_list Using
> > simple PROPFIND cache /remote.php/webdav
> > [08/31 17:09:04.739083, 9] oc_module:  opendir returning handle
> > 0x818489780 (count=5)
> > [08/31 17:09:04.739107, 9] csync_walker:  directory:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/documents
> > [file_id=0000087252861f4beb6d4]
> > [08/31 17:09:04.739461, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:04.739716, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:04.739769, 8] _csync_detect_update:  file: documents,
> > instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:04.739808, 9] oc_module:  opendir method called on
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/documents
> > [08/31 17:09:04.828580, 9] oc_module:  Simple propfind result code 207.
> > [08/31 17:09:04.828701, 9] oc_module:  opendir returning handle
> > 0x81849ee60 (count=2)
> > [08/31 17:09:04.828734, 9] csync_walker:  file:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/documents/example.odt
> > [file_id=0000087452861f4beb6d4]
> > [08/31 17:09:04.828918, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:04.829028, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 1000000
> > [08/31 17:09:04.829071, 8] _csync_detect_update:  file:
> > documents/example.odt, instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:04.829095, 9] csync_ftw:   <= Closing walk for
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/documents with
> > read_from_db 0
> > [08/31 17:09:04.829117, 9] csync_walker:  directory:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/music
> > [file_id=0000086952861f4beb6d4]
> > [08/31 17:09:04.829217, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:04.829308, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:04.829332, 8] _csync_detect_update:  file: music,
> > instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:04.829349, 9] oc_module:  opendir method called on
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/music
> > [08/31 17:09:04.917069, 9] oc_module:  Simple propfind result code 207.
> > [08/31 17:09:04.917207, 9] oc_module:  opendir returning handle
> > 0x8184909c0 (count=2)
> > [08/31 17:09:04.917239, 9] csync_walker:  file:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/music/projekteva-letitrai
> > n.mp3 [file_id=0000087852861f4beb6d4]
> > [08/31 17:09:04.917473, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:04.917592, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:04.917617, 8] _csync_detect_update:  file:
> > music/projekteva-letitrain.mp3, instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:04.917640, 9] csync_ftw:   <= Closing walk for
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/music with read_from_db 0
> > [08/31 17:09:04.917663, 9] csync_walker:  file:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/ownCloudUserManual.pdf
> > [file_id=0000087052861f4beb6d4] [08/31 17:09:04.917744, 8]
> > sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:04.917839, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:04.917884, 8] _csync_detect_update:  file:
> > ownCloudUserManual.pdf, instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:04.917907, 9] csync_walker:  directory:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/photos
> > [file_id=0000087152861f4beb6d4]
> > [08/31 17:09:04.917987, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:04.918101, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:04.918123, 8] _csync_detect_update:  file: photos,
> > instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:04.918142, 9] oc_module:  opendir method called on
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/photos
> > [08/31 17:09:05.018746, 9] oc_module:  Simple propfind result code 207.
> > [08/31 17:09:05.018889, 9] oc_module:  opendir returning handle
> > 0x81801e150 (count=4)
> > [08/31 17:09:05.018923, 9] csync_walker:  file:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/photos/squirrel.jpg
> > [file_id=0000087652861f4beb6d4]
> > [08/31 17:09:05.019107, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 1000000
> > [08/31 17:09:05.019235, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:05.019261, 8] _csync_detect_update:  file:
> > photos/squirrel.jpg, instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:05.019314, 9] csync_walker:  file:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/photos/san
> > francisco.jpg [file_id=0000087752861f4beb6d4]
> > [08/31 17:09:05.019401, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:05.019477, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:05.019498, 8] _csync_detect_update:  file: photos/san
> > francisco.jpg, instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:05.019520, 9] csync_walker:  file:
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/photos/paris.jpg
> > [file_id=0000087552861f4beb6d4]
> > [08/31 17:09:05.019596, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE phash=?1: 0
> > [08/31 17:09:05.019668, 8] sqlite_profile:  _SQL_ SELECT * FROM
> > metadata WHERE fileid=?1: 0
> > [08/31 17:09:05.019689, 8] _csync_detect_update:  file:
> > photos/paris.jpg, instruction: INSTRUCTION_NEW <<=
> > [08/31 17:09:05.019709, 9] csync_ftw:   <= Closing walk for
> > ownclouds://owncloud.taujhe.de/remote.php/webdav/photos with
> > read_from_db 0
> > [08/31 17:09:05.019730, 9] csync_ftw:   <= Closing walk for
> > ownclouds://owncloud.taujhe.de/remote.php/webdav with read_from_db 0
> > [08/31 17:09:05.019759, 8] csync_update:  Update detection for remote
> > replica took 37,96 seconds walking 9 files.
> > [08/31 17:09:05.020018, 7] csync_memstat_check:  Memory: 420468K total
> > size, 36372K resident, 0K shared
> > <<#### Discovery end
> > ####################################################  37960
> > [08/31 17:09:05.020318, 8] csync_reconcile:  Reconciliation for local
> > replica took 0,00 seconds visiting 0 files.
> > [08/31 17:09:05.020406, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW      file: photos/squirrel.jpg
> > [08/31 17:09:05.020429, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW       dir: documents
> > [08/31 17:09:05.020446, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW       dir: music
> > [08/31 17:09:05.020465, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW      file: photos/paris.jpg
> > [08/31 17:09:05.020482, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW      file: documents/example.odt
> > [08/31 17:09:05.020500, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW       dir: photos
> > [08/31 17:09:05.020516, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW      file: ownCloudUserManual.pdf
> > [08/31 17:09:05.020534, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW      file: photos/san francisco.jpg
> > [08/31 17:09:05.020553, 8] _csync_merge_algorithm_visitor:
> > INSTRUCTION_NEW      file: music/projekteva-letitrain.mp3
> > [08/31 17:09:05.020573, 8] csync_reconcile:  Reconciliation for remote
> > replica took 0,00 seconds visiting 9 files.
> > Transaction Start  "checkConnect"
> > Columns in the current journal:  ("phash", "pathlen", "path", "inode",
> > "uid", "gid", "mode", "modtime", "type", "md5", "fileid", "remotePerm")
> > Transaction Start  "update database structure: add inode index"
> > Transaction Start  "update database structure: add pathlen index"
> > Transaction Start  "post treewalk"
> > Using QNAM/HTTP parallel code path
> > void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&)
> > "documents" 4 ""
> > virtual void Mirall::PropagateDownloadFileQNAM::start()
> > "documents/example.odt" 0
> > "INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, errorcount)
> > VALUES ( ? , ?, ? , ? )" "documents/example.odt"
> > "documents/.example.odt.~1c69fb81" "539dbf1422a8f" 0
> > Transaction Start  "download file start"
> > void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
> > !!! Mirall::GETFileJob created for  QUrl(
> > "https://owncloud.taujhe.de/" )  querying "/documents/example.odt"
> > void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&)
> > "music" 4 ""
> > virtual void Mirall::PropagateDownloadFileQNAM::start()
> > "music/projekteva-letitrain.mp3" 1
> > "INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, errorcount)
> > VALUES ( ? , ?, ? , ? )" "music/projekteva-letitrain.mp3"
> > "music/.projekteva-letitrain.mp3.~46b52dfb" "539dbf1429d2f" 0
> > Transaction Start  "download file start"
> > void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
> > !!! Mirall::GETFileJob created for  QUrl(
> > "https://owncloud.taujhe.de/" )  querying
> > "/music/projekteva-letitrain.mp3"
> > virtual void Mirall::PropagateDownloadFileQNAM::start()
> > "ownCloudUserManual.pdf" 2
> > "INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, errorcount)
> > VALUES ( ? , ?, ? , ? )" "ownCloudUserManual.pdf"
> > ".ownCloudUserManual.pdf.~1e23ef54" "539dbf1043ff8" 0
> > Transaction Start  "download file start"
> > void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
> > !!! Mirall::GETFileJob created for  QUrl(
> > "https://owncloud.taujhe.de/" )  querying "/ownCloudUserManual.pdf"
> > SSL-Errors happened for url
> > "https://owncloud.taujhe.de/remote.php/webdav/documents/example.odt"
> > 
> >         Error in  QSslCertificate( "3" , "f6:ed:32:37:be:b5:df:ef" ,
> > 
> > "ugitC5diI/DSJGlqmdD20g==" , ("TauJHe") , ("TauJHe") , QMap() ,
> > QDateTime("2014-02-06 13:51:29.000 UTC Qt::UTC") ,
> > QDateTime("2024-02-04 13:51:29.000 UTC Qt::UTC") ) : "The root
> > certificate of the certificate chain is self-signed, and untrusted" (
> > "The root certificate of the certificate chain is self-signed, and
> > untrusted" )
> > Certs are already known and trusted, Errors are not valid.
> > Stop request: Authentication failed for
> > "https://owncloud.taujhe.de/remote.php/webdav/documents/example.odt"
> > void Mirall::AbstractNetworkJob::slotFinished() 5 "Operation canceled"
> > void Mirall::PropagateDownloadFileQNAM::slotGetFinished()  QUrl(
> > "https://owncloud.taujhe.de/remote.php/webdav/documents/example.odt"
> > )  FINISHED WITH STATUS 5 "Operation canceled"
> > "DELETE FROM downloadinfo WHERE path=?" "documents/example.odt"
> > void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&)
> > "documents/example.odt" 1 "Operation canceled"
> > QObject::connect: No such slot QCoreApplication::slotCredentialsFetched()
> > Error: User is emty!
> > InvalidateToken: User is empty, bailing out!
> > Error: User is emty!
> > Strange: User is empty!
> > Error: User is emty!
> > void Mirall::AbstractNetworkJob::slotFinished() 5 "Operation canceled"
> > void Mirall::PropagateDownloadFileQNAM::slotGetFinished()  QUrl(
> > "https://owncloud.taujhe.de/remote.php/webdav/music/projekteva-letitrain.m
> > p3" )  FINISHED WITH STATUS 5 "Operation canceled"
> > "DELETE FROM downloadinfo WHERE path=?" "music/projekteva-letitrain.mp3"
> > void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&)
> > "music/projekteva-letitrain.mp3" 1 "Operation canceled"
> > void Mirall::AbstractNetworkJob::slotFinished() 5 "Operation canceled"
> > void Mirall::PropagateDownloadFileQNAM::slotGetFinished()  QUrl(
> > "https://owncloud.taujhe.de/remote.php/webdav/ownCloudUserManual.pdf"
> > )  FINISHED WITH STATUS 5 "Operation canceled"
> > "DELETE FROM downloadinfo WHERE path=?" "ownCloudUserManual.pdf"
> > void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&)
> > "ownCloudUserManual.pdf" 1 "Operation canceled"
> > QNetworkReplyImplPrivate::error: Internal problem, this method must
> > only be called once.
> > Strange: User is empty!
> > QWidget: Cannot create a QWidget without QApplication
> > Abgebrochen
> 
> I hope we can find the problem together.




More information about the Pkg-owncloud-maintainers mailing list