Pier site export - import

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

Pier site export - import

dtrussardi@tiscali.it
Hi,

        i create a Pier site with the relative Gemstone implementation.

        It's update to Pier 1.2.1.4 and work fine.


        Now i'm interested to port it to a new Gemstone environment.

        I can do  save of the Pier 'structures' relative to my site ?
       
        And after load it in a new environment ?

       
        Any pointers would be greatly appreciated !

        Thank,

                Dario
       
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

Mariano Martinez Peck
http://www.lukas-renggli.ch/blog/export-import

On Fri, Jun 4, 2010 at 12:20 PM, [hidden email] <[hidden email]> wrote:
Hi,

       i create a Pier site with the relative Gemstone implementation.

       It's update to Pier 1.2.1.4 and work fine.


       Now i'm interested to port it to a new Gemstone environment.

       I can do  save of the Pier 'structures' relative to my site ?

       And after load it in a new environment ?


       Any pointers would be greatly appreciated !

       Thank,

               Dario

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

dtrussardi@tiscali.it
In reply to this post by dtrussardi@tiscali.it
i read: 

Export the Site
  1. Upgrade to the bleeding edge versions of Magritte and Pier. Also ensure that the package Pier-Squeak-Persistency is loaded and up-to-date.
  2. Add the Import/Export component to one of your admin pages.
  3. Read the instructions and click on Export to generate and download a complete snapshot of your site.


Now in gemstone  i don't  have load  the  Pier-Squeak-Persistency package.

And into  http://seaside.gemstone.com/ss/pier  i don't found any   Pier-Squeak-Persistency entry.

I do test for Pier-Squeak-Persistency entry from http://source.lukas-renggli.ch/pier.

When i load Pier-Squeak-Persistency-kph.24 i found the error:

'This package depends on the following classes: ImageSegment You must resolve these dependencies before you will be able to load these definitions: ImageSegment>>writeKernel:on: '

Any idea ?

Thank,

Dario


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

Dale Henrichs
Dario,

I will have to get involved in this, since it is a GemStone-Specific
issue. In the past I have used SIXX to move a Pier instance from Squeak
to GemStone, but that was awhile back ...

To move from one GemStone version to another GemStone version, it isn't
necessary to export your data and reimport like it is when changing
versions of Pharo or any other client Smalltalk.

GemStone does provide an upgrade path that allows you to upgrade your
installation to a new version...So you can upgrade from GemStone/S 64
2.3 to GemStone/S 64 2.4.

