Rhizome-Conifer / conifer

Collect and revisit web pages.
https://conifer.rhizome.org
Apache License 2.0
1.49k stars 120 forks source link

Can't start a crawl on fresh install: "Failed to create the crawl - undefined: Details invalid_image_param" #849

Closed deliciouslytyped closed 2 years ago

deliciouslytyped commented 2 years ago

I cloned the repo today and installled per the readme with docker-compose. When I try to add a crawl seed I get this javascript error in the frontend (via firefox dev console):

Uncaught TypeError: Cannot update within non-data-structure value in path ["fields","crawlInfo","seed_urls","0"]: undefined
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    sn http://localhost:8000/static/app.js:20
    dn http://localhost:8000/static/app.js:20
    pn http://localhost:8000/static/app.js:20
    deleteIn http://localhost:8000/static/app.js:49
    a.BLUR http://localhost:8000/static/app.js:49
    d http://localhost:8000/static/app.js:49
    d http://localhost:8000/static/app.js:49
    default http://localhost:8000/static/app.js:49
    default http://localhost:8000/static/app.js:49
    Rn http://localhost:8000/static/app.js:20
    default http://localhost:8000/static/app.js:49
    k http://localhost:8000/static/app.js:49
    default http://localhost:8000/static/app.js:49
    m http://localhost:8000/static/app.js:61
    s http://localhost:8000/static/app.js:61
    handleBlur http://localhost:8000/static/app.js:49
    p http://localhost:8000/static/app.js:9
    p http://localhost:8000/static/app.js:9
    C http://localhost:8000/static/app.js:9
    C http://localhost:8000/static/app.js:9
    T http://localhost:8000/static/app.js:9
    j http://localhost:8000/static/app.js:9
    P http://localhost:8000/static/app.js:9
    _t http://localhost:8000/static/app.js:9
    Iu http://localhost:8000/static/app.js:9
    ze http://localhost:8000/static/app.js:9
    Tt http://localhost:8000/static/app.js:9
    Fu http://localhost:8000/static/app.js:9
    unstable_runWithPriority http://localhost:8000/static/app.js:58
    Fu http://localhost:8000/static/app.js:9
    Et http://localhost:8000/static/app.js:9
    $a http://localhost:8000/static/app.js:9
    Va http://localhost:8000/static/app.js:9
    Pu http://localhost:8000/static/app.js:9
    unstable_runWithPriority http://localhost:8000/static/app.js:58
    Pu http://localhost:8000/static/app.js:9
    Ou http://localhost:8000/static/app.js:9
    Tu http://localhost:8000/static/app.js:9
    Fu http://localhost:8000/static/app.js:9
    Et http://localhost:8000/static/app.js:9
app.js:20:410857
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    e http://localhost:8000/static/app.js:20
    sn http://localhost:8000/static/app.js:20
    dn http://localhost:8000/static/app.js:20
    pn http://localhost:8000/static/app.js:20
    deleteIn http://localhost:8000/static/app.js:49
    a.BLUR http://localhost:8000/static/app.js:49
    d http://localhost:8000/static/app.js:49
    d http://localhost:8000/static/app.js:49
    default http://localhost:8000/static/app.js:49
    forEach self-hosted:206
    default http://localhost:8000/static/app.js:49
    Rn http://localhost:8000/static/app.js:20
    default http://localhost:8000/static/app.js:49
    k http://localhost:8000/static/app.js:49
    default http://localhost:8000/static/app.js:49
    m http://localhost:8000/static/app.js:61
    s http://localhost:8000/static/app.js:61
    handleBlur http://localhost:8000/static/app.js:49
    p http://localhost:8000/static/app.js:9
    p http://localhost:8000/static/app.js:9
    C http://localhost:8000/static/app.js:9
    C http://localhost:8000/static/app.js:9
    T http://localhost:8000/static/app.js:9
    j http://localhost:8000/static/app.js:9
    P http://localhost:8000/static/app.js:9
    _t http://localhost:8000/static/app.js:9
    Iu http://localhost:8000/static/app.js:9
    ze http://localhost:8000/static/app.js:9
    Tt http://localhost:8000/static/app.js:9
    Fu http://localhost:8000/static/app.js:9
    unstable_runWithPriority http://localhost:8000/static/app.js:58
    Fu http://localhost:8000/static/app.js:9
    Et http://localhost:8000/static/app.js:9
    Et self-hosted:1220
    $a http://localhost:8000/static/app.js:9
    Va http://localhost:8000/static/app.js:9
    Pu http://localhost:8000/static/app.js:9
    unstable_runWithPriority http://localhost:8000/static/app.js:58
    Pu http://localhost:8000/static/app.js:9
    Ou http://localhost:8000/static/app.js:9
    Tu http://localhost:8000/static/app.js:9
    Fu http://localhost:8000/static/app.js:9
    Et http://localhost:8000/static/app.js:9
    Et self-hosted:1220

There is also a red popup a the top right on a timer saying this after I click create crawl and it goes to the "view all crawls" screen:

Failed to create the crawl - undefined: Details invalid_image_param
deliciouslytyped commented 2 years ago

I misread the instructions: I didn't read carefully enough and connected to http://localhost:8000/ (browsertrix) instead of http://localhost:8089/ (conifer). I was already confused why it said browsertrix and not conifer but I chalked it up to some sort of branding thing.