Diagnose and fix service unavailable and an error occurred

Learn how to triage and resolve two common errors seen on Adobe Commerce Cloud projects. Understand how and why these errors happen and what are the recommended steps to resolve them.

Who is this video for

  • Developers and IT Professionals
  • System Administrators

Video Content

  • Diagnose and Resolve Storage Issues:
  • Manage Maintenance Mode
  • Efficient Troubleshooting tips

Commands used in the video

Find the last 5 lines of the exception log mentioned in the response message.

 tail -n 5 ~/var/log/exception.log

To check hard drive space. Pay attention to the line dev/mapper/xxxx

df -h

Lets find the top 15 largest files

find -type f -exec du -Sh {} + | sort -rh | head -n 15

Display the status of maintenance mode

php bin/magento maintenance:status

Disable the maintenance mode

php bin/magento maintenance:disable
recommendation-more-help
commerce-learn-help-home