CSS and JS files not loading on admin dashboard

For some reason, CSS and JS files are not loading anymore only on the admin dashboard.

Recently I used mkdir as a root user (sudo su) inside the pub/media/tmp folder, to store some files generated by a plugin that I’m working on. I tried the following command to recreate permissions but no success:

find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && sudo find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + && sudo chown -R nginx:nginx . && sudo chmod u+x bin/magento

nginx is the user I’m using on it.

‚Äč

What can I do?

submitted by /u/kaio_piola
[link] [comments]