{"id":1517,"date":"2018-07-19T11:04:50","date_gmt":"2018-07-19T10:04:50","guid":{"rendered":"https:\/\/christian.hinque.fr\/wp\/?p=1517"},"modified":"2019-01-24T15:41:22","modified_gmt":"2019-01-24T14:41:22","slug":"migrer-owncloud-vers-nextcloud-sur-ovh","status":"publish","type":"post","link":"https:\/\/christian.hinque.fr\/wp\/migrer-owncloud-vers-nextcloud-sur-ovh\/","title":{"rendered":"Migrer Owncloud vers NextCloud sur OVH"},"content":{"rendered":"<p>En suivant ces \u00e9tapes, chez moi, tout a bien \u00e9t\u00e9.<\/p>\n<h2>a. Migrer ou upgrader<\/h2>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Pour une migration : respecter l&#8217;ordre<br \/>\n<table>\n<tbody>\n<tr>\n<td>ownCloud 8.2.x<\/td>\n<td>Nextcloud 9.0.x<\/td>\n<\/tr>\n<tr>\n<td>ownCloud 9.0.x<\/td>\n<td>Nextcloud 9.0.x<\/td>\n<\/tr>\n<tr>\n<td>ownCloud 9.1.x<\/td>\n<td>Nextcloud 10.0.x<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>T\u00e9l\u00e9charger la version ad hoc <a href=\"https:\/\/nextcloud.com\/changelog\/\" target=\"_blank\" rel=\"noopener\">ici<\/a><\/li>\n<li>V\u00e9rifier que la base est bien sauvegard\u00e9e, sinon le faire.<\/li>\n<li>Lancer <em>Filezilla<\/em> ou autre logiciel \u00e9quivalent.<\/li>\n<li>Mettre le site en travaux :<br \/>\nfichier : config\/config.php -&gt; ligne :<strong> &#8216;maintenance&#8217; =&gt; true,<\/strong><\/li>\n<li>Copier tous les r\u00e9pertoires et tous les fichiers dans un r\u00e9pertoire <em>exCloud<\/em>, sauf <em>data<\/em> et <em>config<\/em>.<\/li>\n<li>Monter tous les r\u00e9pertoires et fichiers (sauf config) via <em>Filezilla<\/em>.<\/li>\n<li>Mettre le site en service:<br \/>\nfichier : config\/config.php -&gt; ligne :<strong> &#8216;maintenance&#8217; =&gt; false,<\/strong><\/li>\n<li>Lancer le site, un message du type &#8220;Nextcloud sera mis \u00e0 jour vers la version Y.0.xx.&#8221; vous indique qu&#8217;il va travailler et qu&#8217;il faut attendre&#8230; apr\u00e8s avoir cliqu\u00e9 sur le bouton &#8220;D\u00e9marrer la mise \u00e0 jour&#8221;.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Tout a d\u00fb bien se passer et vous avez le message :<\/p>\n<pre style=\"padding-left: 30px;\">La mise \u00e0 jour a r\u00e9ussi, mais il y a eu des avertissements.<\/pre>\n<p>Et dans un rectangle, vous trouvez les explications de ce type :<\/p>\n<pre style=\"padding-left: 30px;\">Les applications suivantes ont \u00e9t\u00e9 d\u00e9sactiv\u00e9es : bookmarks (origine tierce), calendar (origine tierce), contacts (origine tierce), documents (origine tierce), files_videoviewer (origine tierce), notes (origine tierce), ownnote (origine tierce), qownnotesapi (origine tierce), quicknotes (origine tierce), search_lucene (origine tierce), tasks (origine tierce), updater (origine tierce).<\/pre>\n<p><strong>Attention :<\/strong><\/p>\n<p>Si vous voulez passer du 8 au 13, il faudra r\u00e9p\u00e9ter les \u00e9tapes pr\u00e9c\u00e9dentes pour ne monter que d&#8217;une version \u00e0 la fois : 8-&gt;9, 9-&gt;10, 10-&gt;11, 11-&gt;12 et enfin 12-&gt;13.<\/p>\n<h3>b. Remettre les applications non standards<\/h3>\n<p>Vous devrez r\u00e9installer ces applications, mais les donn\u00e9es r\u00e9apparaitront: vous r\u00e9cup\u00e9rerez vos contacts et vos rendez-vous.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Aller sur <a href=\"https:\/\/apps.nextcloud.com\/\">Nextcould app<\/a><\/li>\n<li>T\u00e9l\u00e9chargez la ou les applications voulues<\/li>\n<li>Avec Filezilla, montez les dans le r\u00e9pertoire <em>apps<\/em><\/li>\n<li>Retournez sur votre NextCloud en administrateur<\/li>\n<li>Activez ces applications et le cas \u00e9ch\u00e9ant, voyez les options \u00e0 d\u00e9cider.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h4>Remarque<\/h4>\n<p>Sur un des sites que je g\u00e8re, tous sur OVH mutualis\u00e9s, lorsque j&#8217;ai voulu remettre les applications, j&#8217;ai obtenu les messages suivants.<\/p>\n<pre style=\"padding-left: 30px;\">Connexion au serveur perdu.<\/pre>\n<p>et<\/p>\n<pre style=\"padding-left: 30px;\">Erreur : Cette application ne peut pas \u00eatre activ\u00e9e car cela rend le serveur instable.<\/pre>\n<p>Ce probl\u00e8me est arriv\u00e9 \u00e0 quelques personnes et vient de la liaison en <em>https<\/em>.<br \/>\nIl faut donc r\u00e9activer les applications lorsqu&#8217;on est en mode <em>http<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Ensuite,<\/h2>\n<p><a href=\"https:\/\/christian.hinque.fr\/wp\/nextcloud-sur-ovh-mutualise\/\" target=\"_blank\" rel=\"noopener\">r\u00e9gler NextCloud sur OVH mutualis\u00e9.<\/a><\/p>\n<p>&nbsp;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1517\" class=\"pvc_stats all  \" data-element-id=\"1517\" style=\"\"><i class=\"pvc-stats-icon small\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/christian.hinque.fr\/wp\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>En suivant ces \u00e9tapes, chez moi, tout a bien \u00e9t\u00e9. a. Migrer ou upgrader Pour une migration : respecter l&#8217;ordre ownCloud 8.2.x Nextcloud 9.0.x ownCloud 9.0.x Nextcloud 9.0.x ownCloud 9.1.x Nextcloud 10.0.x T\u00e9l\u00e9charger la version ad hoc ici V\u00e9rifier que la base est bien sauvegard\u00e9e, sinon le faire. Lancer Filezilla ou autre logiciel \u00e9quivalent. Mettre [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1517\" class=\"pvc_stats all  \" data-element-id=\"1517\" style=\"\"><i class=\"pvc-stats-icon small\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/christian.hinque.fr\/wp\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[],"class_list":{"0":"post-1517","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-am_info","7":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/posts\/1517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/comments?post=1517"}],"version-history":[{"count":20,"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/posts\/1517\/revisions"}],"predecessor-version":[{"id":1641,"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/posts\/1517\/revisions\/1641"}],"wp:attachment":[{"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/media?parent=1517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/categories?post=1517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/christian.hinque.fr\/wp\/wp-json\/wp\/v2\/tags?post=1517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}