maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Official Owncloud client for Maemo (https://talk.maemo.org/showthread.php?t=92538)

hypnotoad123 2014-01-28 09:48

[Announce] Official Owncloud client for Maemo
 
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.

nokiabot 2014-01-28 15:42

Re: [Announce] Official Owncloud client for Maemo
 
Should get gui soon:(:)

hypnotoad123 2014-01-28 18:25

Re: [Announce] Official Owncloud client for Maemo
 
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.

TomJ 2014-01-29 12:56

Re: [Announce] Official Owncloud client for Maemo
 
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.

hypnotoad123 2014-01-29 13:05

Re: [Announce] Official Owncloud client for Maemo
 
Quote:

Originally Posted by TomJ (Post 1409615)
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.

enekux 2014-01-30 14:43

Re: [Announce] Official Owncloud client for Maemo
 
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...

enekux 2014-01-30 15:44

Re: [Announce] Official Owncloud client for Maemo
 
dont bother about this now since it looks like my server is down because electricity cut... I will report back tomorrow

Unit247 2014-01-30 17:08

Re: [Announce] Official Owncloud client for Maemo
 
Great Work :)
Do you think you can port it to harmattan too?
(e.g. to the OpenRepos?)

hypnotoad123 2014-01-31 07:17

Re: [Announce] Official Owncloud client for Maemo
 
Quote:

Originally Posted by enekux (Post 1409816)
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.

Quote:

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

hypnotoad123 2014-01-31 07:20

Re: [Announce] Official Owncloud client for Maemo
 
Quote:

Originally Posted by Unit247 (Post 1409839)
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.


All times are GMT. The time now is 17:24.

vBulletin® Version 3.8.8