[Glass] upgradeStone under Ubuntu 22.04 LTS always fails ...

Otto Behrens otto at finworks.biz
Fri Dec 9 05:44:54 PST 2022


Hi Marten,

We have a little hack that bypasses the call to the OS, so we could do it
in the smalltlalk source before the upgrade script and then reset
afterwards.

Yuk

Otto Behrens

+27 82 809 2375
[image: FINWorks]
[image: FINWorks] <http://za.linkedin.com/in/waltherbehrens>
www.finworks.biz

Disclaimer & Confidentiality Note: This email is intended solely for the
use of the individual or entity named above as it may contain information
that is confidential and privileged. If you are not the intended recipient,
be advised that any dissemination, distribution or copying of this email is
strictly prohibited. FINWorks cannot be held liable by any person other
than the addressee in respect of any opinions, conclusions, advice or other
information contained in this email.


On Fri, Dec 9, 2022 at 2:21 PM Marten Feldtmann <m at feldtmann.online> wrote:

> Hello Otto,
>
> thanks - suprise, surprise ... indeed the locale of my "22.04"
> Linux-system is "DE.UTF-8", the 18.04 system have "en_US.UTF-8" or
> "C.UTF-8". So you changed the locale, before calling the upgrade script
> ?How did you do that ?
>
> Marten
>
>
> Otto Behrens <otto at finworks.biz> hat am 09.12.2022 08:44 CET geschrieben:
>
>
> Hi Marten,
>
> We tripped over this when our Locale was set to use "," as the decimal
> separator. We have an override to this in some cases that bypasses the OS
> locale lookup. I would compare the locale setup on the 18.04 version and
> compare with the 22.04 version. This is because there is a hardcoded check
> in the upgrade code that compares a printed number with something like
> "10.05" and it fails because of the locale setting that uses ",".
>
> HTH
>
>
>
> Otto Behrens
>
> +27 82 809 2375
> [image: FINWorks]
>
>
>
> [image: FINWorks] <http://za.linkedin.com/in/waltherbehrens>
> www.finworks.biz
>
>
> Disclaimer & Confidentiality Note: This email is intended solely for the
> use of the individual or entity named above as it may contain information
> that is confidential and privileged. If you are not the intended recipient,
> be advised that any dissemination, distribution or copying of this email is
> strictly prohibited. FINWorks cannot be held liable by any person other
> than the addressee in respect of any opinions, conclusions, advice or other
> information contained in this email.
>
> On Thu, Dec 8, 2022 at 5:25 PM Marten Feldtmann via Glass <
> glass at lists.gemtalksystems.com> wrote:
>
> Any information regarding this problem ... ?
>
> Marten
>
> Marten Feldtmann via Glass <glass at lists.gemtalksystems.com> hat am
> 28.10.2022 11:32 CEST geschrieben:
>
>
> Hello,
>
> I tried to upgrade several stones (from leven 3.6.1 or 3.6.3) to 3.6.5
> (due to PostgreSQL and RabbitMQ connectors), but this always fails under
> Ubuntu 22.04 LTS.
>
> I have two different laptops (one is running under pure Ubuntu 22.04 LTS,
> the other under Tuxedo OS (Ubuntu 22.04 based)). I update the GsDevKit_home
> directory. Normally I do this kind of job under a 18.04 LTS Ubuntu server
> machine - without problems. I wanted to switch our product machine from
> 18.04 to 22.04 (leaving out 20.04):
>
>
> When I do a simple test:
>
> createStone test 3.6.1
> upgradeStone test test361_363 3.6.3
>
> The upgradeStone script always exits with error. The error is thrown in a
> called script:
>
> ......./upgradeImage -c 100000 -s test361_363
> During the process in topazerror.log is logged:
>
> near line 285573 of file
> /datadisk/GsDevKit_home/server/stones/test361_363/upgradeLog/upgradeImage.out,
> ERROR: UNEXPECTED ERROR
> topaz> time
> 10/28/2022 10:20:04.637 CEST
> near line 339908 of file
> /datadisk/GsDevKit_home/server/stones/test361_363/upgradeLog/upgradeImage.out,
> ERROR: WRONG VALUE
> topaz> time
> 10/28/2022 10:20:21.271 CEST
>
> In upgradeImage.out here are more details about the error ...
>
> Error 2010 , a MessageNotUnderstood occurred (error 2010), a
> ClassOrganizer class does not understand #'_resetCachedOrganizer'
> ERROR: UNEXPECTED ERROR
> topaz> time
> 10/28/2022 10:20:04.637 CEST
>
> and
>
> topaz 1> expectvalue 0
> topaz 1> send UserGlobals at: #ErrCount put: ErrorCount
> 1
> ERROR: WRONG VALUE
> topaz> time
> 10/28/2022 10:20:21.271 CEST
>
>
> Has anyone made an Gemstone upgrade under Ubuntu 22.04 ?
>
> Marten
> _______________________________________________ Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20221209/214a14b9/attachment.htm>


More information about the Glass mailing list