[aegir] Upgrading from alpha7 to alpha13 fails
Tim Wood
tim at buchbinder.org
Wed Sep 15 04:15:02 EST 2010
I might give one of those options a shot. Any other suggestions? I'm
hoping for something a bit more straight forward/easier. I was considering
changing the weight of the modules in the system table so that the upgrade
process order would be different. Not sure this will work or what else it
might affect.
Also, is there some way to iterate through the steps. Each time I run and
it fails it simply roles back all changes and I cannot get a very good idea
at what point it failed or what it didn't do.
Thanks,
-Tim
On Tue, Sep 14, 2010 at 10:07 AM, Christian Pearce <pearcec at xforty.com>wrote:
> Can you manually execute part of the upgrade to the database. Then set the
> version level of the database. Then run the upgrade again?
>
> Or can you upgrade to an intermediary version of aegir that doesn't include
> the call to 6009?
>
>
> ----- "Tim Wood" <tim at buchbinder.org> wrote:
> > I've narrowed down the issue we are having with this upgrade, but I don't
> know the best way to fix the issue to successfully upgrade. The errors we
> are getting are related to "hosting_update_6009" and
> "hosting_web_server_update_6002". I've attached the log, without
> debugging/verbose.
>
> >
> What we believe is happening is the hosting_update_6009 function queries
> the database (SELECT) for some table columns (port, restart_cmd) in
> hosting_service which do NOT exist, yet. This is done on line 271 in
> hosting.install:
>
> >
> $server = hosting_context_load('@server_master');
>
> >
> The hosting_web_server_update_6002 function is also querying the database
> (UPDATE) for unknown columns. This is done on line 62 in
> hosting_web_server.install:
>
> >
> db_query("UPDATE {hosting_service} SET restart_cmd = '%s', port = 80 WHERE
> nid=%d AND service='http' AND type = 'apache'", $obj->restart_cmd,
> $obj->nid);
>
> >
> The reason these columns don't exist yet is because they are part of
> another upgrade function, hosting_server_update_6003. In the log it looks
> like hosting_update_6009 runs BEFORE hosting_server_update_6003, which
> explains why the columns aren't available at that time. However,
> hosting_web_server_update_6002 appears to run AFTER
> hosting_server_update_6003, but is still complaining about unknown columns.
> Help!
>
> >
> I wasn't sure which Aegir component is at fault here, so I'm posting this
> to the new user mailing list as well as the G.D.O discussions here:
> http://groups.drupal.org/node/93279
>
> >
> Thanks,
> -Tim
>
> >
> P.S. I believe user hozt had the same issue when upgrading to alpha10 here:
> http://groups.drupal.org/node/86354#comment-270034.
>
> > _______________________________________________ aegir mailing list
> aegir at lists.aegirproject.org
> http://lists.aegirproject.org/cgi-bin/mailman/listinfo/aegir
> >
>
> --
> xforty technologies
> Christian Pearce
> 888-231-9331 x1119
> http://xforty.com
>
>
> _______________________________________________
> aegir mailing list
> aegir at lists.aegirproject.org
> http://lists.aegirproject.org/cgi-bin/mailman/listinfo/aegir
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aegirproject.org/pipermail/aegir/attachments/20100914/3f21dbaf/attachment.htm>
More information about the aegir
mailing list