Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 409
    • Issues 409
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #1729
Closed
Open
Issue created Mar 03, 2022 by Beto Dealmeida@betodealmeida

Create channel album not working in fresh install

Steps to reproduce

I did a fresh install via curl on Ubuntu 20.04 (LTS) x64. Channels are not working correctly.

What happens?

When uploading to a channel I get a spinner preventing me from creating new albums:

Screenshot_2022-03-03_at_09-46-11___Some_Earth_Time_Garden_of_Even___Lunar_Flares_____The_Fishermen_the_Priestess_backstage_..._

In order to create the album shown in the screenshot above ("FAWM 2022") I had to open the browser console and delete the DOM node corresponding to the spinner/overlay. Only then I could add an album and a track.

I checked the browser console and noticed 2 things:

(1) An error "Can’t establish a connection to the server at wss:". I checked the autogenerated nginx config for my site and noticed it was missing this part:

# required for websocket support
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

Restarting nginx after adding that section fixed the WS message, but the spinner is still there.

(2) There's a JS error message:

Uncaught (in promise) TypeError: i is null
    a https://songs.thefishermenandthepriestess.com/front/js/albums~artists~channels~core~favorites~library~playlists~radios.6e5e4f8b.js:1
    l https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:47
    r https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:47
    C https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:47
    r https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:30
    s https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:30
    i https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:30
    i https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:30
    fetchData https://songs.thefishermenandthepriestess.com/front/js/albums~artists~channels~core~favorites~library~playlists~radios.6e5e4f8b.js:1
    created https://songs.thefishermenandthepriestess.com/front/js/albums~artists~channels~core~favorites~library~playlists~radios.6e5e4f8b.js:1
    re https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Un https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    _init https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    _init https://songs.thefishermenandthepriestess.com/front/js/chunk-index-vendors.b359bee4.js:42
    a https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    sn https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    init https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    v https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    b https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Io https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    _update https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    r https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    get https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    rr https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Rn https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    $mount https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    init https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    v https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    b https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Io https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    _update https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    r https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    get https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    rr https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Rn https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    $mount https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    init https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    n https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    v https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    b https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    b https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    b https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    d https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    E https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    j https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Io https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    _update https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    r https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    get https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    run https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    Yn https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    he https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
    fe https://songs.thefishermenandthepriestess.com/front/js/chunk-vendors.c6c1d9c2.js:7
albums~artists~channels~core~favorites~library~playlists~radios.6e5e4f8b.js:1:17571

What is expected?

The overlay with the spinner should not be there.

Context

Funkwhale version(s) affected: 1.2.2+git.ddb7023f

Happens in both Firefox and Chrome.

Edited Mar 03, 2022 by Beto Dealmeida
Assignee
Assign to
Time tracking