Based on conversations in the GLASS list, I assume that you are
interested in upgrading from 2.3 to 2.4 ... if that is the case, I will
ask you to wait until I've announced a 2.4.x release that is ready for
GLASS. There are additional upgrade steps that are involved when
upgrading a GLASS instance that I have not validated, yet (which is why
I haven't made 2.4.x generally available for GLASS users).

Dale

[hidden email] wrote:

> Thank,
>
> from:
>
> http://www.lukas-renggli.ch/blog/export-import
>
>
> i read:
>
> Export the Site
>
>  1.  Upgrade<http://www.piercms.com/blog/how-to-upgrade-to-1.1> to the bleeding edge versions of Magritte and Pier. Also ensure that the package Pier-Squeak-Persistency is loaded and up-to-date.
>  2.  Add the Import/Export component to one of your admin pages.
>  3.  Read the instructions and click on Export to generate and download a complete snapshot of your site.
>
>
> Now in gemstone  i don't  have load  the  Pier-Squeak-Persistency package.
>
> And into  http://seaside.gemstone.com/ss/pier  i don't found any   Pier-Squeak-Persistency entry.
>
> I do test for Pier-Squeak-Persistency entry from http://source.lukas-renggli.ch/pier.
>
> When i load Pier-Squeak-Persistency-kph.24 i found the error:
>
> 'This package depends on the following classes: ImageSegment You must resolve these dependencies before you will be able to load these definitions: ImageSegment>>writeKernel:on: '
>
> Any idea ?
>
> Thank,
>
> Dario
>
>
>

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

Mariano Martinez Peck
In reply to this post by dtrussardi@tiscali.it


On Fri, Jun 4, 2010 at 3:02 PM, [hidden email] <[hidden email]> wrote:
i read: 

Export the Site
  1. Upgrade to the bleeding edge versions of Magritte and Pier. Also ensure that the package Pier-Squeak-Persistency is loaded and up-to-date.
  2. Add the Import/Export component to one of your admin pages.
  3. Read the instructions and click on Export to generate and download a complete snapshot of your site.


Now in gemstone  i don't  have load  the  Pier-Squeak-Persistency package.

And into  http://seaside.gemstone.com/ss/pier  i don't found any   Pier-Squeak-Persistency entry.

I do test for Pier-Squeak-Persistency entry from http://source.lukas-renggli.ch/pier.

When i load Pier-Squeak-Persistency-kph.24 i found the error:

'This package depends on the following classes: ImageSegment You must resolve these dependencies before you will be able to load these definitions: ImageSegment>>writeKernel:on: '


mmmm I though this component use ReferenceStream instead of ImageSegment. I even have just put a halt in writeKernel:on:
and export my kernel and it didn't stop there...did you do an snapshot instead of exporting?

can you export the whole stacktrace?

 

Any idea ?

Thank,

Dario


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

Mariano Martinez Peck
In reply to this post by Dale Henrichs


On Fri, Jun 4, 2010 at 6:24 PM, Dale Henrichs <[hidden email]> wrote:
Dario,

I will have to get involved in this, since it is a GemStone-Specific issue. In the past I have used SIXX to move a Pier instance from Squeak to GemStone, but that was awhile back ...


Dale, is ReferenceStream or SmartReferenceStream working in Gemstone?

Cheers

Mariano
 
To move from one GemStone version to another GemStone version, it isn't necessary to export your data and reimport like it is when changing versions of Pharo or any other client Smalltalk.

GemStone does provide an upgrade path that allows you to upgrade your installation to a new version...So you can upgrade from GemStone/S 64 2.3 to GemStone/S 64 2.4.

Based on conversations in the GLASS list, I assume that you are interested in upgrading from 2.3 to 2.4 ... if that is the case, I will ask you to wait until I've announced a 2.4.x release that is ready for GLASS. There are additional upgrade steps that are involved when upgrading a GLASS instance that I have not validated, yet (which is why I haven't made 2.4.x generally available for GLASS users).

Dale

[hidden email] wrote:
Thank,

from:

http://www.lukas-renggli.ch/blog/export-import


i read:

Export the Site

 1.  Upgrade<http://www.piercms.com/blog/how-to-upgrade-to-1.1> to the bleeding edge versions of Magritte and Pier. Also ensure that the package Pier-Squeak-Persistency is loaded and up-to-date.
 2.  Add the Import/Export component to one of your admin pages.
 3.  Read the instructions and click on Export to generate and download a complete snapshot of your site.



Now in gemstone  i don't  have load  the  Pier-Squeak-Persistency package.

And into  http://seaside.gemstone.com/ss/pier  i don't found any   Pier-Squeak-Persistency entry.

I do test for Pier-Squeak-Persistency entry from http://source.lukas-renggli.ch/pier.

When i load Pier-Squeak-Persistency-kph.24 i found the error:

'This package depends on the following classes: ImageSegment You must resolve these dependencies before you will be able to load these definitions: ImageSegment>>writeKernel:on: '

Any idea ?

Thank,

Dario




_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

Dale Henrichs
I haven't ported either of those to GemStone, instead I ported SIXX,
since it was designed for transferring object graphs between different
Smalltalk implementations...

We have an upgrade path that allows one to upgrade versions without
having to serialize the contents of the db (something that becomes
unrealistic pretty quickly).

Dale

Mariano Martinez Peck wrote:

