+ Reply to Thread
Results 1 to 4 of 4

Thread: Upgrade error (install-utils.inc) ??

  1. #1
    Join Date
    Mar 2007
    Location
    Denmark
    Posts
    269

    Default Upgrade error (patch-roles_multitenant.sql) ??

    Hi

    I'm trying to take my old Gooesberry database with me into the new Hayes VMware version, but I get the following error when I run the web installer:

    Code:
    # Generating LocalSettings.php configuration file...
    # Database type: MySQL
    # Attempting to connect to database server as root...success.
    # Connected to 5.0.32-Debian_7etch3-log
    # Database wikidb exists
    # This appears to be a Deki Wiki Gooseberry database. Attempting to upgrade the DB schema to Hayes.
    # Granting user permissions to wikiuser on wikidb...success.
    # combo permissions system DB upgrade...done
    # adding content-type column to `pages`
    # sprocs update complete
    # Applying misc database updates...done
    # adding at_image_width, at_image_height to `attachments`
    # adding tags tables
    # migrationg dekifarm db to hayes schema
    # adding special pages
    # adding role_hidden to roles table
    # adding user_builtin to users table
    # adding tag_types to tags table
    # adding group_name index to groups table
    # adding ar_last_page_id to archive table
    # applying miscellaneous df2hayes updates
    # cleanup up special pages
    # adding config table
    # adding user registration table
    # adding extension services
    # updated archives table with primary key
    # updated services table set service_sid nullable
    # deleting Admin:Configuration, Admin:AccountInfo, Admin:ProductActivation pages
    # comments table added
    # adding ar_old_id to archive table
    # user external column added
    # nullable attachment update finished
    # anonymous user updated for all tables
    # adding requestlog, requeststats tables
    # Dropping unused Gooseberry tables
    # converting table character set to utf8
    # converting roles for multi-tenant
    
    Warning: fopen(/var/www/deki-hayes/maintenance/archives/patch-roles_multitenant.sql) [function.fopen]: failed to open stream: No such file or directory in /var/www/deki-hayes/install-utils.inc on line 108
    Could not open "/var/www/deki-hayes/maintenance/archives/patch-roles_multitenant.sql".
    Things I have done pre to the error:

    - Copied my attachments to deki-wiki/attachments
    - Droped the alredy installed Hayes database
    - Created a new database (wikidb)
    - Inserted the old Gooesberry database into the new empty wikidb
    - Go to http://<wiki> and executing the web installer
    - The error come

    The file install-utils.inc exist, nut the file patch-roles_multitenant.sql does NOT exist..

    Can some one help me...??

    Thanks

    /Mads
    Last edited by mads; 01-13-2008 at 10:29 AM.

  2. #2
    Join Date
    Mar 2007
    Location
    Denmark
    Posts
    269

    Default

    The file "deki-hayes/maintenance/archives/patch-roles_multitenant.sql" that it's missing it not to find in either the Hayes version or Gooesberry version??

    Does somebody know way it's looking for the file, or where it should come from?

    /Mads

  3. #3
    Join Date
    Mar 2007
    Location
    Denmark
    Posts
    269

    Default

    Hi again

    I have solved the problem my self. This is how I did it:

    By searching a little in the forum/Wiki I found this site, which contains some file that are necessary for running two DekiWiki's on the same server, if I understand it right:

    https://dekiwiki.svn.sourceforge.net...ance/archives/

    I then copied these two files into deki-hayes/maintenance/archives:
    Code:
    patch-admin_pages_multitenant.sql 
    patch-roles_multitenant.sql
    I then drop the database, created it again, imported the Gooesberry database and ran the web installer again and Wupti..the web installer finished successfully...

    Now I just have to find out, how to delete users and there articles permanently.. any suggestions??

  4. #4

    Default

    I cannot find those files
    the link you sullied is no more valid.
    Could help?

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts