In my M 2.2.6 I can not enter the Category section of dashboard, the spining is turn around.
When I check the console, some of JS has 404 error
In - adminhtml/web/js/components/use-parent-settings -
select.js single-checkbox.js textarea.js toggle-disabled-mixin.js
I add it manual via SFTP then run
bin/magento setup:static-content:deploy -f
Problem temporarily resolved, but after one day, I can not enter the category section on dashboard again. and again.
On the other hand I can not set to production to run
bin/magento deploy:mode:set production
It gives an error like
The directory "/srv/public_html/pub/static/adminhtml/Magento/backend/tr_TR/Magento_Catalog/js/components/use-parent-settings/toggle-disabled-mixin.js" cannot be deleted Warning!rmdir(/srv/public_html/pub/static/adminhtml/Magento/backend/tr_TR/Magento_Catalog/js/components/use-parent-settings/toggle-disabled-mixin.js): Not a directory
As it appears that the symlinks are part of your deployment system, will need to fix the links to point to the appropriate place/file but I can not handle.