>
> On Fri, Jun 4, 2010 at 6:24 PM, Dale Henrichs <[hidden email]<mailto:[hidden email]>> wrote:
> Dario,
>
> I will have to get involved in this, since it is a GemStone-Specific issue. In the past I have used SIXX to move a Pier instance from Squeak to GemStone, but that was awhile back ...
>
>
> Dale, is ReferenceStream or SmartReferenceStream working in Gemstone?
>
> Cheers
>
> Mariano
>
> To move from one GemStone version to another GemStone version, it isn't necessary to export your data and reimport like it is when changing versions of Pharo or any other client Smalltalk.
>
> GemStone does provide an upgrade path that allows you to upgrade your installation to a new version...So you can upgrade from GemStone/S 64 2.3 to GemStone/S 64 2.4.
>
> Based on conversations in the GLASS list, I assume that you are interested in upgrading from 2.3 to 2.4 ... if that is the case, I will ask you to wait until I've announced a 2.4.x release that is ready for GLASS. There are additional upgrade steps that are involved when upgrading a GLASS instance that I have not validated, yet (which is why I haven't made 2.4.x generally available for GLASS users).
>
> Dale
>
> [hidden email]<mailto:[hidden email]> wrote:
> Thank,
>
> from:
>
> http://www.lukas-renggli.ch/blog/export-import
>
>
> i read:
>
> Export the Site
>
>  1.  Upgrade<http://www.piercms.com/blog/how-to-upgrade-to-1.1> to the bleeding edge versions of Magritte and Pier. Also ensure that the package Pier-Squeak-Persistency is loaded and up-to-date.
>  2.  Add the Import/Export component to one of your admin pages.
>  3.  Read the instructions and click on Export to generate and download a complete snapshot of your site.
>
>
>
> Now in gemstone  i don't  have load  the  Pier-Squeak-Persistency package.
>
> And into  http://seaside.gemstone.com/ss/pier  i don't found any   Pier-Squeak-Persistency entry.
>
> I do test for Pier-Squeak-Persistency entry from http://source.lukas-renggli.ch/pier.
>
> When i load Pier-Squeak-Persistency-kph.24 i found the error:
>
> 'This package depends on the following classes: ImageSegment You must resolve these dependencies before you will be able to load these definitions: ImageSegment>>writeKernel:on: '
>
> Any idea ?
>
> Thank,
>
> Dario
>
>
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
>
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier site export - import

Dale Henrichs
In reply to this post by Mariano Martinez Peck
Since persistence is "built into GemStone" there has not been any need
for the Persistency package ...

If I remember correctly Lukas based the import/export on SIXX, but I
haven't had the time to look at those issues yet ...

I'm getting real close, but I'm not there yet:)

Dale

Mariano Martinez Peck wrote:

>
> On Fri, Jun 4, 2010 at 3:02 PM, [hidden email]<mailto:[hidden email]> <[hidden email]<mailto:[hidden email]>> wrote:
> Thank,
>
> from:
>
> http://www.lukas-renggli.ch/blog/export-import
>
>
> i read:
>
> Export the Site
>
>  1.  Upgrade<http://www.piercms.com/blog/how-to-upgrade-to-1.1> to the bleeding edge versions of Magritte and Pier. Also ensure that the package Pier-Squeak-Persistency is loaded and up-to-date.
>  2.  Add the Import/Export component to one of your admin pages.
>  3.  Read the instructions and click on Export to generate and download a complete snapshot of your site.
>
>
> Now in gemstone  i don't  have load  the  Pier-Squeak-Persistency package.
>
> And into  http://seaside.gemstone.com/ss/pier  i don't found any   Pier-Squeak-Persistency entry.
>
> I do test for Pier-Squeak-Persistency entry from http://source.lukas-renggli.ch/pier.
>
> When i load Pier-Squeak-Persistency-kph.24 i found the error:
>
> 'This package depends on the following classes: ImageSegment You must resolve these dependencies before you will be able to load these definitions: ImageSegment>>writeKernel:on: '
>
>
> mmmm I though this component use ReferenceStream instead of ImageSegment. I even have just put a halt in writeKernel:on:
> and export my kernel and it didn't stop there...did you do an snapshot instead of exporting?
>
> can you export the whole stacktrace?
>
>
>
> Any idea ?
>
> Thank,
>
> Dario
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
>

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki