SolidCharity / OpenPetraNow

NEW: has been moved to https://github.com/openpetra/openpetra WAS: A stable version of OpenPetra that can be used today, frozen at a certain release of OpenPetra and updated irregularly, probably once in a quarter
GNU General Public License v3.0
0 stars 2 forks source link

openpetra-server init fails: cannot load demo database #1

Closed tpokorra closed 10 years ago

tpokorra commented 10 years ago

This is a clean install of package openpetranow-server on CentOS5, following the instructions at http://www.pokorra.de/2014/06/install-openpetra-now-2014-05-on-centos5/ When running service openpetra-server init, the demo database should be loaded. This fails with the following error:

Starting OpenPetra.org server
09:55:31      Connecting to database PostgreSQL: Server=localhost;Port=5432;User Id=petraserver;Database=openpetra;ConnectionLifeTime=60;CommandTimeout=3600;Password=*hidden*
09:55:31    Connected to Database.
09:55:31  Server has been initialised
09:55:32  System.Exception: invalid session, does not have a client ID
  at Ict.Common.Remoting.Server.DomainManager.get_GClientID () [0x00000] in <filename unknown>:0 
  at Ict.Petra.Server.MSysMan.ImportExport.WebConnectors.TImportExportWebConnector.ResetDatabase (System.String AZippedNewDatabaseData) [0x00000] in <filename unknown>:0 
  at Ict.Petra.Server.MSysMan.ImportExport.TImportExportManager.RestoreDatabaseFromYmlGZ (System.String AYmlGzData) [0x00000] in <filename unknown>:0 
  at Ict.Petra.Server.App.Core.TServerManager.RestoreDatabaseFromYmlGZ (System.String AYmlGzData) [0x00000] in <filename unknown>:0 
  at Ict.Petra.Server.App.Core.ServerAdmin.WebConnectors.TServerAdminWebConnector.RestoreDatabaseFromYmlGZ (System.String AYmlGzData) [0x00000] in <filename unknown>:0 
  at Ict.Petra.Server.App.WebService.TMServerAdminWebService.TServerAdminWebConnector_RestoreDatabaseFromYmlGZ (System.String AServerAdminSecurityToken, System.String AYmlGzData) [0x00000] in <filename unknown>:0 
tpokorra commented 10 years ago

fixed with this commit: https://github.com/SolidCharity/OpenPetraPatchRemoting/commit/2ea28eeb5b31c3b8e899218f00279b9909f745a3