Bug 14665 - owncloud-client 1.7.1 stable released - please can we have it in mga5?
Summary: owncloud-client 1.7.1 stable released - please can we have it in mga5?
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://owncloud.org/changelog/desktop/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 16:09 CET by Morgan Leijström
Modified: 2015-05-12 16:28 CEST (History)
6 users (show)

See Also:
Source RPM: owncloud-client-1.6.4-2.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2014-11-26 16:09:05 CET
There are some pretty important fixes/upgrades.

And I think it is a good idea to release mga5 with 1.7.x series ownCloud

(and we alrerady have latest stable server version - I noticed 1.7.3 came with updates and works nicely here.)

Reproducible: 

Steps to Reproduce:
Comment 1 Morgan Leijström 2014-11-26 16:17:59 CET
I can test cauldron 32 and 64 bit.
Using server 7.0.3 on mga5-64 on LAN.
(and also using MSWIN7 OC client)

CC: (none) => christian.julia.pro, fabien.thierry, luigiwalser, mageia, mageia

Morgan Leijström 2015-01-25 16:56:33 CET

Summary: owncloud-client 1.7.0 stable released 13 nov - please can we have it in mga5? => owncloud-client 1.7.1 stable released - please can we have it in mga5?

Comment 2 Morgan Leijström 2015-01-26 11:30:03 CET
1.7.x brings selective sync which is very important as oc client do not support filesystem links.  many bugfixes.
I guess it is extra important to have same version as the other os when suncing same folder on an dualboot system...

1.7.1 from PCLos seem to work on cauldron. I am trying it out now.

https://forums.mageia.org/en/viewtopic.php?f=8&t=8916&p=54192#p54193

Maybe there is something so sneak at there
http://rpm.pbone.net/index.php3/stat/4/idpl/28454810/dir/pclinuxos/com/owncloud-client-1.7.1-1pclos2015.x86_64.rpm.html
Comment 3 David Walser 2015-01-26 16:22:38 CET
1.7.1 is in core/updates_testing in Cauldron.  Please test.
Comment 4 Morgan Leijström 2015-01-26 23:22:57 CET
GREAT! thanks, I will.
Comment 5 Fabien THIERRY 2015-01-27 18:34:35 CET
(In reply to David Walser from comment #3)
> 1.7.1 is in core/updates_testing in Cauldron.  Please test.

Thanks a lot!

I will try
:-)
Comment 6 Morgan Leijström 2015-01-27 20:03:13 CET
Will test ASAP - I was having severe performance problem with the default database on the server, so i reinstalled it and use now MariaDB and I also made a wiki page about that (feel free to improve/correct where necesary);
Only problem now is a strange error maybe someone here can help with, see https://wiki.mageia.org/en/OwnCloud#Other
Comment 7 Morgan Leijström 2015-01-27 22:02:40 CET
Like the earlier mageia version 1.6.4 this package have a slight GUI bug:
When you have the KDE panel autohiding and right click OC icon there you get a popup menu, but when moving the pointer into that menu the menu disappears when panel hides.

For testing this I uninstalled mga5 oc client 1.7.1, and instead installed PCLOS version from http://rpm.pbone.net/index.php3/stat/4/idpl/28454810/dir/pclinuxos/com/owncloud-client-1.7.1-1pclos2015.x86_64.rpm.html

Using that package the pupup menu stays up when panel hides.
So i guess it is a packaging issue.
Comment 8 David Walser 2015-01-27 22:33:25 CET
No, not a packaging issue.  The only real difference in their package is they build it against Qt4 and we built it against Qt5.  Either it's an upstream issue, or possibly a Qt5 or even a theme issue.

pclos also didn't package the new nautilus-python extension file syncstate.py in 1.7.1.  They removed it, along with this interesting comment in their SPEC file:
#we dont have nautilus in pclos because fuck gnome3 and systemd
Comment 9 Morgan Leijström 2015-01-28 08:49:55 CET
Ah, thanks for the clarification.
Good work David !

Well Qt4 and that line in PCLOS SPEC say something about that packagers' ambitions... but lets say he/she had a bad day :)

I am a bit stumped about what to try against my server problem, hints welcome.
Comment 10 David Walser 2015-01-28 11:26:43 CET
So can you confirm that there are no regressions in our 1.7.1 package vs. the 1.6.4 package?

