-
Notifications
You must be signed in to change notification settings - Fork 18
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
Installation of Mono docker on a Synology DS416play #15
Comments
Could you clarify what you mean when you say you cannot gain access. Does your browser say it doesn't connect? Do you get an error like a 500 Server Error? Anything like that? Can you show the other tabs in that edit window? You mapped the host port 4033 to container port 80, correct? |
Judging by those logs something went wrong with the nginx template, it should be pointing to What are the contents of docker exec -it $CONTAINER_ID cat /etc/nginx/conf.d/funkwhale.conf A complete repull (delete the old image) of |
As requested; Current config. docker exec -it 761285947e0a cat /etc/nginx/conf.d/funkwhale.conf upstream funkwhale-api { required for websocket supportmap $http_upgrade $connection_upgrade { server {
|
Deleted container and image (all-in-one:0.18.1) and repulled image still having - Server error (500) . Then I pulled image from your repo and i am getting to the landing page. Will createsuperuser and Your repo is version 0.17 however ?? Heading in the right direction. |
Any ideas why your image works fine but those pulled from Eliot's repo don't? I have tried 0.18, 0.18.1 from his repo and all give the 500 error. |
Something must have changed when Eliot was setting up CI. My image is a bit older from before that, so that is probably why. Now, that the excellent @EliotBerriot's patch has been merged in to fix the final issue in #14 which is similar if not the same problem you are having. So that commit should fix that 500 error in the next image build. I'll update this when that's up for you to try out |
Excellent.. Will give it a whirl in an hour.. |
Mike...(love the artwork (your own creation?) Pulled the image and managed to flash up the landing page. From the CLI managed to create a superuser. Alas when I try and import music via the gui , i'm getting the attached denied message.. I wonder do I have some permissions issue. I'm not getting any error messages in the logs to indicate an issue. |
The artwork was created by Francis Gading! I'm glad the container is up and running. I believe you're right, the error being a permissions issue. Since you are uploading the file, you'll need write permission on your music directory so try changing those to something like Also try out importing music via CLI may also throw an error that could give us more insight. You may need to set the |
Mike, Thanks again. As much as i wanted to host my music on the Synology i'm not sure if it is going to be possible as the version of docker used by Synology is a few years old and users on the forum (i should have checked earlier) are not happy with the pace of updates and the issues it causing other apps etc. I reverted back to my rpi3 (mono build version) and built the image using your latest repo without any issues and deployed that image only to find I am having the exact same issue (denied) when I try to import music via the gui. Coincidence or some issue with the latest build? PS - Will try import via CLI later |
I'm actually getting the same Denied error now too. Looking into it. |
Thanks for the update. Await news of your findings |
I'm able to upload files < 2.5mb, anything above that and it is denied. No daphne/worker errors whatsoever lead me to believe nginx was causing the problem.
Looked at the differences in the nginx templates, and the only one worth anything was the I'm inclined to believe that some change in funkwhale is denying the upload. @EliotBerriot does funkwhale do any checking of its own for individual file size? |
Ok same results here..i'm able to import files < 2.5mb Do u use this for CLI imports... For file structures similar to ./Artist/Album/Track.mp3 docker exec -it funkwhale manage import_files $LIBRARY_ID "/music///*.mp3" --in-place --async |
Hi there, someone else reported the same issue yesterday, I'm going to look into that :) |
@thetarkus I cannot reproduce this issue locally on my laptop, can you share the exact set of commands and steps (including the This is what I did:
Then visit http://localhost:5000, login with my superuser, create a library, upload a 4,5Mb mp3 file, without any issue. I feel like I'm missing something obvious here. |
I had to rebuild the mono image (rpi3) - did that twice and using the above procedure (on 3 occasions, just for kicks) it still bombs out. Must the build of the image part. |
Allright, I can indeed reproduce if I rebuild the image myself! |
Both nginx config are identical, and apparently, it's the application itself that answers with a 413 (Entity too large) status code. |
So, I found out what the issue was: one of our dependency released a bugfix release which enforce a size check that was not here before: django/channels@a1ecd5e You should be able to fix the issue by running: Implementing an proper fix will likely take a bit more time, I'll keep you updated. |
I can confirm the fix is in..All good. Newly built container works a treat. In the mean time we await the official fix. Can I ask a simple and noob question. Given I am running the mono docker image on a rpi3 that sits in my LAN behind a ASUS router DSL-AC86U. what is the most straightforward way to implement https as I would like to share / incorporate external instances with mine. Any guides that I have read imply that I need my own domain name because self signed certs no longer are flavour of the day. I understand you guys are busy and have better things to fill your day but a some pointers would be wonderful. I am happy using the CLI and am gaining a good understanding of the OS but this has me in a corner. Thanks. |
There is likely a bug in our dependency, cf django/channels#1240 @dmurphydrtc you will indeed need a domain name. That's a hard requirement if you want to join the federation. Serving your instance publicly can be done using a nginx reverse proxy on the host and requesting free SSL certificates via Let's encrypt. If you need help with that, please open a dedicated topic on https://socialhub.network/c/funkwhale/support and I'll detail the process :) |
Eliot.. I will indeed document my requirements and post in above forum. I really appreciate your dedication and efforts. I love learning, but impatient and time hungry. I feel awkward asking such noob questions. |
I have one of the above devices that holds my music, videos & backups. It is an Intel based CPU. I have
Docker running on the device and have run numerous types of images (nginx, alpine, mysql etc.) and docker seems to be stable.
I downloaded the all-in-one image from this repo.
If I start the container with the default envir. variables as listed in the attached image..the container runs ok but I cannot gain access via 192.168.1.117:4033 (random port number I have chosen)
I am not sure how I go about setting up the environment variables to get this running. I have attached the default settings for the container as determined by synology/docker. These variables don't align with the setup as per the installation guide from this repo or the official Funkwhale repo. Thanks in advance.
The text was updated successfully, but these errors were encountered: