<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128854#M34912</link>
    <description>&lt;P&gt;I believe that it's running as 'tomcat'.&amp;nbsp; The tomcat process runs as the tomcat user.&lt;/P&gt;&lt;P&gt;However, just to check I changed all permissions to be &lt;FONT size="2" face="courier new,courier"&gt;rwx&lt;/FONT&gt; and I still saw the same error.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Dec 2020 15:09:04 GMT</pubDate>
    <dc:creator>cratlepeter</dc:creator>
    <dc:date>2020-12-28T15:09:04Z</dc:date>
    <item>
      <title>org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128852#M34910</link>
      <description>&lt;P&gt;I'm just trying to get "community distribution content service 6.2-ga" installed on Debian 10.7 with "Apache Tomcat/9.0.31 (Debian)"&amp;nbsp; On the first run, I'm getting an error in creating the content directory.&amp;nbsp; I've dropped and recreated the database and user.&amp;nbsp; Any ideas why I'm getting the permission error and how I debug it in Tomcat ?&lt;/P&gt;&lt;P&gt;I'm getting "&lt;FONT size="2" face="courier new,courier"&gt;org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for file storage: /var/documents/contentstore/2020/12/28/11/28&lt;/FONT&gt;" in alfresco.log&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;tomcat seems to have permission to the directory:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;root@gpserver1:/var/log/tomcat9# ls -lR /var/documents&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;/var/documents:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;total 12&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;drwx------ 2 tomcat tomcat 4096 Dec 28 08:31 contentstore&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;drwx------ 2 tomcat tomcat 4096 Dec 27 13:49 contentstore.deleted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;drwx------ 2 tomcat tomcat 4096 Dec 28 08:21 keystore&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;/var/documents/contentstore:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;total 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;/var/documents/contentstore.deleted:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;total 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;/var/documents/keystore:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;total 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;security manager is off:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;root@xx:/var/log/tomcat9# grep -v ^# /etc/default/tomcat9&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;JAVA_OPTS="-Djava.awt.headless=true"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;SECURITY_MANAGER=false&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;LOGFILE_COMPRESS=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and alfresco-global.properties is set up:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;system.serverMode=PRODUCTION&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;#&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;# Sample custom content and index data location&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;#&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;dir.root=/var/documents&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;dir.contentstore=/var/documents/contentstore&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;dir.contentstore.deleted=/var/documents/contentstore.deleted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;# dir.keystore=${dir.root]/keystore/keystore&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 11:43:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128852#M34910</guid>
      <dc:creator>cratlepeter</dc:creator>
      <dc:date>2020-12-28T11:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128853#M34911</link>
      <description>&lt;P&gt;Is tomcat the user that you are using to run alfresco ? since only the owner(tomcat) has permission to create folder and file in contentstore folder.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 12:27:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128853#M34911</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-12-28T12:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128854#M34912</link>
      <description>&lt;P&gt;I believe that it's running as 'tomcat'.&amp;nbsp; The tomcat process runs as the tomcat user.&lt;/P&gt;&lt;P&gt;However, just to check I changed all permissions to be &lt;FONT size="2" face="courier new,courier"&gt;rwx&lt;/FONT&gt; and I still saw the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 15:09:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128854#M34912</guid>
      <dc:creator>cratlepeter</dc:creator>
      <dc:date>2020-12-28T15:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128855#M34913</link>
      <description>&lt;P&gt;Turns out that Debian tomcat is sandboxed by systemd.&amp;nbsp; Read /usr/share/doc/tomcat9/README.Debian for more information.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 15:44:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128855#M34913</guid>
      <dc:creator>cratlepeter</dc:creator>
      <dc:date>2020-12-30T15:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128856#M34914</link>
      <description>&lt;P&gt;good luck&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 01:50:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128856#M34914</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-12-31T01:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: org.alfresco.service.cmr.repository.ContentIOException: 11280000 Failed to create directory for</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128857#M34915</link>
      <description>&lt;P&gt;The folder that alfresco was trying to create was owned by the root user. changing it to alfresco(user starting the tomcat server) resolved the issue.&amp;nbsp; Thank you for your help&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 17:11:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-alfresco-service-cmr-repository-contentioexception-11280000/m-p/128857#M34915</guid>
      <dc:creator>blibanos</dc:creator>
      <dc:date>2024-07-10T17:11:15Z</dc:date>
    </item>
  </channel>
</rss>

