[OGo-Discuss-DE] Portieren der Daten auf Suse 9.2 und Postgresql 7.4

Vertrieb discuss-de@opengroupware.org
Thu, 3 Feb 2005 11:14:59 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0016_01C509E1.994366B0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0017_01C509E1.994366B0"


------=_NextPart_001_0017_01C509E1.994366B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

 Hallo ,=20

erst einmal Danke im voraus f=FCr eure Hilfe.=20

Ich habe OpenGroupware auf Suse 9.1 produktiv am laufen.=20

Nun will ich die Daten auf opengroupware.org-1.0a auf Suse 9.2 =
aufspielen.=20

Die Daten von Documents und News habe ich kopiert.=20
(/var/lib/opengroupware.org/documents // =
/var/lib/opengroupware.org/news)=20

Habe mit allem versucht die Daten von der Datenbank zu sichern=20
( z.B. pg_dump, pg_dumpall ...)=20
# pg_dumpall > SAVE=20

Habe:=20
# mv /var/lib/pgsql/data /var/lib/pgsql/data.bak=20
# rcpostgresql start=20
# cp /var/lib/pgsql/data.bak/postgresql.conf =
/var/lib/pgsql/data/postgresql.conf=20
# cp /var/lib/pgsql/data.bak/pg_hba.conf /var/lib/pgsql/data/pg_hba.conf =

# su postgres=20
# psql template1 -f SAVE=20

danach:=20
# su - postgres=20
# psql ogo ogo=20
# \i =
/usr/local/share/opengroupware.org-1.0a/dbsetup/PostgreSQL/pg-update-sche=
ma.psql=20

wenn ich das gemacht habe erscheint bei :=20
# \d=20

Schema | Name | Type | Owner=20
--------+----------------------------+----------+-------=20
public | address | table | ogo=20
public | appointment_resource | table | ogo=20
public | article | table | ogo=20
public | article_category | table | ogo=20
public | article_unit | table | ogo=20
public | company | table | ogo=20
public | company_assignment | table | ogo=20

Man sieht das der owner ogo und nicht OGo ist =20

# \q=20
#exit=20

mit=20
# su postgres=20
# createuser -A -D OGo=20
habe ich scho einen owner angelegt. Auch habe ich, so naiv wie ich bin, =
einfach versucht in in der :=20
# cd /var/lib/opengroupware.org/.libFoundation/Defaults=20
# cat NSGlobalDomain.plist=20

