sftp doesn't seem to work, error message has typo

Bug #1316179 reported by Charles Wright
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
csync-owncloud (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm new to csync but I see at least 3 issues when trying to use it.

No matter what I try I can't seem to get sftp to work.

The error message has a typo

Access dienied to remote uri: sftp://localhost/tmp/test2 -

I also got this error:

csync.statedb - sqlite version mismatch
csync.statedb - sqlite3_compile error: no such table: metadata - on query SELECT COUNT(phash) FROM metadata LIMIT 1

To get around that I tried -d

I've also tried specifying the username a port number and verifed sftp works

csync_sftp - conntecting to: <redacted>
csync_sftp - port set to: <redacted>
csync_sftp - username set to: <redacted>
csync_sftp - creating sftp channel...
csync_sftp - connection established...
Access dienied to remote uri: sftp://<redacted>/tmp/test -

charles@x5:/tmp$ csync /tmp/test sftp://localhost/tmp/test2
csync.lock - Creating lock file: /home/charles/.csync/lock
csync.lock - Create temporary lock file: /home/charles/.csync/tmp_lock_XXXXXX
csync.lock - Write pid (21619) to temporary lock file: /home/charles/.csync/tmp_lock_mzQwT6
csync.lock - Create a hardlink from /home/charles/.csync/tmp_lock_mzQwT6 to /home/charles/.csync/lock.
csync.config - Config: max_depth = 50
csync.config - Config: max_time_difference = 10
csync.config - Config: sync_symbolic_links = 0
csync.exclude - Adding entry: .beagle
csync.exclude - Adding entry: .ccache
csync.exclude - Adding entry: .csync*
csync.exclude - Adding entry: .fontconfig
csync.exclude - Adding entry: .java/
csync.exclude - Adding entry: .jpi_cache
csync.exclude - Adding entry: .kde*/cache-*
csync.exclude - Adding entry: .kde*/socket-*
csync.exclude - Adding entry: .kde*/tmp-*
csync.exclude - Adding entry: .mozilla/plugins
csync.exclude - Adding entry: .mozilla/firefox/*/Cache
csync.exclude - Adding entry: .netscape/cache/
csync.exclude - Adding entry: .snapshot
csync.exclude - Adding entry: .thumbnails
csync.api - Could not load /home/charles/.csync/csync_exclude.conf -
csync.util - Normalized path for the statedb hash: localhost/tmp/test2
csync.api - Remote replica: sftp://localhost/tmp/test2
csync.api - Statedb: /home/charles/.csync/csync_statedb_8665417274852495855.db
csync.statedb - sqlite version mismatch
csync.statedb - sqlite3_compile error: no such table: metadata - on query SELECT COUNT(phash) FROM metadata LIMIT 1 OFFSET 0;
csync.statedb - statedb doesn't exist
csync_sftp - method_name: sftp
csync_sftp - args: (null)
csync.vio.main - capabilities: atomar copy support: no
csync.vio.main - capabilities: post copy stat: yes
csync.vio.main - capabilities: time sync required: yes
csync.vio.main - capabilities: unix extensions: -1
csync.vio.main - module sftp has no capabilities fn
csync_sftp - conntecting to: localhost
csync_sftp - error connecting to the server: Connection refused
Access dienied to remote uri: sftp://localhost/tmp/test2 -
Synchronisation is not possible!
csync_init: Operation now in progress
csync.lock - Removing lock file: /home/charles/.csync/lock
charles@x5:/tmp$

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libcsync-plugin-sftp 0.50.8-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon May 5 10:47:21 2014
InstallationDate: Installed on 2014-04-26 (8 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: csync-owncloud
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Charles Wright (wrighrc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.