Carolyn Beeton wrote:
> I can't seem to make it regenerate domain-config.
>
> Following r13758, I need domain-config regenerated to include the new
> fields, otherwise xmlrpc fails.
>
> I have wiped out the /out directory, and done
> ./sipxconfig.sh --database drop
> (I've also tried ./sipxconfig.sh --database first-run)
>
> but when I run sipxpbx, I get this message:
>
> Failed to execute: insert into initialization_task (name) values
> ('first-run')
>
> BUILD FAILED
> /home/cbeeton/commit/out/main/etc/sipxpbx/database/database.xml:479:
> org.postgresql.util.PSQLException: ERROR: duplicate key violates unique
> constraint "initialization_task_pkey"
>
> and no domain-config.
>
> What do I have to do to get this file generated?
>
> Thanks,
> Carolyn
>
There are couple of ways:
- Dropping and recreating database:
sipxconfig.sh --database drop create
- Adding/removing domain alias in UI
- Forcing 'first-run':
sipxconfig.sh --first-run (not sipXconfig.sh --database first-run)
I was also under impression that activating the server (Activate link in
Services screen) should do that as well but I checked in the code and it
doesn't.
Also Kevin actually found some problems with first-run taks: probably the
same that you found. He is debugging it now, but one of the ways I posted
should still work for you.
D.
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev