El Capitan not installing after first restart
If the El Capitan install fails for any reason, it automatically rolls back to Yosemite.

Could be many reasons for it not to work like HDD issues, Install file corruption or space issues?
Also, Is it an older El Capitan installer? Downloaded a while ago? Apple's certificate expired a while back and it could be failing for that reason. Try downloading it again.