{"id":614,"date":"2017-10-07T19:34:12","date_gmt":"2017-10-07T19:34:12","guid":{"rendered":"https:\/\/max-drake.cc\/?p=614"},"modified":"2020-07-10T21:00:31","modified_gmt":"2020-07-10T21:00:31","slug":"get-alfresco-working-openmaint-localhost-win-10-pc","status":"publish","type":"post","link":"https:\/\/max-drake.cc\/?p=614","title":{"rendered":"How to get OpenMAINT and Alfresco DMS on Win 10 PC &#038; Win VPS"},"content":{"rendered":"<h3>Background<\/h3>\n<p><strong>(note-updated 9 oct 2017- dms.conf file altered and dms in openmaint altered- see below)<\/strong><\/p>\n<p>After reading the CMDBuild Technical Manual on how to set up DMS (Document management System) Alfresco and integrate the two, I attempted to have a go at it.<\/p>\n<p>I did a separate install for Alfresco 3.4d (this was the one suggested in openMAINT specs) and the challenge was to have TWO Tomcat Servers running side by side.<\/p>\n<p>Since the Environmental Variable setting CATELINA_HOME pointed towards the openMAINT Tomcat you had to use CATALINA_BASE to point to the Alfresco instance, and in the Tomcat docs it told you which files to use \/leave \/hide to allow the two instances to work.<\/p>\n<p>Well I didn&#8217;t get very far with that!!<\/p>\n<p>So I thought, The Alfresco directory is setup C:\\alfesco\\tomcat&nbsp;&nbsp; and the openMAINT is a setup as C:\\tomcat. So how about running the 2 off the same instance.<\/p>\n<p>In &#8220;<a href=\"https:\/\/kickingtech.wordpress.com\/\">Kicking Tech<\/a>&#8221; blog Charanya talks about writing a blog on how to have CMDBuild &amp; Alfresco working off the same Tomcat instance, but hasn&#8217;t got around to it yet.&nbsp; But he has written a few blogs on CMDBuild and Alfresco setups that are pretty useful.&nbsp; As openMAINT is a reconfigured CMDBuild a lot of the things in the posts are relevant to this setup.<\/p>\n<p>The blog I followed for setting up Alfresco as far as setting went was this one: <a href=\"https:\/\/kickingtech.wordpress.com\/2014\/05\/26\/alfresco-community-edition-4-2-step-by-step-manual-installation\/\"><strong>alfresco-community-edition-4-2-step-by-step-manual-installation<\/strong><\/a> which I found really helpful, thank you Charanya.<\/p>\n<p>So since there is a deeper tree in alfresco, I decided to move my openMAINT tomcat under that. Basically I changed the existing C:\\alfesco\\tomcat to C:\\alfesco\\Xtomcat and copied my C:\\tomcat setup that already had openMAINT running into the C:\\alfesco\\tomcat&nbsp; directory, and did a few edits to files to acknowledge the new path.<\/p>\n<p>In one of my VPS&#8217;s I had an instance of openMAINT, with shark and alfresco all running, I used my test AWS instance to do this, but have not been able to create attachments in the openMAINT &#8220;Demo&#8221; DB with the cards , I keep on getting errors. Somewhere on the way, some of the Inventory Items tree got passed across to Alfresco and I was able to upload attachments in Alfresco and associate them with &#8220;Rooms&#8221;? in openMAINT, but still cannot view them in openMAINT, although they do seem to be in the alfresco db.&nbsp; So a partial solution to date on the VPS side. The 2nd instance on my main Conrtabo server is crashing and burning big time (the issue was the openMaint DMS page setup paths -fixed- so this applies to windows server VPS&#8217;s too)<\/p>\n<p>Databases and stuff. If you try and install later versions of alfresco-community it wants to load&nbsp; a postgreSQL 9.4 database with the installation. I didn&#8217;t want that as I would have to use different ports for them and have them both running (due to my earlier decision to run with postgresql 9.3. This may not be an issue to you but it was to me. So that is why I stuck with the alfresco-community 3.4d edition, you have a choice to connect to an existing DB. Much easier.<\/p>\n<h3>Setting up DMS (Document Management System) Alfresco<\/h3>\n<p>I have a current setup on my computer of PostgreSQL 9.3, with openMAINT&nbsp; 2.4.3 &amp; Shark workflow working. There are blogs about these on this site. Look at those for setup prior to exploring this one.<\/p>\n<p>The setup I have is based in a directory C:\\tomcat. It is all running happily.<\/p>\n<ol>\n<li>\n<h3>Download &amp; Install Alfresco-community 3.4d edition.<\/h3>\n<\/li>\n<\/ol>\n<p>Go to<strong><a href=\"https:\/\/community.alfresco.com\/docs\/DOC-6035-community-file-list-34d\"> HERE<\/a><\/strong> for download. I have 64 Bit version. Install it.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-625 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf1.jpg\" alt=\"\" width=\"1285\" height=\"468\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf1.jpg 1285w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf1-300x109.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf1-768x280.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf1-1024x373.jpg 1024w\" data-sizes=\"(max-width: 1285px) 100vw, 1285px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1285px; --smush-placeholder-aspect-ratio: 1285\/468;\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-624 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf2.jpg\" alt=\"\" width=\"811\" height=\"632\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf2.jpg 811w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf2-300x234.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf2-768x598.jpg 768w\" data-sizes=\"(max-width: 811px) 100vw, 811px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 811px; --smush-placeholder-aspect-ratio: 811\/632;\" \/><\/p>\n<p>Below, this was originally C:\\Alfresco but I hate upper case unless necessary &amp; I altered it. In my <strong>alfresco-global.properties<\/strong> file I didn&#8217;t notice that it was still pathing to C:\\Alfresco and that caught me out for a little while, so be aware.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-623 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf3.jpg\" alt=\"\" width=\"779\" height=\"589\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf3.jpg 779w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf3-300x227.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf3-768x581.jpg 768w\" data-sizes=\"(max-width: 779px) 100vw, 779px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 779px; --smush-placeholder-aspect-ratio: 779\/589;\" \/><\/p>\n<p>See my note about DB&#8217;s at the end of the Background waffle section above.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-622 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf4.jpg\" alt=\"\" width=\"815\" height=\"585\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf4.jpg 815w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf4-300x215.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf4-768x551.jpg 768w\" data-sizes=\"(max-width: 815px) 100vw, 815px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 815px; --smush-placeholder-aspect-ratio: 815\/585;\" \/><\/p>\n<p>Leave whats there andf press next, we do this setup later (thanks Kicking tech for that)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-621 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf5.jpg\" alt=\"\" width=\"798\" height=\"599\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf5.jpg 798w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf5-300x225.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf5-768x576.jpg 768w\" data-sizes=\"(max-width: 798px) 100vw, 798px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 798px; --smush-placeholder-aspect-ratio: 798\/599;\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-620 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf6.jpg\" alt=\"\" width=\"784\" height=\"602\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf6.jpg 784w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf6-300x230.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf6-768x590.jpg 768w\" data-sizes=\"(max-width: 784px) 100vw, 784px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 784px; --smush-placeholder-aspect-ratio: 784\/602;\" \/><\/p>\n<p>Dont bother changing, leave as 6060, the instance where I changed(VPS) lots of grief, other instance not changed, no problems.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-619 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf7.jpg\" alt=\"\" width=\"790\" height=\"600\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf7.jpg 790w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf7-300x228.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf7-768x583.jpg 768w\" data-sizes=\"(max-width: 790px) 100vw, 790px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 790px; --smush-placeholder-aspect-ratio: 790\/600;\" \/><\/p>\n<p>Whatever you want, just dont forget it.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-618 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf8.jpg\" alt=\"\" width=\"848\" height=\"601\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf8.jpg 848w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf8-300x213.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf8-768x544.jpg 768w\" data-sizes=\"(max-width: 848px) 100vw, 848px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 848px; --smush-placeholder-aspect-ratio: 848\/601;\" \/><\/p>\n<p>Then the install happens.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-617 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf9.jpg\" alt=\"\" width=\"788\" height=\"609\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf9.jpg 788w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf9-300x232.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf9-768x594.jpg 768w\" data-sizes=\"(max-width: 788px) 100vw, 788px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 788px; --smush-placeholder-aspect-ratio: 788\/609;\" \/><\/p>\n<h3>2. Repoint CATALINA_HOME to C:\\alfresco\\tomcat instance (and also database.manager.configuration (one below- ((for SHARK)))<\/h3>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-629 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf11.jpg\" alt=\"\" width=\"2431\" height=\"1638\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf11.jpg 2431w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf11-300x202.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf11-768x517.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf11-1024x690.jpg 1024w\" data-sizes=\"(max-width: 2431px) 100vw, 2431px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 2431px; --smush-placeholder-aspect-ratio: 2431\/1638;\" \/><\/p>\n<h3>3. Role &amp; Database setup<\/h3>\n<p>Setup a new&nbsp; Role <strong>alfresco<\/strong> (1)- Just right click on Login Roles and add.<\/p>\n<p>Add Database&nbsp; <strong>alfresco<\/strong>.(2). Right click on the Databases icon (above alfresco DB) and add new DB.<\/p>\n<p>(3) if you click on Schema &amp; Public&nbsp; you will see that there are no tables, it is empty. We will manage this later on one of our settings in the C:\\alfresco\\tomcat\\shared\\classes\\<strong>alfresco-global.properties <\/strong>file later<\/p>\n<p>This will be a blank database.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-633 aligncenter lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf12.jpg\" alt=\"\" width=\"1639\" height=\"1252\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf12.jpg 1639w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf12-300x229.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf12-768x587.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf12-1024x782.jpg 1024w\" data-sizes=\"(max-width: 1639px) 100vw, 1639px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1639px; --smush-placeholder-aspect-ratio: 1639\/1252;\" \/><\/p>\n<p>Make the Owner of alfresco database alfresco (role)<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-632 aligncenter lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf13.jpg\" alt=\"\" width=\"1659\" height=\"1285\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf13.jpg 1659w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf13-300x232.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf13-768x595.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf13-1024x793.jpg 1024w\" data-sizes=\"(max-width: 1659px) 100vw, 1659px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1659px; --smush-placeholder-aspect-ratio: 1659\/1285;\" \/><\/p>\n<p>In <a href=\"https:\/\/kickingtech.wordpress.com\/2014\/05\/26\/alfresco-community-edition-4-2-step-by-step-manual-installation\/\">Kicking Tech Alfresco setup blog<\/a> Charanya give more privileges&nbsp; to the public role, so please do that.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-631 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf14.jpg\" alt=\"\" width=\"1330\" height=\"789\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf14.jpg 1330w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf14-300x178.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf14-768x456.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf14-1024x607.jpg 1024w\" data-sizes=\"(max-width: 1330px) 100vw, 1330px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1330px; --smush-placeholder-aspect-ratio: 1330\/789;\" \/><\/p>\n<h3>4. Directories and stuff. Musical Chairs<\/h3>\n<p>The alfresco setup on install looks like this. You see that there is a tomcat directory inside the alfresco directory.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-630 aligncenter lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf10.jpg\" alt=\"\" width=\"1028\" height=\"761\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf10.jpg 1028w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf10-300x222.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf10-768x569.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf10-1024x758.jpg 1024w\" data-sizes=\"(max-width: 1028px) 100vw, 1028px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1028px; --smush-placeholder-aspect-ratio: 1028\/761;\" \/><\/p>\n<p>Now lets mess around with them.<\/p>\n<p>The existing C:\\alfresco\\tomcat change to say C:\\alfresco\\Xtomcat&nbsp; (we need the shared folder inside it, so don&#8217;t delete it yet.<\/p>\n<p>Copy the existing version of tomcat from C:\\tomcat to&nbsp; C:\\alfresco\\tomcat . This will have your working openMAINT setup inside. So if&nbsp; you stopped at this point and fired up<\/p>\n<p><strong> C:\\alfresco\\tomcat\\bin\\startup.bat<\/strong> it should&nbsp; let you open a browser to http:\/\/localhost:8080\/openmaint it should fire up your openMAINT (as long as you have your database open and have changed the envirnomental variable to point CATELINA_HOME to the new tomcat location) quite happily.<\/p>\n<p>You can check that out and then shut it down <strong>C:\\alfresco\\tomcat\\bin\\shutdown.bat<\/strong><\/p>\n<p>We have a few things to do yet.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-635 aligncenter lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf15.jpg\" alt=\"\" width=\"1243\" height=\"1364\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf15.jpg 1243w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf15-273x300.jpg 273w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf15-768x843.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf15-933x1024.jpg 933w\" data-sizes=\"(max-width: 1243px) 100vw, 1243px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1243px; --smush-placeholder-aspect-ratio: 1243\/1364;\" \/><\/p>\n<p>From Xtomcat directory, copy across the shared directory to the new tomcat directory<\/p>\n<p>From the Xtomcat\\webapps directory&nbsp; copy across the 4 war files as shown below<\/p>\n<h4><em>BELOW THIS IS IMPORTANT IF YOU DO NOT WANT &#8220;WQS cannot connect to repository&#8221; error at end of startup<\/em><\/h4>\n<p>In the alfresco directory make the following subdirectory <strong>User Homes<\/strong>&nbsp; (misspelt in the image below) and inside that make a subdirectory <strong>cmdbuild<\/strong><\/p>\n<p>So you will have C:\\alfresco\\User Homes\\cmdbuild<\/p>\n<p>Now, a couple of things to mention here.<\/p>\n<ol>\n<li>Catalina cannot see the tomcat\\shared directory, so we will need to point to it.<\/li>\n<li>inside tomcat\\lib we should be copying the postgresql-9.4.1207.jar file, but as we&#8217;ve already set that up with our opernMAINT install and copied that whole directory across, we do not need to. (<em>This is the driver that Alfresco needs to link to the PostgreSQL database,so an important file<\/em>).<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"size-full wp-image-636 aligncenter lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf16.jpg\" alt=\"\" width=\"1085\" height=\"1477\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf16.jpg 1085w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf16-220x300.jpg 220w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf16-768x1045.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf16-752x1024.jpg 752w\" data-sizes=\"(max-width: 1085px) 100vw, 1085px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1085px; --smush-placeholder-aspect-ratio: 1085\/1477;\" \/><\/p>\n<h3>5. Now lets do some configuring<\/h3>\n<p>I use 2 references here for the setup.<\/p>\n<p>1 . The kicking Tech&nbsp; <a href=\"https:\/\/kickingtech.wordpress.com\/2014\/05\/26\/alfresco-community-edition-4-2-step-by-step-manual-installation\/\"><strong>alfresco-community-edition-4-2-step-by-step-manual-installation<\/strong><\/a><\/p>\n<p>2. The CMDBuild Technical Manual pages 31 to 32 shown below<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-640 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf17.png\" alt=\"\" width=\"1017\" height=\"2380\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf17.png 1017w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf17-128x300.png 128w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf17-768x1797.png 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf17-438x1024.png 438w\" data-sizes=\"(max-width: 1017px) 100vw, 1017px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1017px; --smush-placeholder-aspect-ratio: 1017\/2380;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>I basically followed the Kicking Tech process, but that is for the alfresco install only. One thing to note with that, is that you need to make sure that in the <strong>alfresco-global.properties<\/strong> file there is the line that is mentioned in the Tech manual :<\/p>\n<p><strong>db.schema.update = true<\/strong> (( to begin with,&nbsp; so when you run the WAR files (on tomcat startup) it will populate the Database with tables)&nbsp; then after we&#8217;ve checked that its done its job we can REM(#) it out or change it to <strong>db.schema.update = false<\/strong>, items 9 &amp; 10 in the image above)<\/p>\n<p>Change the catelina file below as per Kicking Tech<\/p>\n<div><em>&#8220;Then, we need to tell Catalina to use those 2 directories when starting up Tomcat. Open up &lt;Tomcat Home&gt;\/conf\/catalina.properties and edit the shared.loader property as below<\/em><\/div>\n<div>\n<div id=\"highlighter_975785\" class=\"syntaxhighlighter plain\">\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\"><\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"plain plain\">shared.loader=${catalina.home}\/shared\/classes,${catalina.home}\/shared\/lib\/*.jar<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Add Heap Space as per Kicking Tech<\/p>\n<div><em>add Heap Space to Tomcat to prevent heap errors during operation. For this, go to &lt;Tomcat Home&gt;\/bin\/startup.bat (assuming you are on a Windows system, else edit startup.sh) and add this line at the top.<\/em><\/div>\n<div>\n<div id=\"highlighter_396175\" class=\"syntaxhighlighter plain\">\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\"><\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"plain plain\">set \"CATALINA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=196m\"<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Then we have to configure the&nbsp; C:\\alfresco\\tomcat\\webapps\\openmaint\\WEB-INF\\conf\\<strong>dms.conf <\/strong>file to reflect what CMDBuild is doing above.<\/p>\n<p>#<strong>dms.conf&nbsp; file setup <\/strong><em>(updated 9 oct 2017)<\/em><strong><br \/>\n<\/strong><\/p>\n<p><em>enabled=true<\/em><\/p>\n<p><em>credential.user=admin<\/em><br \/>\n<em>credential.password=admin<\/em><\/p>\n<p><em>alfresco.custom.prefix=cmdbuild<\/em><br \/>\n<em>alfresco.custom.uri=org.cmdbuild.dms.alfresco<\/em><\/p>\n<p><em>repository.wspath=\/app\\:company_home\/app\\:user_homes\/<\/em><\/p>\n<p><em>server.url=http\\:\/\/localhost\\:8080\/alfresco\/api<\/em><br \/>\n<em>fileserver.url=localhost<\/em><br \/>\n<em>fileserver.port=1121<\/em><\/p>\n<p><em>alfresco.custom.model.filename=cmdbuildCustomModel.xml<\/em><br \/>\n<em>metadata.autocompletion.filename=metadataAutocompletion.xml<\/em><br \/>\n<em>category.lookup=AlfrescoCategory<\/em><\/p>\n<p><strong># (Changed) <em>repository.app=C:\/alfresco\/User Homes\/cmdbuild<\/em><\/strong><\/p>\n<p><strong><em>repository.app=\/alfresco\/User Homes\/cmdbuild<\/em><\/strong><\/p>\n<p><strong># next line altered too<\/strong><\/p>\n<p><strong><em>repository.app=cm:cmdbuild<\/em><\/strong><\/p>\n<p><strong><em># Changed- Remove C: repository.fspath=C:\/alfresco\/User Homes\/cmdbuild<\/em><\/strong><\/p>\n<p><strong><em>repository.fspath=\/alfresco\/User Homes\/cmdbuild<\/em><\/strong><br \/>\n<em>delay=1000<\/em><\/p>\n<p><em>dms.service.type=alfresco<\/em><br \/>\n<em>dms.service.cmis.user=admin<\/em><br \/>\n<em>dms.service.cmis.password=admin<\/em><br \/>\n<em>dms.service.cmis.path=\/User Homes\/cmdbuild<\/em><br \/>\n<em>dms.service.cmis.url=http\\:\/\/localhost\\:8080\/alfresco\/api\/-default-\/public\/cmis\/versions\/1.1\/atom<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong># alfresco-global.properties file setup<br \/>\n<\/strong><\/p>\n<p><em>dir.root=C:\/alfresco\/alf_data<\/em><\/p>\n<p><em>web.application.context.url=http:\/\/127.0.0.1:8080\/alfresco<\/em><\/p>\n<p><em>### database connection properties ###<\/em><br \/>\n<em>db.driver=org.postgresql.Driver<\/em><br \/>\n<em>db.username=alfresco<\/em><br \/>\n<em>db.password=alfresco<\/em><br \/>\n<em>db.name=alfresco<\/em><br \/>\n<em>db.url=jdbc:postgresql:\/\/localhost:5432\/alfresco<\/em><br \/>\n<em>db.schema.update=true<\/em><br \/>\n<em>db.pool.max=40<\/em><\/p>\n<p>db.schema.update=true<\/p>\n<p><em>### FTP Server Configuration ###<\/em><br \/>\n<em>ftp.enabled=true<\/em><br \/>\n<em>ftp.port=1121<\/em><br \/>\n<em>ftp.ipv6.enabled=false<\/em><\/p>\n<p><em>### RMI service ports ###<\/em><br \/>\n<em>alfresco.rmi.services.port=50500<\/em><br \/>\n<em>avm.rmi.service.port=0<\/em><br \/>\n<em>avmsync.rmi.service.port=0<\/em><br \/>\n<em>attribute.rmi.service.port=0<\/em><br \/>\n<em>authentication.rmi.service.port=0<\/em><br \/>\n<em>repo.rmi.service.port=0<\/em><br \/>\n<em>action.rmi.service.port=0<\/em><br \/>\n<em>deployment.rmi.service.port=0<\/em><\/p>\n<p><em>### External executable locations ###<\/em><br \/>\n<em>ooo.exe=C:\/alfresco\/openoffice\/App\/openoffice\/program\/soffice.exe<\/em><br \/>\n<em>ooo.enabled=false<\/em><br \/>\n<em>img.root=C:\/alfresco\/imagemagick<\/em><br \/>\n<em>img.dyn=${img.root}\/lib<\/em><br \/>\n<em>img.exe=${img.root}\/convert<\/em><br \/>\n<em>swf.exe=C:\/alfresco\/swftools\/pdf2swf.exe<\/em><br \/>\n<em>jodconverter.enabled=true <\/em><br \/>\n<em>jodconverter.officeHome=C:\/alfresco\/openoffice\/App\/openoffice <\/em><br \/>\n<em>jodconverter.portNumbers=8101 <\/em><\/p>\n<p><em>### Initial admin password ###<\/em><br \/>\n<em>alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634<\/em><\/p>\n<p>So now we are ready to fire up tomcat, so:<\/p>\n<p><strong>C:\\alfresco\\tomcat\\bin\\startup.bat<\/strong> ( note I make a desktop shortcut to this and the shutdown.bat and the PgAdmin3.exe files, so they are handy icons to fire up).<\/p>\n<p>So now, hopefully the following happens:<\/p>\n<ol>\n<li>The 4 war files are unpacked<\/li>\n<li>The tables are created in the database alfresco.<\/li>\n<li>The tomcat server is running without problems.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-645 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf18.jpg\" alt=\"\" width=\"1526\" height=\"911\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf18.jpg 1526w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf18-300x179.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf18-768x458.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf18-1024x611.jpg 1024w\" data-sizes=\"(max-width: 1526px) 100vw, 1526px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1526px; --smush-placeholder-aspect-ratio: 1526\/911;\" \/><\/p>\n<p>As you can see above , the tables have been created.<\/p>\n<p>And below, all seem to be operating in Tomcat<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-656 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf30.jpg\" alt=\"\" width=\"1904\" height=\"1130\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf30.jpg 1904w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf30-300x178.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf30-768x456.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf30-1024x608.jpg 1024w\" data-sizes=\"(max-width: 1904px) 100vw, 1904px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1904px; --smush-placeholder-aspect-ratio: 1904\/1130;\" \/><\/p>\n<p>So we go back to<strong> alfresco-global.properties file setup<br \/>\n<\/strong><\/p>\n<p><em>and make:<\/em><\/p>\n<p><em>db.schema.update=false<\/em><\/p>\n<p>Then save that file.<\/p>\n<p>So, lets shut it down and remove the war files ( I put them in a directory C:\\alfresco\\tomcat\\HIDE just in case I need to blow the directories they made away and rebuild them).<\/p>\n<p><strong>C:\\alfresco\\tomcat\\bin\\shutdown.bat.<\/strong><\/p>\n<p>Remove war files from&nbsp; C:\\alfresco\\tomcat\\webapps<\/p>\n<p>There should be directories with the same names as the war files (if there arn&#8217;t then something Not Good Happened- fix it)<\/p>\n<p>So, now that is all cleaned out , refire up tomcat again: <strong>C:\\alfresco\\tomcat\\bin\\startup.bat<\/strong><\/p>\n<p>And now lets go to the browser, fire up 4 tabs:<\/p>\n<ol>\n<li>http:\/\/localhost:8080\/openmaint &#8211; login as Administrator (username : <strong>admin<\/strong>, password: <strong>admin<\/strong> are default)<\/li>\n<li>http:\/\/localhost:8080\/openmaint- login as Administrator (username : <strong>admin<\/strong>, password: <strong>admin<\/strong> are default) then change to Data Management Module.<\/li>\n<li>http:\/\/localhost:8080\/alfresco- login as Administrator (username : <strong>admin<\/strong>, password: <strong>admin<\/strong> are default)<\/li>\n<li>http:\/\/localhost:8080\/share- login as Administrator (username : <strong>admin<\/strong>, password: <strong>admin<\/strong> are default)<\/li>\n<\/ol>\n<p>Yes, two tabs of openMAINT, we need one to be in the Administration module and one to be in the Data Management Module.<\/p>\n<p>Go to the OpenMAINT Data Management Module. Most of this would have been configured in the dms.conf file.<\/p>\n<p>(<strong>9th Oct update<\/strong>&#8211; Image below slightly incorrect. <strong>Item 10<\/strong>&#8211; remove C:, it should start <strong>\/alfresco\/User Homes\/cmdbuild<\/strong>.<\/p>\n<p><strong>Item 14<\/strong> should read<strong> cm:cmdbuild <\/strong>)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-648 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf20.jpg\" alt=\"\" width=\"3000\" height=\"1735\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf20.jpg 3000w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf20-300x174.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf20-768x444.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf20-1024x592.jpg 1024w\" data-sizes=\"(max-width: 3000px) 100vw, 3000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 3000px; --smush-placeholder-aspect-ratio: 3000\/1735;\" \/><\/p>\n<p>Go to the OpenMAINT Administration module<\/p>\n<p>The key point, is the attachments tab NOT Greyed out.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-649 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf19.jpg\" alt=\"\" width=\"2999\" height=\"1713\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf19.jpg 2999w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf19-300x171.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf19-768x439.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf19-1024x585.jpg 1024w\" data-sizes=\"(max-width: 2999px) 100vw, 2999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 2999px; --smush-placeholder-aspect-ratio: 2999\/1713;\" \/><\/p>\n<p>This is the Alfresco page.<\/p>\n<p>We go into <strong>My Home<\/strong> on panel on the left, then <strong>User Homes<\/strong> and create space <strong>cmdbuild<\/strong> (to mirror what is in openmaint DMS setup above).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-651 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf21.jpg\" alt=\"\" width=\"3000\" height=\"1107\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf21.jpg 3000w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf21-300x111.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf21-768x283.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf21-1024x378.jpg 1024w\" data-sizes=\"(max-width: 3000px) 100vw, 3000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 3000px; --smush-placeholder-aspect-ratio: 3000\/1107;\" \/><\/p>\n<p>We then go into Administration Console , the little square icon, choose category management and Add category <strong>AlfrescoCategory<\/strong> to match openMAINT DMS setup.<\/p>\n<p>(Added 9th Oct 2017-Also, check that there are 2 categories under AlfrescoCategory, namely <strong>Image<\/strong> &amp; <strong>Document<\/strong>. I have 3 instancs running and on one I needed to create these categories)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-663 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf37.jpg\" alt=\"\" width=\"1914\" height=\"805\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf37.jpg 1914w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf37-300x126.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf37-768x323.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf37-1024x431.jpg 1024w\" data-sizes=\"(max-width: 1914px) 100vw, 1914px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1914px; --smush-placeholder-aspect-ratio: 1914\/805;\" \/><\/p>\n<p>Close all the lot down and restart the Tomcat server. Then fire it up again.&nbsp; Open the openMAINT browser tab and in the example below, I have gone to floor, Clicked on upper flor in the database rows, Clicked on attachments tab, then clicked on add attachment<img decoding=\"async\" class=\"alignnone size-full wp-image-662 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf31.jpg\" alt=\"\" width=\"1895\" height=\"1125\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf31.jpg 1895w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf31-300x178.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf31-768x456.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf31-1024x608.jpg 1024w\" data-sizes=\"(max-width: 1895px) 100vw, 1895px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1895px; --smush-placeholder-aspect-ratio: 1895\/1125;\" \/><\/p>\n<p>This gives you a pop-up where you can choose doc type, select a file from your computer, and fill in description. All 3 items required, then click on OK at bottom.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-661 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf32.jpg\" alt=\"\" width=\"1897\" height=\"1051\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf32.jpg 1897w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf32-300x166.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf32-768x425.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf32-1024x567.jpg 1024w\" data-sizes=\"(max-width: 1897px) 100vw, 1897px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1897px; --smush-placeholder-aspect-ratio: 1897\/1051;\" \/><\/p>\n<p>You will see that there is now a new row with the attachment in openMAINT. There is a butto to the RIGHT where you can choose to download the document from open MAINT. Actually the Download Button opens another tab to display the PD. Not sure how many file types it can view, an exploration for another day.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-660 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33.jpg\" alt=\"\" width=\"1912\" height=\"1085\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33.jpg 1912w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33-300x170.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33-768x436.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33-1024x581.jpg 1024w\" data-sizes=\"(max-width: 1912px) 100vw, 1912px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1912px; --smush-placeholder-aspect-ratio: 1912\/1085;\" \/><\/p>\n<p>If we jump back to Alfresco, you will see that there is now a Tree with the elements that have attachments shown, I have made attachments for Building, Floor and Unit so far, you can see these three shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-659 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf34.jpg\" alt=\"\" width=\"1886\" height=\"774\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf34.jpg 1886w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf34-300x123.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf34-768x315.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf34-1024x420.jpg 1024w\" data-sizes=\"(max-width: 1886px) 100vw, 1886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1886px; --smush-placeholder-aspect-ratio: 1886\/774;\" \/><\/p>\n<p>If we click on floor, we will see there is a document t there, and if we click on&nbsp; the filename (keyPlan.pdf) it will open another tab to show a preview from within Alfresco. A point to note. The floor reference in Alfresco is <strong>Id261731<\/strong> , see 3 slides below<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-658 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf35.jpg\" alt=\"\" width=\"1909\" height=\"830\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf35.jpg 1909w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf35-300x130.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf35-768x334.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf35-1024x445.jpg 1024w\" data-sizes=\"(max-width: 1909px) 100vw, 1909px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1909px; --smush-placeholder-aspect-ratio: 1909\/830;\" \/><\/p>\n<p>And below is the preview tab for the 2D pdf. It doesn&#8217;t do it for 3d pdf&#8217;s, you have to actually download to view the 3D models ( a shame, but a browser issue)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-657 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf36.jpg\" alt=\"\" width=\"1879\" height=\"1195\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf36.jpg 1879w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf36-300x191.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf36-768x488.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf36-1024x651.jpg 1024w\" data-sizes=\"(max-width: 1879px) 100vw, 1879px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1879px; --smush-placeholder-aspect-ratio: 1879\/1195;\" \/><\/p>\n<p>Ok, so the The floor reference in Alfresco is <strong>Id261731<\/strong>&nbsp; is the ID reference in the openMAINT Database Table Floor that refers to the Upper Floor. So that is right, just not very clear. Maybe there can be a better referencing to allow for previewing information in Alfresco.<\/p>\n<p>Since I have only got the tool running now, I&#8217;ll need to explore it further. Nice linkage and its all held in the Same instance of PostgreSQL so the 2 databases, alfresco and the openmaint are linked together. Very elegant.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-666 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf38.jpg\" alt=\"\" width=\"1641\" height=\"1001\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf38.jpg 1641w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf38-300x183.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf38-768x468.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf38-1024x625.jpg 1024w\" data-sizes=\"(max-width: 1641px) 100vw, 1641px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1641px; --smush-placeholder-aspect-ratio: 1641\/1001;\" \/><\/p>\n<p>One other thing about Alfresco is the share page. I think you have to have Alfresco open before you can open Share. The thing I tried to get running was sites and that has the OK button greyed out, so I&#8217;m not too sure what you would use it for. I&#8217;ll need to watch a few youtube vids to figure the Alfresco side out<img decoding=\"async\" class=\"alignnone size-full wp-image-650 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf22.jpg\" alt=\"\" width=\"2994\" height=\"1556\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf22.jpg 2994w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf22-300x156.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf22-768x399.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf22-1024x532.jpg 1024w\" data-sizes=\"(max-width: 2994px) 100vw, 2994px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 2994px; --smush-placeholder-aspect-ratio: 2994\/1556;\" \/><\/p>\n<p>Another cool thing is that Filezilla links to the Alfresco site so that may be a handy way to upload lots of files.<\/p>\n<p>That is an interesting thought! I&#8217;m not sure whether openMAINT will read the files if you push them up through Alfresco.<\/p>\n<p>That is going to be an interesting exercise. I will most probably break it, and since I have only just got the toy working, it will have to wait for another day. ( <em>I couldn&#8217;t resist it- see below<\/em>)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-668 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf39.jpg\" alt=\"\" width=\"1920\" height=\"1065\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf39.jpg 1920w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf39-300x166.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf39-768x426.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf39-1024x568.jpg 1024w\" data-sizes=\"(max-width: 1920px) 100vw, 1920px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1920px; --smush-placeholder-aspect-ratio: 1920\/1065;\" \/>I hope this is a help to others.<\/p>\n<p>I started on the VPS&#8217;s to get this up and running and still having a lot of grief over those. If anyone has any insights into how to get them running I&#8217;d appreciate some help.<\/p>\n<p>I have been trying to get the email side going prior to focussing on the DMS but sort of crashed and burned so far on that one. When I get the email up and running and the DMS both on the server I think openMAINT will be a pretty comprehensive tool.&nbsp; Just a shame the documentation is hard to find.<\/p>\n<h3>Can you push attachments backwards?<\/h3>\n<p>A test. Using Filezilla to upload files to Alfresco and push into openMAINT<\/p>\n<p>Filezilla- Copied file from PC to Alfresco<img decoding=\"async\" class=\"alignnone size-full wp-image-672 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf40.jpg\" alt=\"\" width=\"1920\" height=\"1076\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf40.jpg 1920w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf40-300x168.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf40-768x430.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf40-1024x574.jpg 1024w\" data-sizes=\"(max-width: 1920px) 100vw, 1920px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1920px; --smush-placeholder-aspect-ratio: 1920\/1076;\" \/><\/p>\n<p>Alfresco- File is showing<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-673 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf41.jpg\" alt=\"\" width=\"1899\" height=\"707\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf41.jpg 1899w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf41-300x112.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf41-768x286.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf41-1024x381.jpg 1024w\" data-sizes=\"(max-width: 1899px) 100vw, 1899px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1899px; --smush-placeholder-aspect-ratio: 1899\/707;\" \/><\/p>\n<p>openMAINT. There it is. Note, no author and no Description, no category or version. I suppose its good for bulk uploads on setup.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-671 lazyload\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf42.jpg\" alt=\"\" width=\"1909\" height=\"849\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf42.jpg 1909w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf42-300x133.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf42-768x342.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf42-1024x455.jpg 1024w\" data-sizes=\"(max-width: 1909px) 100vw, 1909px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1909px; --smush-placeholder-aspect-ratio: 1909\/849;\" \/><\/p>\n<p>Not sure if I&#8217;ve broken the toy but its fun to try these things.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Background (note-updated 9 oct 2017- dms.conf file altered and dms in openmaint altered- see below) After reading the CMDBuild Technical Manual on how to set up DMS (Document management System) Alfresco and integrate the two, I attempted to have a go at it. I did a separate install for Alfresco 3.4d (this was the one [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":660,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[16,112,113,53,54,114],"class_list":["post-614","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-openmaint-assettiger","category-openmaint-setup","tag-amfm-data-management","tag-cafm","tag-cmms","tag-facility-management","tag-facility-operations","tag-iwms"],"featured_image_src":"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33.jpg","featured_image_src_square":"https:\/\/max-drake.cc\/wp-content\/uploads\/2017\/10\/alf33.jpg","author_info":{"display_name":"Max Drake","author_link":"https:\/\/max-drake.cc\/?author=1"},"_links":{"self":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=614"}],"version-history":[{"count":0,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/614\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/media\/660"}],"wp:attachment":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}