• Members 35 posts
    Sept. 16, 2018, 8:17 a.m.

    Sites shows this error page after configured the Google 0Auth2 social login and restarted app (supervisor)

    IMG_20180916_091253.jpg

    JPG, 2.9 MB, uploaded by Rotense on Sept. 16, 2018.

  • Sept. 16, 2018, 1:52 p.m.

    Without error log its going to be super hard to debug whats wrong. Here is simple error logging configuration that you can add to your settings.py that will make Misago log errors to error.log file in your Misago's main directory:

    # Errors logging
    
    LOGGING = {
        'version': 1,
        'disable_existing_loggers': False,
        'handlers': {
            'file': {
                'level': 'ERROR',
                'class': 'logging.FileHandler',
                'filename': os.path.join(BASE_DIR, 'error.log'),
            },
        },
        'loggers': {
            'django': {
                'handlers': ['file'],
                'level': 'ERROR',
                'propagate': True,
            },
        },
    }
    

    With this if you'll see error page, Misago will write proper error reason to your error.log file for you to find out what is wrong.