07-26-2021 09:48 AM
Hello,
we have a standard setup of Alfresco in two machines, one as application server and one as NAS server for data,
Now, when we try accessing any published website, we receive the following error:
Server error (062646715). Details can be found in the server logs.
I would like to know, what does this mean? and where i may find those server logs?
Thank you in advance,
07-26-2021 01:21 PM
You would have to provide litte more info as to what is setup as application server? do you mean you have share on one machine and alfresco repo in on other ? what are published websites? Are these sites created in share?
How are you trying to access ? url?
The logs can be found usually with name as "alfresco.log" for alfresco repo app and "share.log" for share app at path:
$TOMCAT_HOME/logs (e.g. /usr/local/tomcat/logs)
07-27-2021 07:52 AM
Hello abhinavmishra14
Thank you for your reply,
For informaiton, i've just noticed that error code received, changes everytime, i try accessing the link
Please find bellow, answers to your question:
About our setup
We have two servers:
- physical NAS server (physical), which should hold all data
- application server (VM), where the alfresco app is installed, and has the NAS shares mounted as alf_data
how are you trying to access ? url ?
After logging in as Administrator, when i click on a site, i get the attached error message.
The url for that is:
http://alfresco/share/page/site/rm/dashboard
About the logs,
please, find in the following onedrive folder, the two log files you asked for:
https://1drv.ms/u/s!AmvNYUAbbtdQiGjrM_SYwKJrwLW4?e=gsXukm
Thank you in advance,
07-27-2021 09:43 AM
Did you tried creating a new site, do you still get the same error even you create new site? You can test this scenario as well.
As per you alfresco.log, i could see these errors:
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06270349 Failed to copy content to string: accessor: ContentAccessor[ contentUrl=store://2021/5/20/9/55/5624bf4c-a4b9-45d3-93cd-98c7d8b68923.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=fr_FR] Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06270348 Failed to open stream onto channel: accessor: ContentAccessor[ contentUrl=store://2021/5/20/9/55/5624bf4c-a4b9-45d3-93cd-98c7d8b68923.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=fr_FR] at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:408) at org.alfresco.repo.content.AbstractContentReader.getContentString(AbstractContentReader.java:509) ... 66 more Caused by: org.springframework.dao.ConcurrencyFailureException: store://2021/5/20/9/55/5624bf4c-a4b9-45d3-93cd-98c7d8b68923.bin no longer exists at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel(EmptyContentReader.java:63) at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:278) at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:382) ... 67 more
Highlighted the error which may be the root of the issue you are facing. It seems the files associated with the site are either deleted from the NAS drive or may be alfresco is not able to access it.
If you have a most recent backup of db, alf_data and indexes, try restoring it.
07-27-2021 10:42 AM
Hello,
Thank you for your answer..
Effectively, i found no folder with what is in logfile, and unfortunately, we do not have any backups for this old server.
I would like to know, if there's any solution to get rid of this entry, to get alfresco back again?
Thank you in advance,
07-27-2021 10:57 AM
@lotfi213dz did you tried creating a new site and check if you see the error?
The missing file in alf_data seems to be related to the site and that why you are seeing the error. If newly created site works then this will be proved. If you dont have backup then i don't think there is going to be any easy fix. But first try with new site so to make sure issue lies to this one site and not others
07-27-2021 11:14 AM
i created a new site, and seems to be fine..
the question now, could we repair the old one? could we at least retrieve or extract data from it, and create a new site?
thank you in advance,
07-27-2021 11:34 AM
Good that there is problem with that one site. But i don't you can fix it easily. However, try going to document library from repository and see if you can navigate document library folder.
1- Click on "Repository" from the header menu. You will land into Repository (company_home) folder at this url: <host>:<port>/share/page/repository
2- Look for "Sites" folder and click on it. The url would be something like: <host>:<port>/share/page/repository#filter=path|/Sites|&page=1
3- It will list the sites created in the repository, look for the site name (folders are by siteshortname).
4- Click on the site that is broken and then go to "documentLibrary" folder. See if you can find the files/folder that you need.
07-29-2021 04:04 AM
Hello @abhinavmishra14
Thank you for your patience with our case,
We finally discovered what was not going alright with our Alfresco setup
We are having physical problems with the iSCSI server that contains the /alf_data folder mounted in application server
Which means that we really need the procedure to export or migrate the data to other servers,that's why i'm writing this post to ask, if you permit, for the adequate procedure to do it and have our setup sain and healthy again
Thank you in advance,
07-29-2021 12:55 PM
There are ways to export and import content, you can choose which best suits your needs:
Export:
1- https://github.com/Alfresco/alfresco-bulk-export
2- https://github.com/douglascrp/alfresco-share-import-export#readme
SDK 4: https://github.com/abhinavmishra14/alfresco-share-import-export/tree/sdk4.1#readme
3- https://github.com/zylklab/alfresco-export-scripts/blob/master/README.md#bulk-export-scripts
Import:
1- Alfresco's ootb bulk import: https://docs.alfresco.com/content-services/6.1/admin/import-transfer/
2- https://github.com/douglascrp/alfresco-share-import-export#readme
SDK 4: https://github.com/abhinavmishra14/alfresco-share-import-export/tree/sdk4.1#readme
Explore our Alfresco products with the links below. Use labels to filter content by product module.