OGo mit ogo getauscht wie u.a:=20
{=20
LSAuthLDAPServer =3D "localhost";=20
LSAuthLDAPServerRoot =3D =
"ou=3DUsers,ou=3DOxObjects,dc=3Dabcona,dc=3Dint";=20
LSAuthLDAPServerPort=3D "389";=20
LSAdaptor =3D PostgreSQL;=20
LSConnectionDictionary =3D {=20
databaseName =3D ogo; #### OGo getauscht=20
hostName =3D localhost;=20
password =3D "";=20
port =3D 5432;=20
userName =3D ogo; ##### Ogo getauscht=20
};=20
LSUseLowercaseLogin =3D Yes;=20
Languages =3D (=20
English=20
);=20
TimeZoneName =3D MET;=20

Grrrrrrrrrrrrrrrrrr hass im quadrat ( sch.....)=20

L=F6sungsansatz:=20
Ok , ich denke, das ich der Datenbank einen anderen owner geben muss.=20
Wie geht das?=20

oder kann mir jemand helfen, hat jemand eine andere idee?=20

VIELEN DANK IM VORAUS
_________________
Angelo Malaguarnera=20
ABConA=20
Bornhohl 26a=20
61449 Steinbach=20
Telefon: 06171 98 16 83=20
E-Mail : vertrieb@abcona.de=20
URL : http://www.abcona.de 
------=_NextPart_001_0017_01C509E1.994366B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><!--StartFragment -->&nbsp;<SPAN class=3Dpostbody>Hallo , =
<BR><BR>erst einmal=20
Danke im voraus f=FCr eure Hilfe. <BR><BR>Ich habe OpenGroupware auf =
Suse 9.1=20
produktiv am laufen. <BR><BR>Nun will ich die Daten auf =
opengroupware.org-1.0a=20
auf Suse 9.2 aufspielen. <BR><BR>Die Daten von Documents und News habe =
ich=20
kopiert. <BR>(/var/lib/opengroupware.org/documents //=20
/var/lib/opengroupware.org/news) <BR><BR>Habe mit allem versucht die =
Daten von=20
der Datenbank zu sichern <BR>( z.B. pg_dump, pg_dumpall ...) <BR># =
pg_dumpall=20
&gt; SAVE <BR><BR>Habe: <BR># mv /var/lib/pgsql/data =
/var/lib/pgsql/data.bak=20
<BR># rcpostgresql start <BR># cp =
/var/lib/pgsql/data.bak/postgresql.conf=20
/var/lib/pgsql/data/postgresql.conf <BR># cp =
/var/lib/pgsql/data.bak/pg_hba.conf=20
/var/lib/pgsql/data/pg_hba.conf <BR># su postgres <BR># psql template1 =
-f SAVE=20
<BR><BR>danach: <BR># su - postgres <BR># psql ogo ogo <BR># \i=20
/usr/local/share/opengroupware.org-1.0a/dbsetup/PostgreSQL/pg-update-sche=
ma.psql=20
<BR><BR>wenn ich das gemacht habe erscheint bei : <BR># \d =
<BR><BR>Schema | Name=20
| Type | Owner =
<BR>--------+----------------------------+----------+-------=20
<BR>public | address | table | ogo <BR>public | appointment_resource | =
table |=20
ogo <BR>public | article | table | ogo <BR>public | article_category | =
table |=20
ogo <BR>public | article_unit | table | ogo <BR>public | company | table =
| ogo=20
<BR>public | company_assignment | table | ogo <BR><BR>Man sieht das der =
owner=20
ogo und nicht OGo ist <IMG alt=3DSad=20
src=3D"http://de.opengroupware.info/images/smiles/icon_sad.gif" =
border=3D0>=20
<BR><BR># \q <BR>#exit <BR><BR>mit <BR># su postgres <BR># createuser -A =
-D OGo=20
<BR>habe ich scho einen owner angelegt. Auch habe ich, so naiv wie ich =
bin,=20
einfach versucht in in der : <BR># cd=20
/var/lib/opengroupware.org/.libFoundation/Defaults <BR># cat=20
NSGlobalDomain.plist <BR><BR>OGo mit ogo getauscht wie u.a: <BR>{=20
<BR>LSAuthLDAPServer =3D "localhost"; <BR>LSAuthLDAPServerRoot =3D=20
"ou=3DUsers,ou=3DOxObjects,dc=3Dabcona,dc=3Dint"; =
<BR>LSAuthLDAPServerPort=3D "389";=20
<BR>LSAdaptor =3D PostgreSQL; <BR>LSConnectionDictionary =3D { =
<BR>databaseName =3D=20
ogo; #### OGo getauscht <BR>hostName =3D localhost; <BR>password =3D ""; =
<BR>port =3D=20
5432; <BR>userName =3D ogo; ##### Ogo getauscht <BR>}; =
<BR>LSUseLowercaseLogin =3D=20
Yes; <BR>Languages =3D ( <BR>English <BR>); <BR>TimeZoneName =3D MET;=20
<BR><BR>Grrrrrrrrrrrrrrrrrr hass im quadrat ( sch.....) =
<BR><BR>L=F6sungsansatz:=20
<BR>Ok , ich denke, das ich der Datenbank einen anderen owner geben =
muss.=20
<BR>Wie geht das? <BR><BR>oder kann mir jemand helfen, hat jemand eine =
andere=20
idee? <BR><BR>VIELEN DANK IM VORAUS<BR>_________________<BR>Angelo =
Malaguarnera=20
<BR>ABConA <BR>Bornhohl 26a <BR>61449 Steinbach <BR>Telefon: 06171 98 16 =
83=20
<BR>E-Mail : <A =
href=3D"mailto:vertrieb@abcona.de">vertrieb@abcona.de</A> <BR>URL=20
: <A href=3D"http://www.abcona.de" =
target=3D_blank>http://www.abcona.de</A></SPAN>=20
</DIV></BODY></HTML>

------=_NextPart_001_0017_01C509E1.994366B0--

------=_NextPart_000_0016_01C509E1.994366B0
Content-Type: image/gif;
	name="icon_sad.gif"
Content-Transfer-Encoding: base64
Content-Location: http://de.opengroupware.info/images/smiles/icon_sad.gif

R0lGODlhDwAPALMMAP/qAEVFRQAAAP/OAP/JAP6dAP+0AP/+k//9E///x//lAP//6wAAAAAAAAAA
AAAAACH5BAEAAAwALAAAAAAPAA8AAARYkEkZap2Y1ZXOGRcWcAgCnEMRTEEnnLCQrtrxwjGoJSZw
+yeCKnDo/W4EQ+WAawKSlZ4zqAwMpieFcGU9Cb7fp04zGPwACpmKVSa43bNMxUA3DDMsC20SAQA7

------=_NextPart_000_0016_01C509E1.994366B0--