Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-18 Thread Juraj Kubelka
> El 16-06-2017, a las 10:34, Holger Freyther escribió: > > >> On 12. Jun 2017, at 16:41, Juraj Kubelka wrote: >> >> Hi Holger, >> >> I have an impression that it can be solved by using >> "--no-default-preferences” option: >> ./pharo Pharo.image --no-default-preferences >> >> Is it

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-16 Thread Holger Freyther
> On 12. Jun 2017, at 16:41, Juraj Kubelka wrote: > > Hi Holger, > > I have an impression that it can be solved by using > "--no-default-preferences” option: > ./pharo Pharo.image --no-default-preferences > > Is it a good solution for you? Or do you need to load some preferences? Righ

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-12 Thread Juraj Kubelka
Hi Holger, I have an impression that it can be solved by using "--no-default-preferences” option: ./pharo Pharo.image --no-default-preferences Is it a good solution for you? Or do you need to load some preferences? Another option could be implementing an error signal, e.g., CantFindOr

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-11 Thread Juraj Kubelka
Hi Holger, thanks for the report. I will resolve it soon: https://pharo.fogbugz.com/f/cases/20135/Server-deployment-is-broken-due-to-GlobalIdentifier-second-report Cheers, Juraj > El

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 9. Jun 2017, at 11:09, Holger Freyther wrote: > > > a.) Behave like unix and resolve $HOME to '' > > $ unset HOME > $ echo $HOME/.config > /.config > > self home / '.config' => '/.config' Implementing UnixResolver>>#home as home ^ self directoryFromEnvVariableNamed: 'HOME' o

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 8. Jun 2017, at 23:16, Holger Freyther wrote: > > Hey Juraj! Hey! this will most likely block more people trying to deploy a headless Pharo6 image but I am not so sure how to properly fix it. > $ unset HOME > $ pharo ... > Error: Can't find the requested origin ... > UnixResolver(Pla

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 17. Apr 2017, at 21:30, Juraj Kubelka wrote: > > Hi Holger, Hey Juraj! > Basically it tests `FileLocator home exists`, if false, it does not touch > disk. We could also add a #disablePersistence method if necessary. I thought I tested it but somehow it is broken (again)? Looks like Fi

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-17 Thread Juraj Kubelka
Hi Holger, I have resolved the issue: https://pharo.fogbugz.com/f/cases/19944/Server-deployment-is-broken-due-to-GlobalIdentifier I will appreciate if you review it and test it. Basically it tests `

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-16 Thread Ben Coman
On Sat, Apr 15, 2017 at 3:11 PM, Holger Freyther wrote: > >> On 15. Apr 2017, at 07:59, Holger Freyther wrote: >> >> >> * Why isn't the migration from Ston to Fuel more explicit? >> * Why is "load" trying to save? >> * Why is "ensure:" used instead of load? >> * Not sure why "self preferences exi

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-15 Thread Juraj Kubelka
> El 15-04-2017, a las 04:11, Holger Freyther escribió: > > >> On 15. Apr 2017, at 07:59, Holger Freyther wrote: >> >> >> * Why isn't the migration from Ston to Fuel more explicit? >> * Why is "load" trying to save? >> * Why is "ensure:" used instead of load? >> * Not sure why "self prefere

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-15 Thread Holger Freyther
> On 15. Apr 2017, at 07:59, Holger Freyther wrote: > > > * Why isn't the migration from Ston to Fuel more explicit? > * Why is "load" trying to save? > * Why is "ensure:" used instead of load? > * Not sure why "self preferences exists" seems to end in true? Is there an option to not run start

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-14 Thread Stephane Ducasse
Holger with guille, damien and two students we are looking at how to improve the deployment of pharo and you scenario is really interesting. Stef On Sat, Apr 15, 2017 at 7:59 AM, Holger Freyther wrote: > > > On 15. Apr 2017, at 00:23, Juraj Kubelka > wrote: > > > > Hi, > > Hey! > > >> As this

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-14 Thread Holger Freyther
> On 15. Apr 2017, at 00:23, Juraj Kubelka wrote: > > Hi, Hey! >> As this is a server application and I run multiple VMs with the same image >> and there is no home directory I would prefer that no information is >> persisted at all. Can this be done? Have there been any changes in Pharo6 in

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-14 Thread Juraj Kubelka
Hi, > El 14-04-2017, a las 16:17, Holger Freyther escribió: > > Hi, > > as Pharo6 is around the corner I have moved my CI build from tracking Pharo5 > to Pharo6 but I run into a problem. Either if $HOME is not set at all or > $HOME points to a wrong directory I run into the error below. > >

[Pharo-users] Pharo6 server deployment and no home directory

2017-04-14 Thread Holger Freyther
Hi, as Pharo6 is around the corner I have moved my CI build from tracking Pharo5 to Pharo6 but I run into a problem. Either if $HOME is not set at all or $HOME points to a wrong directory I run into the error below. As this is a server application and I run multiple VMs with the same image and