So i had made an alfresco site and i wanted to apply an amp to add a registration button to my login page. So i downloaded the amp i placed to amp folder and i run the apply_amps. After that i can't even connect to the login screen of my site. All i get is "this site can't be reached" when i hit http://127.0.0.1:8080/share where my site was… I don't want to think that i ve lost everything. I m a newbie and it was really tough for me to made it so far
Adding an amp is not going to delete any data. Probably there was just an exception thrown that prevented Alfresco from starting up. Look in $TOMCAT_HOME/logs/catalina.out and see if there are any clues. Also, to test whether or not the repo actually started, go to /alfresco instead of /share. If you can log in to the admin console but not Share it means that the repo came up but Share had a problem.
To get out of the state you are in you can either chase down the error or you can back out the AMP. To back out the AMP, go look in $TOMCAT_HOME/webapps. You should see WAR files with .bak. The newest one is the one the MMT tool created just before applying your new AMP. So you can shut down, remove the /alfresco and /share directories, then replace the alfresco.war and share.war with the backed up copies. Then restart.
Hey jpotts, thanks for the quick response. I ve tried to reach /alfresco instead of /share but i ve got the excact same response: "this site can't be reached. 127.0.0.1 refused to connect" I have attached the catalina log file. I've found the bak files that you ve said and indeed there are some files created the time that i installed the amp. I understood the step that i should replace them with alfresco.war and share.war but i don't understand what you mean when u said remove /alfresco and share directories. Where are those directories? Sorry for being too dump with those things but i m an amateur