Yes, as far as I can tell all of the owner and group information is preserved is the -a option. When I "ls -la" the alf_data directory, for example, everything belongs to the root user and group except the postgresql directory that is owned by postgres but in the root group.
..ah.. you run alfresco as root user - ok, there should be no problem with the access rights then.
It seems that your Solr didn't pick up your index files right. Can you see something in catalina.out on startup?
I used
find . -iname "*catalina.out*"
to find the location of this file and
less ./tomcat/logs/catalina.out
to view the file. It is a pretty big file with a lot of information. Is there something I should use grep to look for?
grep -i solr ./tomcat/logs/catalina.out
there is also a solr.log in . or ./tomcat/logs
Look for exceptions.
Examine your alfresco and Solr startup using tail -f LOGFILE or less LOGFILE (and press F to follow the output).
There must be an exception with your index files.
If your repository has only a few documents, stop alfresco/solr and delete and rebuild the index data:
Performing a full reindex with Solr | Alfresco Documentation
You should take care with the way you restored the extension folder, as there are files in there, like share-custom-config.xml and alfresco-global.properties that have adresses/hostnames/IPs in them, if you blindly copy them, you can make your restored server to connect into the original one.
For thoses cases, you better to recover the content, avoiding this kind of problem.
To mitigate problems with these properties dependant of your environment, you may include them in your startup scripts as part of JAVA_OPTS (ex. -Dalfresco.host=xxx). And so the essential config under shared (at least for alfresco-global.properties) is the same for every environment and so, in a backup env too.
Regards.
--C.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.