For the server problem, I guess you're referring to the performance problem you mentioned in Comment 6?  Switching to mariadb didn't fix it?
Comment 11 Morgan Leijström 2015-01-28 12:08:59 CET
My server until a half hour ago could not sync at all due to that issue at bottom of the wiki page...

Now i uninstalled all *php* packages, then installed them and that pulled three more packages and now it works.  No idea what it was.  I will update wiki with that fix.

I quickly tested your 1.7.1 works OK syncing and performance is high :)
Heavier tests in weekend.
Comment 12 Morgan Leijström 2015-01-28 13:54:26 CET
I see no problem in owncloud client 1.7.1-1mga5.
- OK for me to move it to official release :)

Sidenote about the server:
As for performance it here moves five small files (a couple kb) per second (before i reinstalled server i had two seconds per file, so it is 10x increase! That is still very little in bandwidth.  Servers dual atom 1,6MHz is topped out, Mysql taking 40% and three httpd 15% each. (Yes it is a low power energy saving unit.)
At the same time owncloud-client takes less than a percent.
Large files are topping disk bandwidth.
So the problem is database speed - or owncloud could upload large filesets in a more intelligent way.
Comment 13 Morgan Leijström 2015-01-28 20:16:31 CET
I have two files that client can not upload.
That is probably owncloud internal error but I post it here as a note anyway.

Although the filenames are not beautiful I find it strange that owncloud chokes on characters that is no problem for neither linux nor windows when i use them.

Both files are from a folder that is shared trough Virtualbox to a virtual WinXP machine.  Did not try these files on earlier client.

One is /home/morgan/ownCloud/VBoxDelning/TECO/Tankat/SG2_V3.72-firmware-for-all-3.x-series/IMO_V3.72/SMTV3_UpDate V3.72.exe:Zone.Identifier

owncloud-client report the file contain illegal characters. I suppose it meant to say the *filename* contain illegal characters. That is a part of an install set from TECO and both mageia and WinXP handles it. 

The other is /home/morgan/ownCloud/VBoxDelning/PICAXE/PICAXEs-dokument-och-program/Programmeringsprogram/Microsoft ATL Security Runtime Update %0AInstall if you get a splashscreen lockup at startup-details.htm

And for that the server just replies bad request.  It is an web page archived by Opera or Firefox running on XP or mageia i forgot which, bot again nothing else have problem with it.
Comment 14 Morgan Leijström 2015-01-29 19:32:50 CET
I believe 1.7.1 use a bit less CPU for same load, and do not have more problems.

The few problems i found are the same in 1.6.4 and probably not due to packaging.
Example: if one client syncs a folder located on a NTFS share to a folder shared by another user, the server seem to go crazy and uploads already downloadsd files back from it even when they have not been altered, and then shove them back to the other client that shared them in the first place and it goes slooooow and server spits errors in log.
There are a few other problems, or i just need to RTFM, but my time i can put on owncloud is out for now.

What i try to say is I think your packaging is OK, but the owncloud folks have things to catch up...
Comment 15 Stéphane Couturier 2015-01-30 09:07:23 CET
Hi,

using mga 5 KDE 64, I installed owncloud-client and lib64owncloudsync1 from update-testing, but I get a error when starting it:

from console:

$ owncloud
SocketApi:  server started, listening at  "/run/user/500/ownCloud/socket"
==== added system ignore list to socketapi: "/etc/ownCloud/sync-exclude.lst"
==== added user defined ignore list to csync: "/home/steph/.local/share/data/ownCloud/sync-exclude.lst"
setting remote poll timer interval to 30000 msec
Erreur de segmentation

(segmentation fault)

It happens a few seconds after entering my password.

Any idea?
Thanks

CC: (none) => mageia

Comment 16 David Walser 2015-01-30 13:57:53 CET
I have no idea.  In general, things you can look at with a segfault would be, if the application has a debug option, strace, ltrace, and gdb.
Comment 17 David Walser 2015-01-31 15:41:03 CET
Now pushed to core/release as owncloud-client-1.7.1-2.mga5.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 18 Stéphane Couturier 2015-01-31 19:23:58 CET
Hi, I removed it and installed it again from the core/release media after. It is now working fine. don't understand what happened before.
Thank you ;)
Comment 19 Morgan Leijström 2015-01-31 22:23:28 CET
Great to have latest owncloud server and client in mga5!
Thank you :)
Comment 20 Fabien THIERRY 2015-02-08 14:36:15 CET
(In reply to David Walser from comment #17)
> Now pushed to core/release as owncloud-client-1.7.1-2.mga5.

Thanks a lot!

It works fine :-) (with a new VM on Virtual Box and an 22Gb user on owncloud)
Comment 21 Morgan Leijström 2015-02-08 18:54:10 CET
Those who are using it: can you select a second local base folder?
Me and at least one other (presumably non mageian) linux user have problem.
http://forum.owncloud.org/viewtopic.php?f=14&t=25309&p=78838#p78838 (Me=Morgano)
Comment 22 Fabien THIERRY 2015-04-03 18:24:06 CEST
(In reply to Morgan Leijström from comment #21)
> Those who are using it: can you select a second local base folder?
> Me and at least one other (presumably non mageian) linux user have problem.
> http://forum.owncloud.org/viewtopic.php?f=14&t=25309&p=78838#p78838
> (Me=Morgano)

Euh...
It seems to work fine.
I have removed my "full" share folder and have created with success 2 folders...

But i can't add a new folder if I have a "full" share folder

:-)
Comment 23 David Walser 2015-04-03 18:27:48 CEST
(In reply to Fabien THIERRY from comment #22)
> (In reply to Morgan Leijström from comment #21)
> > Those who are using it: can you select a second local base folder?
> > Me and at least one other (presumably non mageian) linux user have problem.
> > http://forum.owncloud.org/viewtopic.php?f=14&t=25309&p=78838#p78838
> > (Me=Morgano)
> 
> Euh...
> It seems to work fine.
> I have removed my "full" share folder and have created with success 2
> folders...
> 
> But i can't add a new folder if I have a "full" share folder
> 
> :-)

Now 1.8.0 is packaged in core/updates_testing in Cauldron (by Sander).  Please test it.
Comment 24 Fabien THIERRY 2015-04-04 09:16:26 CEST
(In reply to David Walser from comment #23)
> (In reply to Fabien THIERRY from comment #22)
> > (In reply to Morgan Leijström from comment #21)
> > > Those who are using it: can you select a second local base folder?
> > > Me and at least one other (presumably non mageian) linux user have problem.
> > > http://forum.owncloud.org/viewtopic.php?f=14&t=25309&p=78838#p78838
> > > (Me=Morgano)
> > 
> > Euh...
> > It seems to work fine.
> > I have removed my "full" share folder and have created with success 2
> > folders...
> > 
> > But i can't add a new folder if I have a "full" share folder
> > 
> > :-)
> 
> Now 1.8.0 is packaged in core/updates_testing in Cauldron (by Sander). 
> Please test it.

Hello.
owncloud client 1.8.0 is installed and seems to work fine!

:-)
Comment 25 Morgan Leijström 2015-04-04 15:10:13 CEST
Thank you for keeping it updated :)

This 1.8.0 seem to work OK on my main machine.

However on my laptops it fails, saying it failed to create a journal file, "check that you have write and read rights" - yes i have *).  Plus, if i close it or let it run a while (presumably to next sync) it segmentation faults.

