6.0.0-alpha12
6/9/25

[#7490] upgrade from 1.0.1 to 1.1.3 fails with pgsql error
Summary upgrade from 1.0.1 to 1.1.3 fails with pgsql error
Queue Horde Groupware
Queue Version 1.1.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester Chris (at) vandenberghe (dot) org
Created 10/13/2008 (6083 days ago)
Due
Updated 10/20/2008 (6076 days ago)
Assigned 10/19/2008 (6077 days ago)
Resolved 10/20/2008 (6076 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/20/2008 04:27:59 PM Chris (at) vandenberghe (dot) org Comment #10 Reply to this comment
Ok, I will ask the mailing list although I'm not really sure in which 
way this issue is not Horde related when the standard psql upgrade 
script provided with the release fails with a syntax error...
10/20/2008 03:46:59 PM Jan Schneider Comment #9 Reply to this comment
Since this has nothing to do with Horde itself, please ask on the 
mailing list for help.
10/20/2008 03:13:38 PM Chris (at) vandenberghe (dot) org Comment #8 Reply to this comment
I was not able to find out how to hide the tables in postgresql (is 
this even possible?) and instead removed the postfix schema temporarily.



Again the upgrade script seems to fail:



ALTER horde_datatree_attributes SET attribute_name = 'desc' WHERE 
datatree_id = 1 AND attribute_name = 'description';

ERROR:  syntax error at or near "horde_datatree_attributes"

LINE 1: ALTER horde_datatree_attributes SET attribute_name = 'desc' ...



This is the first error of many similar ones.
10/20/2008 10:04:28 AM Jan Schneider Comment #7 Reply to this comment
I find it peculiar that I would have to give the horde user more
access rights to a table which is completely unrelated to horde but
will try and let you know if this solves the issue...
You don't, if you properly hide those tables. But you have to give 
read access to all tables the user can see, because this is how 
MDB2_Schema works. It compares existing schemas with the default 
schema that comes with Horde.
10/20/2008 08:40:30 AM chris (at) vandenberghe (dot) org Comment #6 Reply to this comment
I find it peculiar that I would have to give the horde user more 
access rights to a table which is completely unrelated to horde but 
will try and let you know if this solves the issue...



I'm actually already surprised that the user is able to see the table 
as the postfix schema is not in its search path.
10/20/2008 07:58:53 AM Jan Schneider Comment #5
State ⇒ Not A Bug
Reply to this comment
Well, the updating is completely delegated to MDB2_Schema, and 
obviously the user/database combination that you specified in the 
configuration while running setup.php can see, but not read the 
forwardings table.
10/20/2008 04:41:18 AM chris (at) vandenberghe (dot) org Comment #4 Reply to this comment
Small correction/clarification:
The horde db user is the owner of the horde schema (and has it a
first schema in the search path), has select rights on public.users
and no rights on any other schema/table.
The horde user has

- full rights on every table in the horde schema (i.e., on all horde 
tables as well as the right to create new tables under this schema)

- not only select (as stated before) rights but also alter/insert 
rights on the users table in order to be able to create/amend users

- no other rights



I believe the schema setup should be transparent for horde as long as 
the public schema is never mentioned explicitly.
10/20/2008 04:28:30 AM chris (at) vandenberghe (dot) org Comment #3 Reply to this comment
Hi,



I have the following tables (in schema.table format) in database bobo:



public.users

postfix.domains

postfix.forwardings

horde.* (all the horde tables)



The horde db user is the owner of the horde schema (and has it a first 
schema in the search path), has select rights on public.users and no 
rights on any other schema/table.



public.forwardings contains the forwarding table for postfix (local 
email -> external email) and should not be accessed by anything else 
than postfix.  I have grep'ed in the horde directory for 'forwardings' 
but could not find this string back.



Using postgres schema's _should_ not be an issue, as new tables under 
the horde user are created in the horde schema automatically (if not 
specified differently) and select/alter on a table should find the 
correct schema automatically (again if not specified differently).



Hope this helps...



Regards,

Chris.
10/19/2008 05:10:27 PM Jan Schneider State ⇒ Feedback
 
10/19/2008 05:10:14 PM Jan Schneider Comment #2 Reply to this comment
Updating database...
[ ERROR! ] Reading the existing table structure failed. Error messages:
MDB2 Error: no such table
_doQuery: [Error message: Could not execute statement]
[Last executed query: SELECT * FROM forwardings LIMIT 1 OFFSET 0]
[Native message: ERROR:  relation "forwardings" does not exist]
This is the first error and it's well possible that anything else are 
follow-up errors. Do you *have* a forwardings table?
10/13/2008 04:05:44 PM Chris (at) vandenberghe (dot) org Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware
Summary ⇒ upgrade from 1.0.1 to 1.1.3 fails with pgsql error
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
Hi,



When upgrading from 1.0.1 to 1.2 failed, I tried upgrading from 1.0.1 
to 1.1.3 first... this however failed with a similar pgsql error.  I'm 
using Postgresql 8.3 on Ubuntu 8.04.



The console output from the upgrade script is as follows:



root@bobo:/var/www/org/absurdistan/mail/horde-webmail-1.1.3# 
./scripts/setup.php



What is the web root path on your web server for this installation, 
i.e. the path of the address you use to access Horde Groupware Webmail 
Edition in your browser? [/horde-webmail-1.1.3]



Horde Groupware Webmail Edition Configuration Menu

     (0) Exit

     (1) Configure database settings

     (2) Create database or tables

     (3) Configure administrator settings

     (4) Update from an older Horde Groupware Webmail Edition version



Type your choice: 4



Specify the directory of the old Horde Groupware Webmail Edition 
version that you would like to update: ../horde



Copying old configuration files...

../horde/imp/config/mime_drivers.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/mime_drivers.php

../horde/imp/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/prefs.php

../horde/imp/config/servers.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/servers.php

../horde/imp/config/motd.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/motd.php

../horde/imp/config/menu.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/menu.php

../horde/imp/config/header.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/header.php

../horde/imp/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/imp/config/conf.php

../horde/nag/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/nag/config/prefs.php

../horde/nag/config/menu.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/nag/config/menu.php

../horde/nag/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/nag/config/conf.php

../horde/mnemo/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/mnemo/config/prefs.php

../horde/mnemo/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/mnemo/config/conf.php

../horde/config/mime_drivers.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/mime_drivers.php

../horde/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/prefs.php

../horde/config/registry.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/registry.php

../horde/config/hooks.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/hooks.php

../horde/config/motd.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/motd.php

../horde/config/nls.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/nls.php

../horde/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/config/conf.php

../horde/ingo/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/ingo/config/prefs.php

../horde/ingo/config/backends.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/ingo/config/backends.php

../horde/ingo/config/fields.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/ingo/config/fields.php

../horde/ingo/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/ingo/config/conf.php

../horde/kronolith/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/kronolith/config/prefs.php

../horde/kronolith/config/menu.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/kronolith/config/menu.php

../horde/kronolith/config/keywords.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/kronolith/config/keywords.php

../horde/kronolith/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/kronolith/config/conf.php

../horde/turba/config/mime_drivers.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/config/mime_drivers.php

../horde/turba/config/prefs.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/config/prefs.php

../horde/turba/config/attributes.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/config/attributes.php

../horde/turba/config/menu.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/config/menu.php

../horde/turba/config/sources.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/config/sources.php

../horde/turba/config/conf.php -> 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/config/conf.php



Patching configuration files...

imp/config/mime_drivers.php

imp/config/prefs.php

ingo/config/fields.php

ingo/config/prefs.php

kronolith/config/prefs.php

mnemo/config/prefs.php

nag/config/prefs.php

config/mime_drivers.php

config/nls.php

config/prefs.php

config/prefs.php

config/registry.php

config/registry.php

turba/config/attributes.php

turba/config/prefs.php

turba/config/prefs.php

turba/config/sources.php

Done creating configuration files.



Cannot find the location of your PHP CLI program. Please specify the full

path to your PHP CLI or hit Enter if PHP is in your path. [/usr/bin/php]



Database superuser for updating the tables if necessary for your 
database system: horde



Specify a password for the database user: bla



Changing existing data after this point. Did you create backups of your old

data, and are you sure that you want to continue?

     (y) Yes

     (n) No



Type your choice: y



Running pre-update scripts...

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/scripts/upgrades/2.1_to_2.2_sql_schema.php

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_firstname VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_lastname VARCHAR(255)

[   OK   ] UPDATE turba_objects SET object_lastname = object_name

[   OK   ] ALTER TABLE turba_objects DROP COLUMN object_name

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_middlenames 
VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_nameprefix VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_namesuffix VARCHAR(32)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_phototype VARCHAR(10)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_bday VARCHAR(10)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_homestreet VARCHAR(255)

[   OK   ] UPDATE turba_objects SET object_homestreet = object_homeaddress

[   OK   ] ALTER TABLE turba_objects DROP COLUMN object_homeaddress

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_homepob VARCHAR(10)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_homecity VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_homeprovince

            VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_homepostalcode

            VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_homecountry 
VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_workstreet VARCHAR(255)

[   OK   ] UPDATE turba_objects SET object_workstreet = object_workaddress

[   OK   ] ALTER TABLE turba_objects DROP COLUMN object_workaddress

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_workpob VARCHAR(10)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_workcity VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_workprovince

            VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_workpostalcode

            VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_workcountry 
VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_tz VARCHAR(32)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_geo VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_pager VARCHAR(25)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_role VARCHAR(255)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_logotype VARCHAR(10)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_category VARCHAR(80)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_url VARCHAR(255)

[   OK   ] CREATE INDEX turba_email_idx ON turba_objects (object_email)

[   OK   ] CREATE INDEX turba_firstname_idx ON turba_objects 
(object_firstname)

[   OK   ] CREATE INDEX turba_lastname_idx ON turba_objects (object_lastname)

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_photo TEXT

[   OK   ] ALTER TABLE turba_objects ADD COLUMN object_logo TEXT

[   OK   ] Contact name fields parsed.

[   OK   ] Home address fields parsed.

[   OK   ] Work address fields parsed.

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/scripts/upgrades/2007-06-17_flatten_shares.php

Successfully flattened shared address books.

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/nag/scripts/upgrades/2006-04-18_add_creator_and_assignee_fields.php

Storing task creators for alex@guiller.eu ...

Storing task creators for annsophie@lagae.net ...

Storing task creators for anthony@bussani.org ...

Storing task creators for chris@vandenberghe.org ...

Storing task creators for dirk@waes.net ...

Storing task creators for greg@terrie.be ...

Storing task creators for hilde@waes.net ...

Storing task creators for jeff@vandenberghe.org ...

Storing task creators for kaat@matthys.org ...

Storing task creators for katleen@vangheel.org ...

Storing task creators for katrien@waes.net ...

Storing task creators for lode@waes.net ...

Storing task creators for lydia@vandenberghe.org ...

Storing task creators for roos@waes.net ...

Storing task creators for stefaan@michelenstefaan.org ...

Storing task creators for steven@kooyman.be ...

Storing task creators for thomas@lagae.net ...



** Creators successfully stored. ***



** Please manually apply NOT NULL constraint to 'task_creator' column. ***



Writing main configuration file

Loading database module...

Updating database...

[ ERROR! ] Reading the existing table structure failed. Error messages:

MDB2 Error: no such table

_doQuery: [Error message: Could not execute statement]

[Last executed query: SELECT * FROM forwardings LIMIT 1 OFFSET 0]

[Native message: ERROR:  relation "forwardings" does not exist]





Running post-update scripts...

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/scripts/upgrades/convert_datatree_groups_to_sql.php



Done.

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/scripts/upgrades/convert_datatree_perms_to_sql.php



Done.

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/kronolith/scripts/upgrades/convert_datatree_shares_to_sql.php

[  INFO  ] Migrating share data for share_id: 4



Fatal error: Call to undefined method MDB2_Error::execute() in 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/kronolith/scripts/upgrades/convert_datatree_shares_to_sql.php on line 
152

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php

[  INFO  ] Migrating share data for share_id: 6



Fatal error: Call to undefined method MDB2_Error::execute() in 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php on line 
152

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/nag/scripts/upgrades/convert_datatree_shares_to_sql.php

[  INFO  ] Migrating share data for share_id: 5



Fatal error: Call to undefined method MDB2_Error::execute() in 
/var/www/org/absurdistan/mail/horde-webmail-1.1.3/nag/scripts/upgrades/convert_datatree_shares_to_sql.php on line 
152

/var/www/org/absurdistan/mail/horde-webmail-1.1.3/turba/scripts/upgrades/convert_datatree_shares_to_sql.php

[  INFO  ] Migrating share data for share_id: 1

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 7

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 12

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 17

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 22

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 27

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 32

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 37

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 42

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 47

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 52

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 57

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 62

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 67

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 72

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 77

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Migrating share data for share_id: 82

[ ERROR! ] MDB2 Error: no such table

[ ERROR! ] MDB2 Error: no such table

[  INFO  ] Encountered 34 errors. No data was deleted from your database.



Done.

Done updating Horde Groupware Webmail Edition.





Horde Groupware Webmail Edition Configuration Menu

     (0) Exit

     (1) Configure database settings

     (2) Create database or tables

     (3) Configure administrator settings

     (4) Update from an older Horde Groupware Webmail Edition version



Type your choice: 0



Thank you for using Horde Groupware Webmail Edition!



---



The pgsql logs are:



2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 1 AND attribute_name = 
'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 7 AND attribute_name = 
'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 12 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 17 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 22 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 27 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 32 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 37 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 42 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 47 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 52 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 57 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 62 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 67 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 72 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 77 AND attribute_name 
= 'description'

2008-10-13 17:54:58 CEST ERROR:  syntax error at or near 
"horde_datatree_attributes" at character 7

2008-10-13 17:54:58 CEST STATEMENT:  ALTER horde_datatree_attributes 
SET attribute_name = 'desc' WHERE datatree_id = 82 AND attribute_name 
= 'description'

2008-10-13 17:54:59 CEST ERROR:  relation "forwardings" does not exist

2008-10-13 17:54:59 CEST STATEMENT:  SELECT * FROM forwardings LIMIT 1 
OFFSET 0

2008-10-13 17:55:00 CEST ERROR:  relation "horde_groups" does not exist

2008-10-13 17:55:00 CEST STATEMENT:  SELECT MAX(group_uid) FROM horde_groups

2008-10-13 17:55:00 CEST ERROR:  relation "horde_groups_seq" does not exist

2008-10-13 17:55:00 CEST STATEMENT:  SELECT NEXTVAL('horde_groups_seq')

2008-10-13 17:55:00 CEST ERROR:  relation "horde_perms" does not exist

2008-10-13 17:55:00 CEST STATEMENT:  SELECT MAX(perm_id) FROM horde_perms

2008-10-13 17:55:00 CEST ERROR:  relation "horde_perms_seq" does not exist

2008-10-13 17:55:00 CEST STATEMENT:  SELECT NEXTVAL('horde_perms_seq')

2008-10-13 17:55:00 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:00 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:00 CEST ERROR:  relation "kronolith_shares_seq" does 
not exist

2008-10-13 17:55:00 CEST STATEMENT:  SELECT NEXTVAL('kronolith_shares_seq')

2008-10-13 17:55:00 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:00 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:00 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:00 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:00 CEST ERROR:  relation "kronolith_shares" does not exist

2008-10-13 17:55:00 CEST STATEMENT:  INSERT INTO kronolith_shares 
(share_id, share_name, share_owner, attribute_name, share_flags) 
VALUES ($1, $2, $3, $4, $5)

2008-10-13 17:55:00 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:00 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:00 CEST ERROR:  relation "mnemo_shares_seq" does not exist

2008-10-13 17:55:00 CEST STATEMENT:  SELECT NEXTVAL('mnemo_shares_seq')

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "mnemo_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO mnemo_shares 
(share_id, share_name, share_owner, attribute_name, share_flags) 
VALUES ($1, $2, $3, $4, $5)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "nag_shares_seq" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  SELECT NEXTVAL('nag_shares_seq')

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "nag_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO nag_shares (share_id, 
share_name, share_owner, attribute_name, share_flags) VALUES ($1, $2, 
$3, $4, $5)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_seq" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  SELECT NEXTVAL('turba_shares_seq')

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)

2008-10-13 17:55:01 CEST WARNING:  nonstandard use of \' in a string 
literal at character 273

2008-10-13 17:55:01 CEST HINT:  Use '' to write quotes in strings, or 
use the escape string syntax (E'...').

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares 
(share_id, share_name, share_owner, attribute_name, attribute_params, 
share_flags) VALUES ($1, $2, $3, $4, $5, $6)

2008-10-13 17:55:01 CEST ERROR:  relation "turba_shares_users" does not exist

2008-10-13 17:55:01 CEST STATEMENT:  INSERT INTO turba_shares_users 
(share_id, user_uid, perm) VALUES ($1, $2, $3)



Any idea what could be the issue?



Thanks,

Chris.

Saved Queries