← Back to team overview

dhis2-devs team mailing list archive

Re: 2.0.5 Postgres sample cannot be restored

 

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
>
>
>

Follow ups