Siwat2545 Posted December 1, 2018 Author Share Posted December 1, 2018 14 hours ago, jazzyjeff said: @Siwat2545 where are the log files for HomeBridge with GUI I want to add them to the frontend of the GUI, I know how to get the from unraid GUI or Command line via Dockers but I want them in front end gui on HomeBridge. Also Did you get the restart command to work on the gui? Currently I can't find a way to view the log yet as homebridge doesn't create any log in the container (I'm actively finding a way to do it) Quote Link to comment
mweis Posted December 1, 2018 Share Posted December 1, 2018 can s.o. provide a subdomain.conf file for onlyoffice document server for using it for nextcloud integration? Quote Link to comment
Dan040790 Posted December 3, 2018 Share Posted December 3, 2018 What happened to Phlex? There's no information and I don't know what "Replaced with digital high version" means.. Quote Link to comment
jazzyjeff Posted December 3, 2018 Share Posted December 3, 2018 Any way to add ffmpeg to the HomeBridge container? Need to add cameras but need ffmpeg Quote Link to comment
Eggman1414 Posted December 3, 2018 Share Posted December 3, 2018 Getting an error while trying to use H265ize on a mkv file. [h265ize]: [verbose] Handling keypresses... [h265ize]: [verbose] Setting as-preset options... [h265ize]: [verbose] Folder encoding started at Monday, December 3rd 2018, 4:54:00 AM [h265ize]: Processing Nightflyers - 1x01 - All That We Left Behind.mkv... [h265ize]: [verbose] Encoding started at Mon, 4:54 AM [h265ize]: [verbose] Getting metadata... [h265ize]: [verbose] Resolving video streams... [h265ize]: [verbose] Upconverting... [h265ize]: [verbose] Setting video bit depth... [h265ize]: [verbose] Mapping streams... [h265ize]: [alert] Audio does not have a title. Title set to "English EAC3 (5.1 Channel)". [h265ize]: English [h265ize]: [verbose] Detecting auto crop... [h265ize]: Crop Detection: 1/12 [1000D[1A[2K[h265ize]: Crop Detection: 2/12 [1000D[1A[2K[h265ize]: Crop Detection: 3/12 [1000D[1A[2K[h265ize]: Crop Detection: 4/12 [1000D[1A[2K[h265ize]: Crop Detection: 5/12 [1000D[1A[2K[h265ize]: Crop Detection: 6/12 [1000D[1A[2K[h265ize]: Crop Detection: 7/12 [1000D[1A[2K[h265ize]: Crop Detection: 5/12 [1000D[1A[2K[h265ize]: Crop Detection: 6/12 [1000D[1A[2K[h265ize]: Crop Detection: 7/12 [1000D[1A[2K[h265ize]: Crop Detection: 8/12 [1000D[1A[2K[h265ize]: Crop Detection: 9/12 [1000D[1A[2K[h265ize]: Crop Detection: 10/12 [1000D[1A[2K[h265ize]: Crop Detection: 11/12 [1000D[1A[2K[h265ize]: Crop Detection: 12/12 [h265ize]: [alert] Output will be cropped to 1920x960. Originally 1920x1080 [h265ize]: [verbose] Mapping HE Audio streams... [h265ize]: [verbose] Setting ffmpeg settings... [h265ize]: [verbose] Encoding video... [h265ize]: ffmpeg exited with code 1: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:0 -- encoded 0 frames Conversion failed! [h265ize]: [verbose] Finished encoding at Mon, 4:54 AM (a few seconds) [h265ize]: Folder encoding finished at Monday, December 3rd 2018, 4:54:04 AM [h265ize]: [alert] The following videos (1) were not encoded: - /mnt/user/h265ize/input/Nightflyers - 1x01 - All That We Left Behind.mkv: ffmpeg exited with code 1: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:0 -- Any reason why? Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 3 hours ago, jazzyjeff said: Any way to add ffmpeg to the HomeBridge container? Need to add cameras but need ffmpeg I will "Add 'apt-get install' directive into the packages list, I will work on it during the weekend, I will also be migrating all of my container to automated build Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 6 hours ago, Dan040790 said: What happened to Phlex? There's no information and I don't know what "Replaced with digital high version" means.. It is not removed anymore, I edited the forum page now, Sorry for the confusion. Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 On 12/1/2018 at 8:30 PM, mweis said: can s.o. provide a subdomain.conf file for onlyoffice document server for using it for nextcloud integration? I do not understand, can you leave a reference to your question? (ie. the page where it say what subdomain.conf actually is) Quote Link to comment
mweis Posted December 3, 2018 Share Posted December 3, 2018 15 minutes ago, Siwat2545 said: I do not understand, can you leave a reference to your question? (ie. the page where it say what subdomain.conf actually is) i am running nextcloud container and letsencrypt container from linuxserver.io. i am using letsencrypt with nginx as a reverse proxy. The container provides standard configs for most docker containers such as nextcloud. the files can be found in "\appdata\letsencrypt\nginx\proxy-confs" i have created an own subdomain for the officeserver but i cant reach it. i am only landing on the page "welcome to nginx" server { listen 443 ssl; server_name office.*; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_OnlyOfficeDocumentServer OnlyOfficeDocumentServer; proxy_pass http://$upstream_OnlyOfficeDocumentServer:443; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-Proto $scheme; } } i have downloaded the nextcloud plugin "ONLYOFFICE" and have entered my subdomain into the field for the service address. But i always says "error on connect" bad request or timeout. cant figure out where is my failure...thanks in advance. Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 3 minutes ago, mweis said: i am running nextcloud container and letsencrypt container from linuxserver.io. i am using letsencrypt with nginx as a reverse proxy. The container provides standard configs for most docker containers such as nextcloud. the files can be found in "\appdata\letsencrypt\nginx\proxy-confs" i have created an own subdomain for the officeserver but i cant reach it. i am only landing on the page "welcome to nginx" server { listen 443 ssl; server_name office.*; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_OnlyOfficeDocumentServer OnlyOfficeDocumentServer; proxy_pass http://$upstream_OnlyOfficeDocumentServer:443; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-Proto $scheme; } } i have downloaded the nextcloud plugin "ONLYOFFICE" and have entered my subdomain into the field for the service address. But i always says "error on connect" bad request or timeout. cant figure out where is my failure...thanks in advance. oh, the nginx config, I do not know how to answer that as I do not use nginx as a proxy, I use HAProxy in pfSense I think you need to hit up the nginx container support forum on how to setup a nginx reverse proxy Quote Link to comment
mweis Posted December 3, 2018 Share Posted December 3, 2018 the proxy itself is working well only the onlyoffice container doesnt work ^^ Quote Link to comment
mweis Posted December 3, 2018 Share Posted December 3, 2018 I also have the issue with the onlyoffice container - the WebUI can be opened through port 8080, but not under ssl condition Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 (edited) You need to configure the ssl within the onlyoffice itself too, not just in the reverse proxy by placing cert.crt and cert.key in /Data/certs (You can try visiting my portal and my document server) When you check my certificate you will see it is encrypted by lets encrypt (PS the port for ssl is 4430 and 4431 not 8080 and 8081) Edited December 3, 2018 by Siwat2545 Quote Link to comment
mweis Posted December 3, 2018 Share Posted December 3, 2018 yeh i places the files, but it always says ERR_CONNECTION_REFUSED Quote Link to comment
mweis Posted December 3, 2018 Share Posted December 3, 2018 yeah but i think i should be able to open the ui through the docker-ip also shouldnt i? Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 17 minutes ago, mweis said: yeh i places the files, but it always says ERR_CONNECTION_REFUSED what port did you use to connect? and also did you put "https://" in the front? Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 1 minute ago, mweis said: see files attached Ohhhh I get it, the onlyoffice can only be run using the host network option, you can use proxy_pass to pass the connection from the nginx container in layer3 Quote Link to comment
mweis Posted December 3, 2018 Share Posted December 3, 2018 2 minutes ago, Siwat2545 said: Ohhhh I get it, the onlyoffice can only be run using the host network option, you can use proxy_pass to pass the connection from the nginx container in layer3 okay fine, can u explain this just a bit more detailed? Quote Link to comment
Siwat2545 Posted December 3, 2018 Author Share Posted December 3, 2018 2 minutes ago, mweis said: okay fine, can u explain this just a bit more detailed? This is what I do, I set network to host, my unraid ip is 192.168.0.134 and my nginx reverse proxy is on 192.168.1.12 (my subnet is 255.255.0.0 so 192.168.0.134 and 192.168.1.12 can see each other) i proxypass to https://192.168.0.134:4430 and https://192.168.0.134:4431 Quote Link to comment
jazzyjeff Posted December 3, 2018 Share Posted December 3, 2018 For the time being, in HomeBridge I just used apt-get update && apt-get -y install ffmpeg It works for camera install I did this from the command line of course. Quote Link to comment
Siwat2545 Posted December 4, 2018 Author Share Posted December 4, 2018 13 hours ago, jazzyjeff said: For the time being, in HomeBridge I just used apt-get update && apt-get -y install ffmpeg It works for camera install I did this from the command line of course. Yes, the version I release yesterday also allow you to add the apt package in the aptpackages variable (Download it from Apps Page again to make it work) just add ffmpeg to aptpackages variable 1 Quote Link to comment
jazzyjeff Posted December 4, 2018 Share Posted December 4, 2018 Awesome Sauce! Thanks Quote Link to comment
ssjucrono Posted December 4, 2018 Share Posted December 4, 2018 Hello @Siwat2545, Thank you for all the hard work you are doing! It is very useful! I am trying to use the Home Assistant Control Panel and have not been able to get it started. I saw there was an update to the docker last night and update it but to no avail. Here is the log I am seeing: Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [274 kB] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [122 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [744 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [585 kB] Fetched 1971 kB in 12s (160 kB/s) Reading package lists... File '/root/.homebridge/config.json' already there; not retrieving. Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. npm ERR! addLocal Could not install / npm ERR! Linux 4.18.17-unRAID npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "--unsafe-perm" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! code EISDIR npm ERR! errno -21 npm ERR! syscall read npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in npm ERR! eisdir a package you are trying to install. npm ERR! Please include the following file with any support request: npm ERR! /npm-debug.log Let me know if you need me to get the debug.log Thank you Quote Link to comment
MindRazorblade Posted December 4, 2018 Share Posted December 4, 2018 Hi @Siwat2545, I'm trying to get an instance of your Home Assistant Control Panel (HACP) to talk to my Home Assistant (HA) instance but it's giving me a pop up error saying "Unable to connect to Home Assistant. Please check the Server URL is accessible from this device or change the URL below:". I've followed the HACP troubleshooting, confirmed my API Password works and added a "cors_allowed_origins" section to the http part of my HA's configuration.yaml but still no luck. Do you have any idea what mistake I could be making? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.