Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-14109

Errors when Alfresco installation directory contains space (driver other than C) on Community version

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Not a bug
    • Affects Version/s: 5.0.N
    • Fix Version/s: None
    • Component/s: Installer
    • Labels:
      None
    • Environment:
    • Bug Priority:
      Category 3

      Description

      Preconditions:
      Tested with Afresco Community v5.1.0(r104810-b123) schema 9004(HEAD-BUG-FIX) (https://bamboo.alfresco.com/bamboo/chain/result/viewChainArtifacts.action?buildKey=ALF-COM0&buildNumber=272 )
      Alfresco was installed using the following command:
      .\alfresco-community-5.1-BF-SNAPSHOT-installer-win-x64.exe --mode unattended --installer-language en --prefix "D:\alfresco5\ dir\ with\ spaces" --debuglevel 2 --debugtrace "D:\instdebug.txt" --jdbc_url db.url=jdbc:postgresql://localhost:5432/alfresco --jdbc_driver org.postgresql.Driver --jdbc_database alfresco --jdbc_username alfresco --jdbc_password admin --postgres_port 5432 --tomcat_server_domain 127.0.0.1 --tomcat_server_port 8080 --tomcat_server_shutdown_port 8005 --tomcat_server_ssl_port 8443 --tomcat_server_ajp_port 8010 --alfresco_ftp_port 1121 --alfresco_rmi_port 50501 --alfresco_admin_password admin --alfresco_sharepoint_port 7070 --baseunixservice_install_as_service 0 --baseunixservice_script_name alfrescoservice1 --libreoffice_port 8100 --alfrescocustomstack_services_startup auto

      Set the following properties -in alfresco-global.properties:

      ### External executable locations ###
      
      ooo.exe=D:\\alfresco5\\ dir\\ with\\ spaces\\libreoffice\\App\\libreoffice\\program\\soffice.exe
      ooo.enabled=true
      ooo.port=8100
      img.root=D:\\alfresco5\\ dir\\ with\\ spaces\\imagemagick
      img.coders=${img.root}\\modules\\coders
      img.config=${img.root}\\config
      img.gslib=${img.root}\\lib
      img.exe=${img.root}\\convert.exe
      
      swf.exe=D:\\alfresco5\\ dir\\ with\\ spaces\\swftools\\pdf2swf.exe
      swf.languagedir=D:\\alfresco5\\ dir\\ with\\ spaces\\swftools\\japanese
      
      jodconverter.enabled=false
      jodconverter.officeHome=D:\\alfresco5\\ dir\\ with\\ spaces\\libreoffice\\App\\libreoffice
      jodconverter.portNumbers=8100
      
      

      Steps to reproduce
      1.Start Alfresco Share
      2.Login to Alfresco Share

      Actual result
      Errors in logs.

      ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-1] Exception from executeScript - redirecting to status template error: 04270002 Wrapped Exception (with status template): 04270007 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 04270006 Failed to execute search: +@cm\:modified:[2015\-5\-20T00\:00\:00.000 TO 2015\-5\-27T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
      org.springframework.extensions.webscripts.WebScriptException: 04270002 Wrapped Exception (with status template): 04270007 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 04270006 Failed to execute search: +@cm\:modified:[2015\-5\-20T00\:00\:00.000 TO 2015\-5\-27T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
      at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1126)

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                rsutu Rodica Sutu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 2 hours, 30 minutes
                  2d 2h 30m

                    Structure Helper Panel