|
From: Alexander H. <ah...@xs...> - 2023-02-11 06:56:47
|
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">All advice from Pieter. Additionally assess your index strategy. The index definitions from 2.1 will work, or at least ours from 2.2 did, but upgrading from old range to new range or more sophisticated methods are worth inspecting. <div><br></div><div>Also from our perspective: backup/restore is a good start but that works best for data/users not so much for logic/applications. So if you like us have a mix of data and apps in 2.1 you might want to tweak the backup zip so it only contains data and users. Do the applications using xar install. </div><div><br></div><div>Xar install might fail until pre/post-install scripts are updated for xquery 3.1. Exist-db 2 used preliminary syntax for xquery 3.0/1 which exist-db >= 5 no longer supports like Pieter mentioned:</div><div><br></div><div><div style="display: block;" class=""><div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://exist-db.org/exist/apps/doc/upgrading"><a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://exist-db.org/exist/apps/doc/upgrading" dir="ltr" role="button" draggable="false" width="300"><table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E9E9EB;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300"><tbody><tr><td vertical-align="center"><table bgcolor="#E9E9EB" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(233, 233, 235, 1);" class="lp-rich-link-captionBar"><tbody><tr><td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem"><div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack"><div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="https://exist-db.org/exist/apps/doc/upgrading" style="text-decoration: none" draggable="false"><font color="#000000" style="color: rgba(0, 0, 0, 1);">eXist-db Documentation</font></a></div><div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="https://exist-db.org/exist/apps/doc/upgrading" style="text-decoration: none" draggable="false"><font color="#A2A2A9" style="color: rgba(60, 60, 67, 0.6);">exist-db.org</font></a></div></div></td><td style="padding:6px 12px 6px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="36"><a rel="nofollow" href="https://exist-db.org/exist/apps/doc/upgrading" draggable="false"><img style="pointer-events:none !important;display:inline-block;width:36px;height:36px;border-radius:3px;" width="36" height="36" draggable="false" class="lp-rich-link-captionBar-rightIcon" alt="exist_icon_16x16.ico" src="cid:A2534EA8-74A4-40E9-9F0F-0EDBD2FA28A3"></a></td></tr></tbody></table></td></tr></tbody></table></a></div></div><div><br></div>Most code issues you’ll have started with exist-db 5. The release notes outline what they are and link to the perl script</div><div><br></div><div><div style="display: block;" class=""><div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500"><a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500" dir="ltr" role="button" draggable="false" width="300"><table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E9E9EB;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300"><tbody><tr><td vertical-align="center"><table bgcolor="#E9E9EB" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(233, 233, 235, 1);" class="lp-rich-link-captionBar"><tbody><tr><td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem"><div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack"><div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500" style="text-decoration: none" draggable="false"><font color="#000000" style="color: rgba(0, 0, 0, 1);">Atomic Wiki</font></a></div><div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500" style="text-decoration: none" draggable="false"><font color="#A2A2A9" style="color: rgba(60, 60, 67, 0.6);">exist-db.org</font></a></div></div></td><td style="padding:6px 12px 6px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="36"><a rel="nofollow" href="http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500" draggable="false"><img style="pointer-events:none !important;display:inline-block;width:36px;height:36px;border-radius:3px;" width="36" height="36" draggable="false" class="lp-rich-link-captionBar-rightIcon" alt="exist_icon_16x16.ico" src="cid:95B27859-1A3B-407D-811D-3365D651DAD6"></a></td></tr></tbody></table></td></tr></tbody></table></a></div></div><div><br></div>Everything mentioned there still holds true in exist-db 6.</div><div><br></div><div>It took us over a year to update the code, rethink index, rethink code security, test and finally migrate. For UI we had Orbeon xforms inside the db that we replace with a Roaster/jwt based api and external Vue based logic. Roaster and jwt are in the public repo and work with >= 5 and up. The orbeon to vue move is now 3 years in the making. They still run side by side. We found the best start in Roaster by hiring eXist people. The rest we could largely manage ourselves. </div><div><div><br><div dir="ltr">Verstuurd vanaf mijn iPhone</div><div dir="ltr"><br><blockquote type="cite">Op 11 feb. 2023 om 07:14 heeft Pieter Lamers <pie...@be...> het volgende geschreven:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <p>I would not follow this advice. Any new release can be indefinitely delayed, and I suspect that even with the promise of some breaking changes between 6.2 and 7 there will be much more common ground between those than between 2.1 and 6.2. <br> </p> <p>I would start by installing 6.2 locally and see if I can restore a backup onto it. Then see where the code breaks. There is a perl (!) script out there which can trace some now invalid constructs, like maps with key := val instead of key : val. There is a lot of code refactoring possible now: eXist 6.2 uses a recent version of Saxon which supports text value templates (and XSLT 3.0 in general). eXist's XQuery has a much broader coverage of the 3.1 standard. <br> </p> <p>Probably some other community members have a more sophisticated approach, so let's see what the others say.</p> <p>Best,<br> Pieter<br> </p> <div class="moz-cite-prefix">On 07/02/2023 06:44, Martin Mueller wrote:<br> </div> <blockquote type="cite" cite="mid:EB4...@ad..."> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style>@font-face { font-family: "Cambria Math"; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in; font-size: 12pt; font-family: Calibri, sans-serif; } span.EmailStyle19 { font-family: Calibri, sans-serif; color: windowtext; } .MsoChpDefault { font-size: 10pt; } div.WordSection1 { page: WordSection1; }</style> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt">You might as well wait until the promised version 7 comes out in the spring. <o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"> <p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Areki, Alem" <a class="moz-txt-link-rfc2396E" href="mailto:aa...@ri..."><aa...@ri...></a><br> <b>Date: </b>Monday, February 6, 2023 at 8:23 PM<br> <b>To: </b><a class="moz-txt-link-rfc2396E" href="mailto:exi...@li...">"exi...@li..."</a> <a class="moz-txt-link-rfc2396E" href="mailto:exi...@li..."><exi...@li...></a><br> <b>Subject: </b>[Exist-open] Upgrade eXist-db from 2.1 to 6.2.0<o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> </div> <p class="MsoNormal"><span style="font-size:11.0pt">Hi eXist users, <o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt">Here at the University of Richmond, we still use the old eXist version - eXist 2.1. Now we need to upgrade to the latest one - eXist 6.2.0; what would be your recommendation to upgrade from 2.1 to 6.2.0?<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt">Thanks<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:10.5pt;color:black">-- <o:p></o:p></span></p> <p class="MsoNormal"><span style="color:black">Alem T. Areki<o:p></o:p></span></p> <p class="MsoNormal"><span style="color:black">Senior Web Developer – Web Services<o:p></o:p></span></p> <p class="MsoNormal"><span style="color:black">University of Richmond<o:p></o:p></span></p> <p class="MsoNormal"><o:p> </o:p></p> </div> <br> <fieldset class="moz-mime-attachment-header"></fieldset> <br> <fieldset class="moz-mime-attachment-header"></fieldset> <pre class="moz-quote-pre" wrap="">_______________________________________________ Exist-open mailing list <a class="moz-txt-link-abbreviated" href="mailto:Exi...@li...">Exi...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/exist-open">https://lists.sourceforge.net/lists/listinfo/exist-open</a> </pre> </blockquote> <pre class="moz-signature" cols="72">-- Pieter Lamers John Benjamins Publishing Company Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands tel: +31 20 630 4747 web: <a class="moz-txt-link-abbreviated" href="http://www.benjamins.com">www.benjamins.com</a></pre> <span>_______________________________________________</span><br><span>Exist-open mailing list</span><br><span>Exi...@li...</span><br><span>https://lists.sourceforge.net/lists/listinfo/exist-open</span><br></div></blockquote></div></div></body></html> |