← Back to team overview

dhis2-devs team mailing list archive

Re: 2.0.5 Postgres sample cannot be restored

 

Eh right, well you should at least try the bug fix that solved the problem
for me first then.

I have two computers with W7/8.4 and W7/9.0.

On Wed, Nov 10, 2010 at 19:15, Jason Pickering
<jason.p.pickering@xxxxxxxxx>wrote:

> If I had enough bandwidth to send you 50MB I would but not sure I can.
> I will try and see what I can do.
>
> Are you running Postgres 9.0 or 8.4? Win 7?
>
> Regards,
> Jason
>
>
> On Wed, Nov 10, 2010 at 8:11 PM, Jan Henrik Øverland
> <janhenrik.overland@xxxxxxxxx> wrote:
> > Not sure whether the bug fix will help you or not as truncating the user
> > settings table didn't make any difference for me. So there is a chance
> we've
> > got two separate problems here.
> >
> > Jason, I would like to test your db with 2.0.5.
> >
> > On Wed, Nov 10, 2010 at 18:57, jason.p.pickering@xxxxxxxxx
> > <jason.p.pickering@xxxxxxxxx> wrote:
> >>
> >> Not exactly the same problem, as I did not try and restore the demo db.
> I
> >> did a fresh import from a dhis 1.4 database. The effect for me was the
> GIS
> >> would not work except when I truncated the user settings table. However
> the
> >> same error occurred when I started the GIS again after exiting it. I
> think
> >> Jan committed a fix to trunk but I have yet to try it out.
> >>
> >> Sent from my HTC
> >>
> >> ----- Reply message -----
> >> From: "Saptarshi Purkayastha" <sunbiz@xxxxxxxxx>
> >> Date: Wed, Nov 10, 2010 6:07 pm
> >> Subject: [Dhis2-devs] 2.0.5 Postgres sample cannot be restored
> >> To: "jason.p.pickering@xxxxxxxxx" <jason.p.pickering@xxxxxxxxx>
> >> Cc: "DHIS 2 developers" <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> >>
> >>
> >> yes!!
> >> heard that from Lars that you had the same problem
> >>
> >> ---
> >> Regards,
> >> Saptarshi PURKAYASTHA
> >>
> >> My Tech Blog:  http://sunnytalkstech.blogspot.com
> >> You Live by CHOICE, Not by CHANCE
> >>
> >>
> >> On 10 November 2010 16:59, jason.p.pickering@xxxxxxxxx <
> >> jason.p.pickering@xxxxxxxxx> wrote:
> >>
> >> > This is very strange. I got the exact same error while using the GIS.
> >> > Are
> >> > you using postgres 9 on Windows 7?
> >> >
> >> > Sent from my HTC
> >> >
> >> > ----- Reply message -----
> >> > From: "Saptarshi Purkayastha" <sunbiz@xxxxxxxxx>
> >> > Date: Wed, Nov 10, 2010 3:50 pm
> >> > Subject: [Dhis2-devs] 2.0.5 Postgres sample cannot be restored
> >> > To: "DHIS 2 developers" <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> >> >
> >> >
> >> > Hi devs,
> >> >
> >> > The sample database backup for 2.0.5 at http://dhis2.org/downloads
> >> > cannot
> >> > be
> >> > restored using pgadmin
> >> > When using pgadmin the 'OK' button stays gray. I've tried this and
> some
> >> > say
> >> > that plan backups cannot be restored, compressed ones work fine
> >> >
> >> > Also after the command-line restore gives the following exception on
> >> > login:
> >> > Exception (org.hibernate.type.SerializationException): could not
> >> > deserialize
> >> > Caused by (java.io.StreamCorruptedException): invalid stream header:
> >> > BB656430
> >> >
> >> > ---
> >> > Regards,
> >> > Saptarshi PURKAYASTHA
> >> >
> >> > My Tech Blog:  http://sunnytalkstech.blogspot.com
> >> > You Live by CHOICE, Not by CHANCE
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> >> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> >
>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+260968395190
>

References