09-21-2016 03:04 PM
Hi guys,
Please help.
Default is:
#dir.root=C:/ALFRES~1/alf_data
- works fine.
Changing to:
#dir.root=C:/IT
- works fine.
Changing to (network drive):
#dir.root=O:/IT
or
#dir.root=smb://server.domain.local/SHARE/IT
- none works (of course without "#").
This is a mapped drive SMB share on what I would like to place entire repository, probably some other actions from file share server side (fbsd-based) are required.
I'm getting this errors on the top of the page:
09-22-2016 07:15 AM
If you look in the alfresco.log you should see this error:
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08210000 Failed to create store root: O:\Users\RLesnikov\contentstore.deleted
In alfresco.optimus.log
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08210000 Failed to create store root: \\optimus.viscira.local\OPTIMUS\Users\RLesnikov\contentstore.deleted
Have you made sure that all the permissions are set correctly?
09-21-2016 03:47 PM
In Windows (other than in Linux) you do not need to prepend smb:// for network file shares. //server.domain.local/SHARE/IT should be all you need. If you check in Windows file explorer, \\server.domain.local\SHARE\IT should be all you need to open the drive in the explorer, and since Java does not care about / vs \ in paths, and / are more convenient in *.properties files the format above is sufficient.
09-21-2016 03:57 PM
This caused error at login as if Alfresco failed to start.
Your authentication details have not been recognized or Alfresco may not be available at this time.
What should I check to fix this?
Thank you.
09-21-2016 04:01 PM
The log files to start, especially alfresco.log
09-21-2016 07:13 PM
09-22-2016 07:15 AM
If you look in the alfresco.log you should see this error:
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08210000 Failed to create store root: O:\Users\RLesnikov\contentstore.deleted
In alfresco.optimus.log
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08210000 Failed to create store root: \\optimus.viscira.local\OPTIMUS\Users\RLesnikov\contentstore.deleted
Have you made sure that all the permissions are set correctly?
10-06-2016 02:05 PM
Hi Axel,
Finally I got Alfresco working on a network share but assigning permissions is still a challenge for me. We have LDAP (AD) configured on a nix share where I placed the repository (except keystore and database). This only works when I give full access to everyone. No one other combination (domain admin, local admins) works for me. I tried start service under domain admin, gave full control permissions, startup log looks OK, but when I try to access share - I begin getting a lot of errors and share is not accessible.
Error like this:
ERROR [freemarker.runtime] [FeedNotifier1] Error executing FreeMarker template
FreeMarker template error:
Any ideas? May be I should try to run service under local admin account and try full access to this account or may be you have documentation which describes exact access rights needed to run Alfresco on a Windows server with repository placed on a network share?
Thanks in advance,
Roman.
10-07-2016 05:57 AM
Unfortunately you have not included the full error details of the FreeMarker error so I don't know what really went wrong there.
Generally, the account that is running the Alfresco services needs to have full read/write access to all the files and directories Alfresco is touching. This primarily means the Tomcat instance directory/directories, alf_data (incl. externalized content stores), keystore and any SOLR data directories. In a default Alfresco setup using the installer this would basically be the entire installation directory.
The question remains if you really have access errors since no details for the errors have been provided...
10-07-2016 01:31 PM
Hi Axel,
I’ve attached the log file. I’ve temporary fixed this by adding chmod 777 //…../* on nix side to a repository content and started both services under domain admin account. From a nix-box (LDAP AD is assigned) I allowed domain admins full access. Now regular user cannot access the repository but looks like alfresco starts and works fine. My concern is only what happens with rights on my nix (freebsd-based) –box when new files/folders will be created (if 777 would be applied or not, if not – it will cause problems again). Looks like this is not alfresco stuff already, but however look through the logs I provided, probably you’ll have better idea how to fix this.
Thank you,
Roman
10-07-2016 01:58 PM
Ok - the immediate issue is indeed an access denied issue:
Caused by: java.io.FileNotFoundException: \\optimus.company.local\Alfresco\contentstore\2016\10\5\12\39\3f57136d-4be1-46bf-9bd7-54e50ff2ac84.bin (Access is denied)
The system needs full read/write access on the \\optimus.company.local\Alfresco path and any children.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.