Installing an additional midgard db
-
Andreas Flack
Installing an additional midgard db
Wed May 13 2009 12:20:06 UTCHi!
Once again, I'm trying to make datagard install a clean midgard db for
me on a system where other dbs already exist. I don't want to use the
install action, since that kills all the symlinks to my midcom svn
installation, so I tried -a dbinstall, which created a new db (BTW: DG
in .5 seems way more robust than before, kudos to all involved!).
So far so good, but at this point I'm still stuck: When I try to run -a
vhost, it fails with
MIDGARD SETUP ERROR: Can not set default style for a host.
So I have a database without any hosts defined, which means I can't
access it over http, even if I create cache and blobdirs and apache
vhost by hand. Is it just that I overlooked something or do I still need
the install action to create a clean db which is ready for use?
Bye,
Andreas
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user -
Re: [midgard-user] Installing an additional midgard db
Wed May 13 2009 12:50:06 UTCAndreas Flack writes:
> Hi!
Hi!
> So far so good, but at this point I'm still stuck: When I try to run -a
> vhost, it fails with
>
> MIDGARD SETUP ERROR: Can not set default style for a host.
I think it's caused by style template not being imported to database.
Try to run DG with 'pear' action. And (of course) with particular
configuration.
Piotras
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user -
Re: [midgard-user] Installing an additional midgard db
Wed May 13 2009 13:30:05 UTCPiotr Pokora schrieb:
> Andreas Flack writes:
>> Hi!
>
> Hi!
>
>> So far so good, but at this point I'm still stuck: When I try to run -a
>> vhost, it fails with
>>
>> MIDGARD SETUP ERROR: Can not set default style for a host.
>
> I think it's caused by style template not being imported to database.
> Try to run DG with 'pear' action. And (of course) with particular
> configuration.
I just tried, but that overwrites all my symlinks again because it
forces a reinstall of all pear packages. Luckily, this happened to me so
many times already that I have a fully automated shell script to undo
the damage :-).
But anyways, wouldn't running
-a pear
-a dbinstall
-a vhost
be identical to
-a install
?
Bye,
Andreas
>
> Piotras
> _______________________________________________
> user mailing list
> user@lists.midgard-project.org
> http://lists.midgard-project.org/mailman/listinfo/user
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user -
Re: [midgard-user] Installing an additional midgard db
Wed May 13 2009 14:05:04 UTCP.S.: I just noticed that running datagard -a pear only installed the
main styledir and one style element from each of the templates (so DG
will run, but the templates are in fact not working). Is that a local
issue or something I should create a ticket for?
Bye,
Andreas
Andreas Flack schrieb:
> Piotr Pokora schrieb:
>> Andreas Flack writes:
>>> Hi!
>> Hi!
>>
>>> So far so good, but at this point I'm still stuck: When I try to run -a
>>> vhost, it fails with
>>>
>>> MIDGARD SETUP ERROR: Can not set default style for a host.
>> I think it's caused by style template not being imported to database.
>> Try to run DG with 'pear' action. And (of course) with particular
>> configuration.
>
> I just tried, but that overwrites all my symlinks again because it
> forces a reinstall of all pear packages. Luckily, this happened to me so
> many times already that I have a fully automated shell script to undo
> the damage :-).
>
> But anyways, wouldn't running
>
> -a pear
> -a dbinstall
> -a vhost
>
> be identical to
>
> -a install
>
> ?
>
> Bye,
>
> Andreas
>
>> Piotras
>> _______________________________________________
>> user mailing list
>> user@lists.midgard-project.org
>> http://lists.midgard-project.org/mailman/listinfo/user
> _______________________________________________
> user mailing list
> user@lists.midgard-project.org
> http://lists.midgard-project.org/mailman/listinfo/user
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user -
Re: [midgard-user] Installing an additional midgard db
Wed May 13 2009 20:05:04 UTCAndreas Flack writes:
> P.S.: I just noticed that running datagard -a pear only installed the
> main styledir and one style element from each of the templates (so DG
> will run, but the templates are in fact not working). Is that a local
> issue or something I should create a ticket for?
Make sure and create ticket. We can always mark it as invalid.
Piotras
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user
