strukturag / nextcloud-spreedme

Spreed.ME Nextcloud app
https://www.spreed.me
GNU Affero General Public License v3.0
56 stars 26 forks source link

Running Spreed WebRTC and this app on different servers #67

Open I-am-stefan opened 7 years ago

I-am-stefan commented 7 years ago

Hi,

I had some trouble to integrate spreed.me in my nextcloud installation.
I uses a vitrual machine for static ip adress and ssl proxy in the internet and I am hosting my nextcloud server locally at home. The proxy Server connects my home installation with the internet.

The spreed.me installation is installed on the proxy (the virtual server) to relieve the pressure from my home-internet connection ;).

When I am starting the spreed.me server on the virtual host, I got the error message:

Configured extra '/var/www/nextcloud/apps/spreedme/extra' is not a directory.

Of course it is a directory, but on my nextcloud server and NOT on the virtual server (proxy). To solve my problem I copied this folder with all the included files from the nextcloud installation to the virtual server (proxy). Now I can start webrtc daemon and everything works fine for me.

Are these files really needed for starting the webrtc daemon? In my situation I will get problems, if the spreed.me APP will updated and I do not copy the new files again to the spreed-webrtc server.

leonklingele commented 7 years ago

Running Spreed WebRTC (the server) and Spreed.ME (Nextcloud app) on two different machines is officially unsupported. However copying the extra directory (like you did) should always work, you just have to make sure that they always stay in sync — so once you update the Spreed.ME app, you need to copy the extra dir to your Spreed WebRTC host.

I-am-stefan commented 7 years ago

Hi,

thanks for your answer.  And that is the only solution? So the Spreed WebRTC Server needs always these files for starting?  Perhaps it is possible to load them from an external adresss and you can customize this adress in the Server configuration? Am Donnerstag, den 12.01.2017, 03:17 -0800 schrieb leonklingele:

Running Spreed WebRTC (the server) and Spreed.ME (Nextcloud app) on two different machines is officially unsupported. However copying the extra directory (like you did) should always work, you just have to make sure that they always stay in sync — so once you update the Spreed.ME app, you need to copy the extra dir to your Spreed WebRTC host.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

leonklingele commented 7 years ago

Perhaps it is possible to load them from an external adresss and you can customize this adress in the Server configuration?

Yup, that would certainly be possible. Feel free to drop a PR.

I-am-stefan commented 7 years ago

Hi, thanks for your answer. Btw: What is a PR? in German a PR is "Pressekonferenz" so press conference, but I cannot believe that I need this type of conference for placing me idea ;). Am Mittwoch, den 18.01.2017, 08:51 -0800 schrieb leonklingele:

Perhaps it is possible to load them from an external adresss and you

can customize this adress in the Server configuration?

Yup, that would certainly be possible. Feel free to drop a PR.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

     

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/struktura g/nextcloud-spreedme","title":"strukturag/nextcloud- spreedme","subtitle":"GitHub repository","main_image_url":"https://cl oud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6- 95fc- 7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent .com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed- b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/strukturag/nextcloud- spreedme"}},"updates":{"snippets":[{"icon":"PERSON","message":"@leonk lingele in #67: \u003e Perhaps it is possible to load them from an external adresss and you\ncan customize this adress in the Server configuration?\n\nYup, that would certainly be possible. Feel free to drop a PR.\n"}],"action":{"name":"View Issue","url":"https://github.com/strukturag/nextcloud- spreedme/issues/67#issuecomment-273531866"}}}

leonklingele commented 7 years ago

PR = Pull request MR = Merge request

PR == MR

Feel free to drop a PR.

Or in other words: Please implement it yourself :) We currently don't need this kind of cross-server support.

pieter-groeneweg commented 7 years ago

@leonklingele Just out of curiosity... why not? In bigger setups it would be very nice to have cross server support.

Anyway, I managed to make it run as expected. I think.... https://help.nextcloud.com/t/spreedme-webrtc-and-nextcloud-on-split-host/11239

As the plugin apparently is picked up from the webserver and not the webrtc server, why not the path for "extra="