[Server-devel] NGINX question...Nextcloud video doesn't play!

Adam Holt holt at unleashkids.org
Sun Feb 16 23:08:22 EST 2020


Does anybody know NGINX well, who might be able to quickly tell why
Nextcloud's out-of-the-box promo video fails to render on Internet-in-a-Box?


Specifically, instead of playing the video, URL's like the following...
http://box/nextcloud/apps/firstrunwizard/img/Nextcloud.webm
http://box/nextcloud/apps/firstrunwizard/img/Nextcloud.mp4

...are all redirected to...
http://box/nextcloud/apps/files/

...which in turn redirects to...
http://box/nextcloud/apps/files/?dir=/&fileid=2...


If there any NGINX gurus out there, the config file in question
(/etc/nginx/conf.d/nextcloud-nginx.conf) is sourced from...
https://github.com/iiab/iiab/blob/master/roles/nextcloud/templates/nextcloud-nginx.conf.j2

Which was cribbed (thanks to Anish Mangal!) almost directly from...
https://docs.nextcloud.com/server/18/admin_manual/installation/nginx.html#nextcloud-in-a-subdir-of-nginx
https://docs.nextcloud.com/server/18/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx


PS you can also see this for yourself if you install Nextcloud (18.0.1) as
part of an Internet-in-a-Box (IIAB) 7.1
<https://github.com/iiab/iiab/wiki/IIAB-7.1-Release-Notes> pre-release as
follows:

curl http://d.iiab.io/install.txt | sudo bash

After you install IIAB, an all-blue Nextcloud popup appears (instead of
Nextcloud's product jingle video!) when you visit http://box/nextcloud and
log in, using stock the username / password... i.e. Admin / changeme

A bit more background at PRs #2119 <https://github.com/iiab/iiab/pull/2119>
& #2255 <https://github.com/iiab/iiab/pull/2255>.  In short, many of us
would like to fix this, but sadly don't yet have enough NGINX experience, a
welcome your suggestions !!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20200216/b7d3ddfc/attachment.htm>


More information about the Server-devel mailing list