{"id":5114,"date":"2021-09-08T12:53:56","date_gmt":"2021-09-08T12:53:56","guid":{"rendered":"https:\/\/twproject.com\/support\/?page_id=5114"},"modified":"2021-12-03T15:06:22","modified_gmt":"2021-12-03T15:06:22","slug":"upgrade-twproject-7","status":"publish","type":"page","link":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/","title":{"rendered":"Upgrade to Twproject 7"},"content":{"rendered":"<p>Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully.<\/p>\n<p>Before proceeding <strong>do a complete backup<\/strong> (full folder installation, database and repository). Twproject 7 must be installed on a different folder.<\/p>\n<p>In case you have installed Twproject <strong>with the graphic installer<\/strong> you can proceed as following:<\/p>\n<p>1 &#8211; Stop the Twproject 6 service.<\/p>\n<p>2 &#8211; Create a new empty database on your DB server.<\/p>\n<p>3 &#8211; Download the new installer and launch it, do a new installation, in a new installation folder, choosing advanced installation and <strong>pointing to the new empty database.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5116\" src=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png\" alt=\"\" width=\"739\" height=\"482\" \/><\/p>\n<p>4 &#8211; You can generate a license (if you do not have one) on <a href=\"https:\/\/twproject.com\/on-your-server\/\">our site here<\/a>. License of Twproject 6 is not valid, if you are an active customer that want to upgrade <a href=\"https:\/\/twproject.com\/support\/submit-a-ticket\/\">contact us<\/a>.<\/p>\n<p>The installer will create a new service running on port 80, 8080 or the one chose (for Tomcat 9).<\/p>\n<p>This is a brand new installation of Twproject 7. Enter with username administrator with empty password. If everything works fine we are ready for the upgrade.<br \/>\nIf you are installing on old Windows servers, in case of you cannot reach the application, check that the Twproject service log-on as &#8220;<strong>Local System account<\/strong>&#8221;<\/p>\n<p>5 &#8211; Stop the new Twproject 7 service.<\/p>\n<p>6 &#8211; if you are running on the same http port, remove the old service (or disable it) and change the file server.xml(\u00a0[twroot]\/conf\/server.xml) :<\/p>\n<p>Locate the connector tag<\/p>\n<pre>&lt;Connector port=\"8080\" maxHttpHeaderSize=\"1048576\"\r\n maxThreads=\"150\" minSpareThreads=\"25\" maxSpareThreads=\"75\"\r\n enableLookups=\"false\" redirectPort=\"8443\" acceptCount=\"100\"\r\n connectionTimeout=\"20000\" disableUploadTimeout=\"true\" URIEncoding=\"UTF-8\"\/&gt;<\/pre>\n<p>and change the port number to your preferred one.<\/p>\n<p>7 &#8211; Copy your avatar folder from the previous installation folder as well as the repository folder.<\/p>\n<p>8 &#8211;\u00a0 Copy the global.properties file ([twroot]\/webapps\/ROOT\/commons\/settings), then edit it eventually modifying\u00a0INDEX_PATH,\u00a0STORAGE_PATH_ALLOWED,\u00a0REPOSITORY_URL<\/p>\n<p>9 &#8211; Now edit the config.properties file ([twroot]\/webapps\/ROOT\/WEB-INF) end point to the old Twproject 6 database (Backup first!) and start the service.<\/p>\n<p>10 &#8211; Now wait until the procedure ends,<strong> it may require several minutes for data migration<\/strong>!<\/p>\n<p>If everything works fine, check, in the admin page if all the configurations are restored.<\/p>\n<p>11 &#8211; Now,\u00a0If you have HTTPS enabled you have to configure the new server.xml as the old one (<strong>do not override<\/strong> the new one with the old one). This will require a new start and stop of the service.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>&nbsp;<\/p>\n<p>If you did a <strong>manual installation <\/strong>you need to\u00a0 create a fresh new installation on Tomcat 9 with Twproject 7, running on an empty database.<\/p>\n<p>Once everything is fine follow the step above from point 6.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding do a complete backup (full folder installation, database and repository). Twproject 7 must be installed on a different folder. In case you have installed Twproject with the graphic installer you [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":2588,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5114","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Upgrade to Twproject 7 | Twproject support<\/title>\n<meta name=\"description\" content=\"Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrade to Twproject 7 | Twproject support\" \/>\n<meta property=\"og:description\" content=\"Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding\" \/>\n<meta property=\"og:url\" content=\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Twproject support\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/twproject\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-03T15:06:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png\" \/>\n\t<meta property=\"og:image:width\" content=\"739\" \/>\n\t<meta property=\"og:image:height\" content=\"482\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/\",\"url\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/\",\"name\":\"Upgrade to Twproject 7 | Twproject support\",\"isPartOf\":{\"@id\":\"https:\/\/twproject.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png\",\"datePublished\":\"2021-09-08T12:53:56+00:00\",\"dateModified\":\"2021-12-03T15:06:22+00:00\",\"description\":\"Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding\",\"breadcrumb\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#primaryimage\",\"url\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png\",\"contentUrl\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png\",\"width\":739,\"height\":482},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/twproject.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced usage\",\"item\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Upgrade to Twproject 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/twproject.com\/support\/#website\",\"url\":\"https:\/\/twproject.com\/support\/\",\"name\":\"Twproject support\",\"description\":\"Twproject documentation online\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/twproject.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upgrade to Twproject 7 | Twproject support","description":"Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/","og_locale":"en_US","og_type":"article","og_title":"Upgrade to Twproject 7 | Twproject support","og_description":"Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding","og_url":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/","og_site_name":"Twproject support","article_publisher":"https:\/\/www.facebook.com\/twproject","article_modified_time":"2021-12-03T15:06:22+00:00","og_image":[{"width":739,"height":482,"url":"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png","type":"image\/png"}],"twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/","url":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/","name":"Upgrade to Twproject 7 | Twproject support","isPartOf":{"@id":"https:\/\/twproject.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#primaryimage"},"image":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#primaryimage"},"thumbnailUrl":"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png","datePublished":"2021-09-08T12:53:56+00:00","dateModified":"2021-12-03T15:06:22+00:00","description":"Twproject release 7 includes the upgrade to Apache Tomcat 9 and JDK 8, so before proceeding with the upgrade read this post carefully. Before proceeding","breadcrumb":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#primaryimage","url":"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png","contentUrl":"https:\/\/twproject.com\/support\/wp-content\/uploads\/upgrade-7.png","width":739,"height":482},{"@type":"BreadcrumbList","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/upgrade-twproject-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/twproject.com\/support\/"},{"@type":"ListItem","position":2,"name":"Advanced usage","item":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/"},{"@type":"ListItem","position":3,"name":"Upgrade to Twproject 7"}]},{"@type":"WebSite","@id":"https:\/\/twproject.com\/support\/#website","url":"https:\/\/twproject.com\/support\/","name":"Twproject support","description":"Twproject documentation online","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/twproject.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/5114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/comments?post=5114"}],"version-history":[{"count":0,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/5114\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2588"}],"wp:attachment":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/media?parent=5114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}