Update testing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Update testing

Vincent Petry
Hi,

Has anyone already tested updating from OC 5.0.16 to OC 5.0.17 and to OC
6.0.4 with SQLite, MySQL, PostgreSQL yet ?

If not I might do it later today.

Cheers,

Vincent

Reply | Threaded
Open this post in threaded view
|

Update testing

Jakub Moscicki
Hi,

Nope but I have a question: what is the recommended update path from 5.0.14a to 6.0.4 ?

Is it OK to update from 5.0.14a to OC 6.0.4 without first updating to 5.0.17? Or should I apply the updates in sequence in the 5 release?

kuba

--

On Jun 20, 2014, at 12:18 PM, Vincent Petry <pvince81 at owncloud.com>
 wrote:

> Hi,
>
> Has anyone already tested updating from OC 5.0.16 to OC 5.0.17 and to OC
> 6.0.4 with SQLite, MySQL, PostgreSQL yet ?
>
> If not I might do it later today.
>
> Cheers,
>
> Vincent
> _______________________________________________
> testpilots mailing list
> testpilots at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/testpilots


Reply | Threaded
Open this post in threaded view
|

Update testing

Vincent Petry
Hi,

I'd say the best is to first upgrade to the latest of the series.
So if you have OC 5, first update to OC 5.0.17 and only then update to
OC 6.0.4. At least it should be the safest path.

Since 5.0.14a is much older than OC 5.0.17 I'd recommend to upgrade to
OC 5.0.17 first.

Cheers,

Vincent

On 06/20/2014 12:34 PM, Jakub Moscicki wrote:

> Hi,
>
> Nope but I have a question: what is the recommended update path from 5.0.14a to 6.0.4 ?
>
> Is it OK to update from 5.0.14a to OC 6.0.4 without first updating to 5.0.17? Or should I apply the updates in sequence in the 5 release?
>
> kuba
>
> --
>
> On Jun 20, 2014, at 12:18 PM, Vincent Petry <pvince81 at owncloud.com>
>  wrote:
>
>> Hi,
>>
>> Has anyone already tested updating from OC 5.0.16 to OC 5.0.17 and to OC
>> 6.0.4 with SQLite, MySQL, PostgreSQL yet ?
>>
>> If not I might do it later today.
>>
>> Cheers,
>>
>> Vincent
>> _______________________________________________
>> testpilots mailing list
>> testpilots at owncloud.org
>> http://mailman.owncloud.org/mailman/listinfo/testpilots


Reply | Threaded
Open this post in threaded view
|

Update testing

Vincent Petry
In reply to this post by Vincent Petry
Hi,

I have tested the following using the official packages with a minimal
setup (a few subfolders with pics, a file with multiple versions, trash
in the trashbin):

- OC 5.0.16 -> OC 5.0.17 -> OC 6.0.4
- OC 6.0.3 -> OC 6.0.4

They all worked fine with sqlite, mysql and postgresql.

Cheers,

Vincent

On 06/20/2014 12:18 PM, Vincent Petry wrote:

> Hi,
>
> Has anyone already tested updating from OC 5.0.16 to OC 5.0.17 and to OC
> 6.0.4 with SQLite, MySQL, PostgreSQL yet ?
>
> If not I might do it later today.
>
> Cheers,
>
> Vincent
> _______________________________________________
> testpilots mailing list
> testpilots at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/testpilots
>


Reply | Threaded
Open this post in threaded view
|

Update testing

Jakub Moscicki
Hello,

This is to report on the server update.

With 5.0.14a server we have migrated from MySQL 5.5.30 to MySQL 5.6.17 without much problem.

We then migrated from 5.0.14a to 5.0.17 -- so far successfully, no problems reported by the users.

However we have noticed 2 things:

1) It seems that after the server version upgrade (stop httpd, update code, restart httpd) one has to connect via the web browser to *every* backend server separately -- the upgrade screen is displayed in maintenance mode and after a while the backend server becomes operational again. We have several backend servers behind a common reverse proxy.

Is this normal / expected?

2) The quotas are not reported correctly after migration (0 bytes used reported by the client). The server responses are not correct:

$ cat p1.dat:

<?xml version="1.0" ?>
<d:propfind xmlns:d="DAV:">
  <d:prop>
    <d:quota-available-bytes/>
    <d:quota-used-bytes/>
  </d:prop>
</d:propfind>

$ curl -v -X PROPFIND --header "Depth:0" --data @./p1.dat https://owncloud-server/remote.php/webdav

?.
< HTTP/1.1 207 Multi-Status

<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns"><d:response><d:href>/remote.php/webdav/</d:href><d:propstat><d:prop><oc:id>0000001367061d04e0c51</oc:id><d:quota-available-bytes>107374182401</d:quota-available-bytes><d:quota-used-bytes>0</d:quota-used-bytes></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>


