Notices


Reply
Thread Tools
Posts: 32 | Thanked: 71 times | Joined on Dec 2011
#1
Hi,

I ported the official owncloud command line client to the n900. This means
that the libraries
qtkeychain
ocsync
are now available and can be used to implement a GUI. The advantage of porting the official sources is that the risk of data loss or bugs regarding the file handling is small. I tested the client for a couple of weeks and did not find any problems.

In order to install the owncloud command line client, install mirall from extras-testing. Furthermore, I provide a desktop icon and a small script to start the command line from the desktop in the package simple_oc.

Usage of simple_oc
Use the SimpleOwnCloud icon. Upon the first launch, you will be asked for username, password and url of your owncloud server. You can edit this information directly in the file
Code:
/home/user/.simple_oc.cfg
. In order to run it regularly, just add the following entry in alarmed:
Code:
/usr/bin/simple_oc
Bugs
Files on FAT filesystems might get immediately synced back once (and then distributed onto other clients) since the file access time is
only 2s precise. No data loss or corruption, but waste of data rate. EDIT: It seems, the file crawler "tracker" is responsible, too. This has to be investigated.

owncloudcmd crashes if parameters are in slightly wrong format!

For bug tracking, log files are created in /home/user/.oc_log/ and kept for 30 days.

Last edited by hypnotoad123; 2014-08-22 at 00:09.
 

The Following 24 Users Say Thank You to hypnotoad123 For This Useful Post:
nokiabot's Avatar
Posts: 1,973 | Thanked: 1,820 times | Joined on Mar 2013 @ india
#2
Should get gui soon
 
Posts: 32 | Thanked: 71 times | Joined on Dec 2011
#3
In my view, there is no real need for a gui. It should synchronize reliably. The original gui is already available (with icon), but it does not open since, i guess, it just creates a tray icon which is not visible.
 

The Following User Says Thank You to hypnotoad123 For This Useful Post:
TomJ's Avatar
Posts: 505 | Thanked: 664 times | Joined on Oct 2009
#4
That's great, well done.

I don't suppose anyone's managed to get an OwnCloud server running on an N900? It's been discussed (http://talk.maemo.org/showthread.php?p=1378083), but no-one has claimed success yet.
__________________
Want to know how to add public holidays to your device calendar? See the instructions wiki page.

Want to improve the location bar's search capabilities? there's a wiki page for that too...
 
Posts: 32 | Thanked: 71 times | Joined on Dec 2011
#5
Originally Posted by TomJ View Post
I don't suppose anyone's managed to get an OwnCloud server running on an N900? It's been discussed (http://talk.maemo.org/showthread.php?p=1378083), but no-one has claimed success yet.
Even if it were possible to have a web server on the n900 running owncloud: Owncloud needs a lot of memory to generate thumbnails etc. I would rather use seafile which is does not need a web server and which has a smaller footprint.
 
Posts: 26 | Thanked: 12 times | Joined on Dec 2012
#6
Hi again,

I have installed the packages but for me it is not working yet.

This are my logs:

