As I can't get pages working properly here for some reason… Additional Info (on user/merchant management etc.) is available in the project wiki on gitlab: https://gitlab.irax.com:8100/irax/nwp-payments/-/wikis/home
Main Services:
Redis, uwsgi, nginx & Supervisord should all be enabled as a service so it should all come up if the machine is ever rebooted.
Individual service restarts:
Most things should be able to be individually restarted with a restart of the relevant service
Python Application - service uwsgi restart
Celery Service (emails) - service supervisor restart
If you need it app code is in /var/www/python-apps/pgwy-payments/payment-app/... and logs are in /var/www/python-apps/pgwy-payments/log/
User 2FA:
Occasionally we find user locked out due to 2FA issues lost device etc.
you can remove a user 2FA device by deleting the record against their email address in the backend this will then force them to reset up 2FA when they next login.
Note: OTP_TOTP not OTP_STATIC table
URL for OTP TOTP Device management: https://pgwy.irax.com/admin/otp_totp/totpdevice/