*) i actually see the .csync_journal.db-shm got a timestamp when i run 1.8.0, but the .csync_journal.db-wal and .owncloudsync.log are old.  All have same rights.

All are fully updated 64 bit cauldrons and were running the earlier current cauldron owncloud client package before.  The main machine is an intel i7, laptops are centrino dual cores.  I cant tell much more difference between the faulting and working machines.  Server is owncloud 7.0.5 by mageia package.

Any ideas to test?
Comment 26 Sander Lepik 2015-04-04 15:16:38 CEST
Did you update all packages? Client and libs as well?
Comment 27 Morgan Leijström 2015-04-04 15:41:28 CEST
Spot on, thanks!   i forgot lib64ocsync0 on the laptops...

Can you make owncloud-client package demand same version of the other packages?

It would ease manual maintenance if its name contain "owncloud", like the other lib do.  Why not lib64owncloudsync0 like lib64owncloudsync1 ?


( 
Just to complete of my *) paragraph if other see same symptoms:
I forgot to list that the .csync_journal.db are also not updated.
However if i delete all mentined files (.csync_journal.db, .csync_journal.db-wal, .csync_journal.db-shm, .owncloudsync.log *all* are recreated, but it still complains on access rights, and segfaults...
running it with --logwindow dont tell me any news except normal operation plus the same message it say it can not write log file - but it did. 
  )

