Alfresco error : Server error (062645497)

cancel
Showing results for 
Search instead for 
Did you mean: 
lotfi213dz
Active Member

Alfresco error : Server error (062645497)

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,

11 Replies
abhinavmishra14
Moderator
Moderator

Re: Alfresco error : Server error (062645497)

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) 

 

 

 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
lotfi213dz
Active Member

Re: Alfresco error : Server error (062645497)

Hello

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 

alfresco.PNG

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,

abhinavmishra14
Moderator
Moderator

Re: Alfresco error : Server error (062645497)

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.

 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
lotfi213dz
Active Member

Re: Alfresco error : Server error (062645497)

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,

alfresco1.PNG

abhinavmishra14
Moderator
Moderator

Re: Alfresco error : Server error (062645497)

@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

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
lotfi213dz
Active Member

Re: Alfresco error : Server error (062645497)

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,

abhinavmishra14
Moderator
Moderator

Re: Alfresco error : Server error (062645497)

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. 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
lotfi213dz
Active Member

Re: Alfresco error : Server error (062645497)

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,