Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stats page not loading now #268

Closed
youradds opened this issue Sep 10, 2022 · 1 comment
Closed

Stats page not loading now #268

youradds opened this issue Sep 10, 2022 · 1 comment

Comments

@youradds
Copy link

For some reason I'm getting this error when looking at a sites stats:

XHRGEThttps://stats.foobar.com/api/stats/foobar.com/sources?period=30d&date=2022-09-10&filters={}&show_noref=false
[HTTP/2 500 Internal Server Error 151ms]

XHRGEThttps://stats.foobar.com/api/stats/foobar.com/pages?period=30d&date=2022-09-10&filters={}
[HTTP/2 500 Internal Server Error 152ms]

XHRGEThttps://stats.foobar.com/api/stats/foobar.com/main-graph?period=30d&date=2022-09-10&filters={}
[HTTP/2 500 Internal Server Error 157ms]

Uncaught (in promise) ApiError: ** (FunctionClauseError) no function clause matching in Clickhousex.Codec.Values.to_iodata/4
    lo https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    r https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    r https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    o https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    bo https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    promise callback*bo/< https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    promise callback*bo https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    value https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    value https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    observer https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    value https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    cs https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    wl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    unstable_runWithPriority https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    Ko https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    xl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    sl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    nl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    ql https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    Xl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    cl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    Xl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    render https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    <anonymous> https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    <anonymous> https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    <anonymous> https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
dashboard-bf1db32678121078d82c8d8f4f323c64.js:2:604903
Uncaught (in promise) ApiError: ** (FunctionClauseError) no function clause matching in Clickhousex.Codec.Values.to_iodata/4
    r https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    r https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    o https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    bo https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    promise callback*bo/< https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    promise callback*bo https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    value https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    value https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    observer https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    value https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    cs https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    wl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    unstable_runWithPriority https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    Ko https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    xl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    sl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    nl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    ql https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    Xl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    cl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    Xl https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    render https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    <anonymous> https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    <anonymous> https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
    <anonymous> https://stats.foobar.com/js/dashboard-bf1db32678121078d82c8d8f4f323c64.js?vsn=d:2
dashboard-bf1db32678121078d82c8d8f4f323c64.js:2:604574
Uncaught (in promise) SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

If I manually go to:
https://stats.foobar.com/api/stats/graphicsfactory.com/sources?period=30d&date=2022-09-10&filters=%7B%7D&show_noref=false

I get:

{"error":"** (FunctionClauseError) no function clause matching in Clickhousex.Codec.Values.to_iodata/4"}

I've tried restarting Plausible but still the same problem. Any suggestions?

@ukutaht
Copy link
Contributor

ukutaht commented Sep 13, 2022

Hey 👋

This issue tracker is for our documentation. Please find help with your self-hosted installation here instead.

@ukutaht ukutaht closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants