I am trying to open configuration > sales > payment methods but it shows

Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache/2.4.29 (Ubuntu) Server at mysitename.de Port 80

i have tried with this

php bin/magento maintenance:disable
php bin/magento cache:flush

and there is also no any .maintenance.flag in root or in var directory

how to fix it in magento 2

  • Where you unable to open only that particular page or the entire website? Any server error logs? – Raj Mohan R Apr 10 '19 at 7:15
  • particularly this page only and no log – Shubhajay Das Apr 10 '19 at 7:25
  • Have you tried giving write permissions to var, pub and generated foldrers – Raj Mohan R Apr 10 '19 at 7:27
  • yes i have tried – Shubhajay Das Apr 10 '19 at 7:30
  • 1
    Are you using shared hosting? Do you have root privilege to view the server log files? This error log will be definitely in server log – Raj Mohan R Apr 10 '19 at 8:25

Try a full clean:

  • php bin/magento c:c
  • php bin/magento c:f
  • rm -rf var/cache/*
  • rm -rf var/page_cache/*
  • rm -rf generated/*
  • rm -rf pub/static/adminhtml/*
  • Check for permissions/Give back permissions
  • F12 (Developer tools) -> Application -> Clear Storage (tab) -> Clear site data
  • On refresh you should be forced to log out -> relog
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.