Hi Geert,

 

I tried that again but still this:

 

err:XQDY0027: XDMP-VALIDATEMISSINGELT: (err:XQDY0027) validate { $pkg } --
Missing required elements: Expected
(db:database-backups&db:geospatial-element-indexes&db:geospatial-element-chi
ld-indexes&db:geospatial-element-pair-indexes&db:geospatial-element-attribut
e-pair-indexes&db:foreign-databases) at
/db:package-database/db:package-database-properties using schema
"package-databases.xsd"

 

In /MarkLogic/package/create-impl.xqy on line 180

In pkgcreate:database(map:map(<map:map
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:map="http://marklogic.com/xdmp/map";><map:entry key="_CONFIGURATION
STRUCTURES"><map:value xsi:type="...</map:map>),
xs:unsignedLong("955093080110597136"))$context = map:map(<map:map
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:map="http://marklogic.com/xdmp/map";><map:entry key="_CONFIGURATION
STRUCTURES"><map:value xsi:type="...</map:map>)$dbid =
xs:unsignedLong("955093080110597136")$dbex = <database-export
xmlns="http://marklogic.com/package/databases";><metadata><user>Admin</user><
group>Default</group><host>neptune....</database-export>$pkg =
<package-database
xmlns="http://marklogic.com/package/databases";><metadata><package-version>1.
0</package-version><user>Admin</use...</package-database>

 

In /MarkLogic/package/create-impl.xqy on line 155

In pkgcreate:add-database(map:map(<map:map
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:map="http://marklogic.com/xdmp/map";><map:entry key="_CONFIGURATION
STRUCTURES"><map:value xsi:type="...</map:map>), <pkg:package
xmlns:pkg="http://marklogic.com/package"/>, "NetVisn-C1011C")$context =
map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:map="http://marklogic.com/xdmp/map";><map:entry key="_CONFIGURATION
STRUCTURES"><map:value xsi:type="...</map:map>)$pkg = <pkg:package
xmlns:pkg="http://marklogic.com/package"/>$dbname = "NetVisn-C1011C"$trace =
()$groupids = xs:unsignedLong("16745051514367600538")$dbid =
xs:unsignedLong("955093080110597136")

 

In /MarkLogic/package/create-impl.xqy on line 135

In create-impl:add-database(<pkg:package
xmlns:pkg="http://marklogic.com/package"/>, "NetVisn-C1011C")$pkg =
<pkg:package xmlns:pkg="http://marklogic.com/package"/>$dbname =
"NetVisn-C1011C"$context = map:map(<map:map
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:map="http://marklogic.com/xdmp/map";><map:entry key="_CONFIGURATION
STRUCTURES"><map:value xsi:type="...</map:map>)$_ = ()In
/MarkLogic/package/package.xqy on line 56In
package:add-database(<pkg:package
xmlns:pkg="http://marklogic.com/package"/>, "NetVisn-C1011C")$pkg =
<pkg:package xmlns:pkg="http://marklogic.com/package"/>$dbname =
"NetVisn-C1011C"In /packaging/compare-package.xqy on line 83In
local:add-databases(("Security", "Fab", "Schemas", ...), <pkg:package
xmlns:pkg="http://marklogic.com/package"/>, "NetVisn-C1011C")$alldb =
("Security", "Fab", "Schemas", ...)$pkg = <pkg:package
xmlns:pkg="http://marklogic.com/package"/>$db = "NetVisn-C1011C"

 

In /packaging/compare-package.xqy on line 182

In local:do-post()$params = map:map(<map:map
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:map="http://marklogic.com/xdmp/map";><map:entry key="format"><map:value
xsi:type="xs:string">html</ma...</map:map>)$format = "html"$pkg =
<pkg:package xmlns:pkg="http://marklogic.com/package";><package-database
xmlns="http://marklogic.com/package/databases";...</pkg:package>$filename =
"netvisn-package.xml"$dbnames = "NetVisn-C1011C"$appnames = ()In
/packaging/compare-package.xqy on line 252

 

 

Gary

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Friday, February 22, 2013 9:11 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Configure new database

 

Hi Gary,

 

Sure, just store it locally, edit the db name and forest links, and import
it again. Try to keep away from the physical Config files. It is easy to
mess things up..

 

Kind regards,

Geert

 

 

Van: [email protected]
[mailto:[email protected]] Namens Krivosheyev, Anton -
Moscow
Verzonden: vrijdag 22 februari 2013 15:00
Aan: MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] Configure new database

 

Configuration stored in XML-files in folder 'Config' where you install ML,
AFAIK.

 

anton

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Gary Larsen
Sent: Friday, February 22, 2013 6:01 PM
To: General MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Configure new database

 

Hi,

 

In Configuration Manager Is it possible to export a configuration from a
database and use that to configure a new database?  I'd like to avoid
running a bunch of Booster scripts on a new db.

 

Thanks,

 

Gary Larsen

Envisn Inc.

508 259-6465

 

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to