"Load doc content error"

Hi. Good news to share; at least for me.
In my case, simple one line addition to .env did the trick.

SEAFILE_SERVICE_URL=https://seafile.example.com

I noticed that this environment variable is referred by SEAHUB_SERVICE_URL in seadoc.yml, which defaults with internal hostname (http://seafile). Simply adding the URL of my public-accessible URL made it work.

My environment

  • Fully docker hosted.
  • No Caddy.
  • Behind a proxy, Nginx. It is outside of the Seafile docker network.
  • Nginx configuration is based on the official documentation. Just passing to the exposed ports of Seafile.

I’m really not sure why this works, as the communication between Seafile and SeaDoc should be possible by its default hostname. My best guess is that this variable actually handles both public and internal communication, therefore it must be publicly accessible, too.
Hope this helps.

1 Like