kuba

--



On Jun 20, 2014, at 8:06 PM, Vincent Petry <pvince81 at owncloud.com> wrote:

> Hi,
>
> I have tested the following using the official packages with a minimal
> setup (a few subfolders with pics, a file with multiple versions, trash
> in the trashbin):
>
> - OC 5.0.16 -> OC 5.0.17 -> OC 6.0.4
> - OC 6.0.3 -> OC 6.0.4
>
> They all worked fine with sqlite, mysql and postgresql.
>
> Cheers,
>
> Vincent
>
> On 06/20/2014 12:18 PM, Vincent Petry wrote:
>> Hi,
>>
>> Has anyone already tested updating from OC 5.0.16 to OC 5.0.17 and to OC
>> 6.0.4 with SQLite, MySQL, PostgreSQL yet ?
>>
>> If not I might do it later today.
>>
>> Cheers,
>>
>> Vincent
>> _______________________________________________
>> testpilots mailing list
>> testpilots at owncloud.org
>> http://mailman.owncloud.org/mailman/listinfo/testpilots
>>
>
> _______________________________________________
> testpilots mailing list
> testpilots at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/testpilots


Reply | Threaded
Open this post in threaded view
|

Update testing

Vincent Petry
Hello,

For the maintenance mode issue I don't really know.

For the used space issue, you can check in the database what file size
appears for the root entry of the storage where path = '' and/or where
path='files'.
If that value is zero or -1 for now it should fix itself the next time a
file is uploaded, or if a file scan is run.

>From what I see the last quota-related fix was already in 5.0.14 not
sure what could have caused what you're observing.

Cheers,

Vincent

On 07/17/2014 10:09 AM, Jakub Moscicki wrote:

> Hello,
>
> This is to report on the server update.
>
> With 5.0.14a server we have migrated from MySQL 5.5.30 to MySQL 5.6.17 without much problem.
>
> We then migrated from 5.0.14a to 5.0.17 -- so far successfully, no problems reported by the users.
>
> However we have noticed 2 things:
>
> 1) It seems that after the server version upgrade (stop httpd, update code, restart httpd) one has to connect via the web browser to *every* backend server separately -- the upgrade screen is displayed in maintenance mode and after a while the backend server becomes operational again. We have several backend servers behind a common reverse proxy.
>
> Is this normal / expected?
>
> 2) The quotas are not reported correctly after migration (0 bytes used reported by the client). The server responses are not correct:
>
> $ cat p1.dat:
>
> <?xml version="1.0" ?>
> <d:propfind xmlns:d="DAV:">
>   <d:prop>
>     <d:quota-available-bytes/>
>     <d:quota-used-bytes/>
>   </d:prop>
> </d:propfind>
>
> $ curl -v -X PROPFIND --header "Depth:0" --data @./p1.dat https://owncloud-server/remote.php/webdav
>
> ?.
> < HTTP/1.1 207 Multi-Status
>
> <?xml version="1.0" encoding="utf-8"?>
> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns"><d:response><d:href>/remote.php/webdav/</d:href><d:propstat><d:prop><oc:id>0000001367061d04e0c51</oc:id><d:quota-available-bytes>107374182401</d:quota-available-bytes><d:quota-used-bytes>0</d:quota-used-bytes></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>
>
>
> kuba
>
> --
>
>
>
> On Jun 20, 2014, at 8:06 PM, Vincent Petry <pvince81 at owncloud.com> wrote:
>
>> Hi,
>>
>> I have tested the following using the official packages with a minimal
>> setup (a few subfolders with pics, a file with multiple versions, trash
>> in the trashbin):
>>
>> - OC 5.0.16 -> OC 5.0.17 -> OC 6.0.4
>> - OC 6.0.3 -> OC 6.0.4
>>
>> They all worked fine with sqlite, mysql and postgresql.
>>
>> Cheers,
>>
>> Vincent
>>
>> On 06/20/2014 12:18 PM, Vincent Petry wrote:
>>> Hi,
>>>
>>> Has anyone already tested updating from OC 5.0.16 to OC 5.0.17 and to OC
>>> 6.0.4 with SQLite, MySQL, PostgreSQL yet ?
>>>
>>> If not I might do it later today.
>>>
>>> Cheers,
>>>
>>> Vincent
>>> _______________________________________________
>>> testpilots mailing list
>>> testpilots at owncloud.org
>>> http://mailman.owncloud.org/mailman/listinfo/testpilots
>>>
>> _______________________________________________
>> testpilots mailing list
>> testpilots at owncloud.org
>> http://mailman.owncloud.org/mailman/listinfo/testpilots