1. Run upgrade,di compile cache clean etc. 2. Create a folder like this {root path}/var/saved_commandline