Bench restart gets "You should not run this command as root" error

Sorry I am pretty new to this, can anyone advise why I get this error and how to fix this?


Use Ctrl + D to exit root user.

thanks. but when i did that, gets me to the root.
i used to be able to do bench on this container, now i get that root error.

What installation guide/setup have you followed? Generally in a production environment you’d have a frappe user in which bench is installed and run the commands in that frappe-bench folder.

yeah it was actually working well already… then moments ago i got this internal error so i was checking here for the fix which i later learned it was just my mariadb that failed to start…

while working on the fix, i may have installed something, i remember the code had a pip in it…