All OK now :)
Comment 28 David Walser 2015-04-04 17:25:38 CEST
Sander, will you do the honors for the freeze push request?
Comment 29 Sander Lepik 2015-04-04 17:35:23 CEST
Done /o\ :)
Comment 30 Morgan Leijström 2015-05-09 15:47:03 CEST
Now they have released 1.8.1 with many bugfixes. ...
https://forum.owncloud.org/viewtopic.php?f=9&t=28168
Comment 31 Nicolas Lécureuil 2015-05-10 09:37:00 CEST
this is a candidate for update when mg5 will be released.
Comment 32 David Walser 2015-05-10 15:38:08 CEST
1.8.1 building in updates_testing now.  Please test when it's available.
Comment 33 Morgan Leijström 2015-05-11 11:49:22 CEST
Thanks, 64 bit update test pass OK
Comment 34 Morgan Leijström 2015-05-11 11:56:39 CEST
Nah, wait!
It works but I forgot to check - and it is not first time i forget:
 it did not update lib64ocsync0   Not on mirror yet.
It is possible to make the main package demand equal versions on all three packages?
Comment 35 Morgan Leijström 2015-05-11 12:05:27 CEST
No, weird: it is on mirror (at least now) but why is it not automatically selected for update, like the other two packages ?
Package or urpmi bug?
Comment 36 Nicolas Lécureuil 2015-05-11 12:08:09 CEST
Please test next rpm
Comment 37 Morgan Leijström 2015-05-11 12:13:49 CEST
Yes now i see... ocsync1 != ocsync0  ;)
I report back when tested.
Comment 38 Morgan Leijström 2015-05-11 14:19:52 CEST
Trying auto update, /usr/lib64/libocsync.so.0 from lib64ocsync1-1.8.1-2.mga5.x86_64 conflicts the file from lib64ocsync0-1.8.0-2.mga5.x86_64 :

# urpmi --auto-update --auto
-snip-

    http://192.168.0.12/mageia/distrib/5/x86_64/media/core/updates_testing/lib64ocsync1-1.8.1-2.mga5.x86_64.rpm
    http://192.168.0.12/mageia/distrib/5/x86_64/media/core/updates_testing/owncloud-client-1.8.1-2.mga5.x86_64.rpm
    http://192.168.0.12/mageia/distrib/5/x86_64/media/core/updates_testing/lib64owncloudsync1-1.8.1-2.mga5.x86_64.rpm
installerar owncloud-client-1.8.1-2.mga5.x86_64.rpm lib64owncloudsync1-1.8.1-2.mga5.x86_64.rpm lib64ocsync1-1.8.1-2.mga5.x86_64.rpm från /var/cache/urpmi/rpms
Förbereder...                    ##############################################################
Installationen misslyckades:    fil /usr/lib64/libocsync.so.0 från installation av lib64ocsync1-1.8.1-2.mga5.x86_64 står i konflikt med filen från paket lib64ocsync0-1.8.0-2.mga5.x86_64
Comment 39 David Walser 2015-05-11 14:25:03 CEST
Yes, it's fixed now in owncloud-client-1.8.1-3.mga5, please try when that's available.

The problem is, the real soname of the libraries is still 0, but the filenames are .so.1.8.1, which looks like it should be a soname of 1.  So the package still provides it as .so.0, which is satisfied by your existing libocsync0 and the updated libocsync1, but it won't automatically update one to the other because they have different package names.  Technically, these packages should still be using 0 as their major.  Upstream really messed us up here.  Anyway, I just had the major 1 lib packages obsolete the major 0 ones, so now it will update cleanly.
Comment 40 Morgan Leijström 2015-05-11 15:20:43 CEST
Success! (tested on another computer that had 1.8.0)
Comment 41 David Walser 2015-05-11 19:39:53 CEST
owncloud-client-1.8.1-4.mga5 is now available in core/release in Cauldron.
Comment 42 Morgan Leijström 2015-05-12 16:28:21 CEST
Very good!
So now we have the stable latest versions of both owncloud server and client in release.  :)

Note You need to log in before you can comment on or make changes to this bug.