The MarkLogic 8 Installation Guide has a section for "Upgrading from
Release 4.2 or earlier"
(http://docs.marklogic.com/8.0/guide/installation/procedures#id_54482).

"MarkLogic 8 only supports upgrading from Release 5.0 or later; it does
not provide a direct upgrade path for previous releases of MarkLogic
Server. If you are upgrading from a 4.2 or earlier release of MarkLogic
Server, either install this release as a clean installation or upgrade
your existing release to the latest Release 5.0, 6.0, or 7.0 before
installing this release. For details on upgrading a Release 4.2 or earlier
release, see the Installation Guide
<http://docs.marklogic.com/8.0/guide/installation> for MarkLogic Server
4.2. If you are upgrading from 4.2 and do not want to reindex your
content, set the reindexer enable to false before upgrading. You can run
MarkLogic 8 in either 4.2 or 5.0 compatibility mode, as described in
Upgrades and Database Compatibility
<http://docs.marklogic.com/8.0/guide/installation/intro#id_80903>."

The MarkLogic 7 Installation Guide has a section for "Upgrading from
Release 6.0, 5.0, or 4.2"
(http://docs.marklogic.com/7.0/guide/installation/procedures#id_49978) and
that appears to be a supported update. (See the steps in the Installation
Guide.) 

Based on that, it looks like the thing to do is upgrade from 4.2 to
7.0-6.12, then upgrade from there to 8.0-6.7.

-- 
Dave Cassel, @dmcassel <https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation <http://www.marklogic.com/>

http://developer.marklogic.com/




On 7/27/17, 2:41 PM, "[email protected] on behalf of
Eliot Kimber" <[email protected] on behalf of
[email protected]> wrote:

>I have a backup from an ML 4.2 database that I¹m trying to restore to an
>ML 8 server. The database configurations are (or should be) the same
>between both servers and both are running on Linux servers.
>
>If I have the same set of forests defined on the ML 8 server as in the
>backup then when I go to the restore screen it lists all the forests in
>the backup but all their check boxes are unchecked and greyed out. If I
>delete some of the forests from the ML 8 server then those forests are
>selected and not greyed out.
>
>ButŠ
>
>When I proceed with the restore I consistently get failures like this:
>
>Operation failed with error message: XDMP-NOFOREST:
>xdmp:database-restore((xs:unsignedLong("5211046837612715608"),
>xs:unsignedLong("5138674030818805002")),
>"/marklogic/backup/rsuite/20170726-1", (), fn:false(), (), fn:false(),
>()) -- No forest with identifier 5211046837612715608. Check server logs.
>
>I¹m not seeing any other errors in the ErrorLog.txt log
>
>I didn¹t see anything in the ML 8 backup and restore docs that suggested
>what the issue might be.
>
>The 5211046837612715608 value comes from databases.xml and I see a
>mapping for this ID in the assignments.xml file:
>
>  <assignment>
>    <forest-name>rsuite02</forest-name>
>    <enabled>true</enabled>
>    <host>14194071972761628339</host>
>    <data-directory>/somedir/MarkLogic</data-directory>
>    <updates-allowed>all</updates-allowed>
>    <failover-enable>false</failover-enable>
>    <failover-hosts/>
>    <forest-id>5211046837612715608</forest-id>
>    <forest-backups/>
>    <forest-replicas/>
></assignment>
>
>And there is a directory Forests/rsuite02 in the backup.
>
>Any idea what would be causing this failure?
>
>Thanks,
>
>Eliot
>--
>Eliot Kimber
>http://contrext.com
> 
>
>
>
>_______________________________________________
>General mailing list
>[email protected]
>Manage your subscription at:
>http://developer.marklogic.com/mailman/listinfo/general

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

Reply via email to