The app-1 container is starting and restarting infinitely (loop)(possible solution)

If you are trying to install a brand new Mayan EDMS system on a PC that already had a Mayan system before and this error occurs, the cause is probably due to two files from the old system, .env and docker-compose.yml , try deleting them. them and try installing Mayan again to see if the loop stops.