01-30 15:37:55:664 void Mirall::CSyncThread::startSync() Sync started
01-30 15:37:55:669 starting to sync QThread(0x16f88) QThread(0x16f88)
01-30 15:37:55:673 Loading config: "/home/user/.local/share/data//ownCloud/owncloud.cfg" (URL is "" )
01-30 15:37:56:256 Transaction Start "checkConnect"
01-30 15:37:56:320 Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
01-30 15:37:56:330 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
01-30 15:37:56:332 void Mirall::CSyncThread::startSync() No default Account object, huh?
01-30 15:37:56:333 #### Update start ################################################## ## >>
01-30 15:37:56:382 csync_update: Journal: /home/user/owncloud/.csync_journal.db
01-30 15:37:57:371 csync_memstat_check: Memory: 51316K total size, 10904K resident, 9216K shared
01-30 15:37:57:373 csync_ftw: <= Closing walk for /home/user/owncloud with read_from_db 0
01-30 15:37:57:374 csync_update: Update detection for local replica took 0,00 seconds walking 0 files.
01-30 15:37:57:375 csync_memstat_check: Memory: 51316K total size, 10932K resident, 9244K shared
01-30 15:37:57:376 oc_module: opendir method called on ownclouds://eneko:some@server.com/owncloud/remote.php/webdav
01-30 15:37:57:376 oc_module: * scheme ownclouds
01-30 15:37:57:377 oc_module: * host server.com
01-30 15:37:57:378 oc_module: * port 0
01-30 15:37:57:378 oc_module: * path /owncloud/remote.php/webdav
01-30 15:37:57:379 oc_module: * user eneko
01-30 15:37:57:458 oc_module: fetch_resource_list_recursive Starting recursive propfind ownclouds://eneko:some@server.com/owncloud/remote.php/webdav /owncloud/remote.php/webdav
01-30 15:37:57:619 oc_module: Neon error code was 5
01-30 15:37:57:621 oc_module: WRN: propfind named failed with 5, request error: Could not connect to server: Network is unreachable
01-30 15:37:57:622 oc_module: fill_recursive_propfind_cache /owncloud/remote.php/webdav Server maybe did not give us an 'infinity' depth result
01-30 15:37:57:623 oc_module: get_listdir_context_from_recursive_cache No cache
01-30 15:37:57:627 oc_module: Neon error code was 5
01-30 15:37:57:628 oc_module: Neon error code was 5
01-30 15:37:57:629 oc_module: WRN: propfind named failed with 5, request error: Could not connect to server: Network is unreachable
01-30 15:37:57:630 oc_module: Errno set to 10006
01-30 15:37:57:679 csync_ftw: opendir failed for ownclouds://eneko:some@server.com/owncloud/remote.php/webdav - Unknown error 10006 (errno 10006)
01-30 15:37:57:681 #### ERROR during csync_update : "CSync failed to connect to the network. Could not connect to server: Network is unreachable"


Also I have realized that the icon is missing...

Last edited by enekux; 2014-01-30 at 14:45.
 
Posts: 26 | Thanked: 12 times | Joined on Dec 2012
#7
dont bother about this now since it looks like my server is down because electricity cut... I will report back tomorrow
 
Posts: 26 | Thanked: 9 times | Joined on Dec 2010 @ Austria
#8
Great Work
Do you think you can port it to harmattan too?
(e.g. to the OpenRepos?)
 
Posts: 32 | Thanked: 71 times | Joined on Dec 2011
#9
Originally Posted by enekux View Post
Hi again,

I have installed the packages but for me it is not working yet.

This are my logs:
01-30 15:37:57:376 oc_module: opendir method called on ownclouds://eneko:some@server.com/owncloud/remote.php/webdav
01-30 15:37:57:376 oc_module: * scheme ownclouds
01-30 15:37:57:377 oc_module: * host server.com
01-30 15:37:57:378 oc_module: * port 0
01-30 15:37:57:378 oc_module: * path /owncloud/remote.php/webdav
01-30 15:37:57:379 oc_module: * user eneko
01-30 15:37:57:458 oc_module: fetch_resource_list_recursive Starting recursive propfind ownclouds://eneko:some@server.com/owncloud/remote.php/webdav /owncloud/remote.php/webdav
01-30 15:37:57:619 oc_module: Neon error code was 5
01-30 15:37:57:621 oc_module: WRN: propfind named failed with 5, request error: Could not connect to server: Network is unreachable

Hi,
is your server https (it should be) or http? Network unreachable does not sound like an owncloud problem.

Also I have realized that the icon is missing...
is it availabe for adding to the desktop?
 

The Following 2 Users Say Thank You to hypnotoad123 For This Useful Post:
Posts: 32 | Thanked: 71 times | Joined on Dec 2011
#10
Originally Posted by Unit247 View Post
Great Work
Do you think you can port it to harmattan too?
(e.g. to the OpenRepos?)
Sorry, I don't know how to do this an don't want to set up another emulator. But the debs are available as source and can easily be recompiled and repackaged under another environment.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:42.