pastefy icon indicating copy to clipboard operation
pastefy copied to clipboard

/app/stats not working

Open CappuccinoCake opened this issue 2 years ago • 4 comments

if I am accessing http://server/app/stats I am not able to see stats. There is always a 404 page not found from Pastefy itself.

Someone has a clue how to get it working?

CappuccinoCake avatar Dec 05 '22 19:12 CappuccinoCake

You may want to set the environment variablePASTEFY_PUBLIC_STATS to true

JulianFun123 avatar Dec 05 '22 20:12 JulianFun123

I already set that. PASTEFY_PUBLIC_STATS=true

CappuccinoCake avatar Dec 05 '22 20:12 CappuccinoCake

Did you try /api/v2/app/stats instead of only /app/stats?

JulianFun123 avatar Dec 10 '22 12:12 JulianFun123

Yes, getting this:
{"exception":"NullPointerException","success":false,"exists":false,"error":true}

CappuccinoCake avatar Dec 11 '22 20:12 CappuccinoCake