[support] Siwat's Docker Repository


Recommended Posts

I'm struggling with this as well - set it up with the same proxy.conf file provided by SpaceinvaderOne, with the exception that SWAG wouldn't boot unless I removed what it called a duplicate, which was the:

 

proxy_redirect off;

 

Once I removed it, SWAG booted.  I can access OnlyOfficeDocumentServer via internal IP address, but not my domain name (shows an NGINX error "400 Bad Request" when I try to navigate to it, and a bad health check in Nextcloud).

 

Can someone post a working NGINX proxy.conf so I can see what I'm doing wrong?

Link to comment
On 7/11/2021 at 2:21 PM, Michelle Bausager said:

I've been here before, unfortunately I suddenly had to take some months out of the calendar & didn't get any closer to a sulotion :( But I'm back :)

To start with, I don't have a great knowledge of network protocols & usually take baby steps :) Last time I was here, the question arised if my
proxy was pointing to http or https of onlyoffice, as fair as I know, it's https. But I'll hust walk you through what I have done & how far I've come :) If anyone have the time to help, it would be awesome.

 

I followed Spaceinvader One's video: https://www.youtube.com/watch?v=dEOfwKH2DHc&t=190s

When I had to copy the credentials I substatuded the Let's Encrypt folder to Swag as:

mkdir /mnt/user/appdata/onlyofficeds/Data/certs

cp /mnt/user/appdata/Swag/keys/cert.crt /mnt/user/appdata/onlyofficeds/Data/certs/onlyoffice.crt

cp /mnt/user/appdata/Swag/keys/cert.key /mnt/user/appdata/onlyofficeds/Data/certs/onlyoffice.key

 

After that I used the .conf file he provided and changed 433 ports to 4330, since I ude that as my 'Host Port 2'OfficeDocker.thumb.png.bb5e95ebfedb9695bce2582c480f2a8a.png

 

When I then restarted the Swag Docker, an error appeared1243348353_SwagErrorLog.png.2ac403d41da43b1e6311fa4d864d97d1.png

 

If I comment the ''include /config/nginx/proxy.conf;" out it doen't end in a forever loop and it acually starts up. 1876239056_conffile.png.de1dffb87944ddc3d0a06eeecfc45109.png 

 

When I use this .conf file, the error in nexcloud says:

Onlyoffice.thumb.png.4682d264b147ee7b91a3b8eea6a3fd03.png

Otherwise it's just a "Server not found" or something like that.

As far as my understanding goes, in the .conf file, it refers to it as a 'https', which means it point to it as a https? I think :s

 

I hope someone can help me, it's not critical, but it would be nice to get it up & running.
Thank you again for your great work :)

 

try proxy_pass to http instead of https

Link to comment

Hi all,

 

I installed Document Server and Community Server but the WebUI from Community Server is just showing "Please do not reload the page or shut down your computer." and in the logfile are these entries:

 

Quote

+ echo '##########################################################'
+ echo '######### Start container configuration ################'
+ echo '##########################################################'
+ SERVER_HOST=
+ APP_DIR=/var/www/onlyoffice
+ APP_DATA_DIR=/var/www/onlyoffice/Data
+ APP_INDEX_DIR=/var/www/onlyoffice/Data/Index/v7.9.0
##########################################################
######### Start container configuration ################
##########################################################
+ APP_PRIVATE_DATA_DIR=/var/www/onlyoffice/Data/.private
+ APP_SERVICES_DIR=/var/www/onlyoffice/Services
+ APP_SQL_DIR=/var/www/onlyoffice/Sql
+ APP_ROOT_DIR=/var/www/onlyoffice/WebStudio
+ APP_APISYSTEM_DIR=/var/www/onlyoffice/ApiSystem
+ APP_GOD_DIR=/etc/god/conf.d
+ APP_MONOSERVER_PATH=/lib/systemd/system/monoserve.service
+ APP_HYPERFASTCGI_PATH=/etc/hyperfastcgi/onlyoffice
+ APP_MONOSERVE_COUNT=1
+ APP_MODE=SERVER
+ APP_CRON_DIR=/etc/cron.d
+ APP_CRON_PATH=/etc/cron.d/onlyoffice
+ LICENSE_FILE_PATH=/var/www/onlyoffice/DocumentServerData/license.lic
++ ip -o -f inet addr show
++ awk '/scope global/ {print $4}'
++ head -1
+ DOCKER_APP_SUBNET=172.20.0.11/16
++ ip addr show eth0
++ awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
++ head -1
+ DOCKER_CONTAINER_IP=172.20.0.11
+ DOCKER_CONTAINER_NAME=onlyoffice-community-server
+ DOCKER_DOCUMENT_SERVER_CONTAINER_NAME=onlyoffice-document-server
+ DOCKER_ENABLED=true
+++ dirname /app/run-community-server.sh
++ cd /app
++ pwd
+ DIR=/app
+ NGINX_CONF_DIR=/etc/nginx/sites-enabled
++ cat /proc/cpuinfo
++ grep -i processor
++ awk '{print $1}'
++ wc -l
++ grep -i processor
+ CPU_PROCESSOR_COUNT=4
++ ulimit -n
+ NGINX_WORKER_CONNECTIONS=40960
+ SERVICE_SSO_AUTH_HOST_ADDR=
++ sudo sed -n '/"core.machinekey"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config
+ DEFAULT_APP_CORE_MACHINEKEY='Vskoproizvolny Salt par Chivreski'
+ IS_UPDATE=false
+ WORKSPACE_ENTERPRISE=false
+ '[' '!' -e /var/www/onlyoffice/Data/.private/machinekey ']'
++ head -n 1 /var/www/onlyoffice/Data/.private/machinekey
+ APP_CORE_MACHINEKEY='Vskoproizvolny Salt par Chivreski'
++ sudo sed -n '/"version.release-date"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config

+ RELEASE_DATE=20210602
++ CreateAuthToken 20210602 'Vskoproizvolny Salt par Chivreski'
++ local pkey=20210602
+++ echo -n 'Vskoproizvolny Salt par Chivreski'
++ local 'machinekey=Vskoproizvolny Salt par Chivreski'
++ local a=1
++ local LIMIT=10
++ '[' 1 -le 10 ']'
+++ date +%Y%m%d%H%M%S
++ local now=20210713123817
+++ echo -n -e '20210713123817\n20210602'
+++ openssl dgst -sha1 -binary -mac HMAC -macopt 'key:Vskoproizvolny Salt par Chivreski'
++ local 'authkey=*�֛`����׏NؽZ\M�'
+++ echo -n '*�֛`����׏NؽZ\M�'
+++ base64
++ authkey=KuTWm2Cxj8kaiwPXj07YvVpcTaM=
++ local 'result=ASC 20210602:20210713123817:KuTWm2Cxj8kaiwPXj07YvVpcTaM='
++ a=2
+++ echo '"ASC' '20210602:20210713123817:KuTWm2Cxj8kaiwPXj07YvVpcTaM="'
+++ grep ==
++ '[' -z '' ']'
++ echo 'ASC 20210602:20210713123817:KuTWm2Cxj8kaiwPXj07YvVpcTaM='

0
+ RELEASE_DATE_SIGN='ASC 20210602:20210713123817:KuTWm2Cxj8kaiwPXj07YvVpcTaM='
+ sed -i '/version.release-date.sign/s!value="[^"]*"!value=\"ASC 20210602:20210713123817:KuTWm2Cxj8kaiwPXj07YvVpcTaM=\"!g' /var/www/onlyoffice/WebStudio/web.appsettings.config

++ head -n 1 /var/www/onlyoffice/Data/.private/release_date
+ PREV_RELEASE_DATE=20210602
+ '[' 20210602 '!=' 20210602 ']'
+ chmod -R 444 /var/www/onlyoffice/Data/.private
+ cat /proc/1/cgroup
+ grep -qE 'docker|lxc|kubepods|libpod'
+ DOCKER_ENABLED=true
+ '[' '!' -d /etc/nginx/sites-enabled ']'
+ '[' '!' -d /var/www/onlyoffice/DocumentServerData ']'
+ NGINX_ROOT_DIR=/etc/nginx
+ VALID_IP_ADDRESS_REGEX='^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
+ LOG_DEBUG=
+ LOG_DIR=/var/log/onlyoffice/
+ APP_HTTPS=false
+ SSL_CERTIFICATES_DIR=/var/www/onlyoffice/Data/certs
+ SSL_CERTIFICATE_PATH=/var/www/onlyoffice/Data/certs/onlyoffice.crt
+ SSL_KEY_PATH=/var/www/onlyoffice/Data/certs/onlyoffice.key
+ SSL_CERTIFICATE_PATH_PFX=/var/www/onlyoffice/Data/certs/onlyoffice.pfx
+ SSL_CERTIFICATE_PATH_PFX_PWD=onlyoffice
+ SSL_DHPARAM_PATH=/var/www/onlyoffice/Data/certs/dhparam.pem
+ SSL_VERIFY_CLIENT=off
+ SSL_OCSP_CERTIFICATE_PATH=/var/www/onlyoffice/Data/certs/stapling.trusted.crt
+ CA_CERTIFICATES_PATH=/var/www/onlyoffice/Data/certs/ca.crt
+ APP_HTTPS_HSTS_ENABLED=true
+ APP_HTTPS_HSTS_MAXAGE=63072000
+ SYSCONF_TEMPLATES_DIR=/app/config
+ mkdir -p /app/config/nginx
+ SYSCONF_TOOLS_DIR=/app/assets/tools
+ APP_SERVICES_INTERNAL_HOST=
+ APP_SERVICES_EXTERNAL=false
+ DOCUMENT_SERVER_ENABLED=false
+ DOCUMENT_SERVER_JWT_ENABLED=false
+ DOCUMENT_SERVER_JWT_SECRET=
+ DOCUMENT_SERVER_JWT_HEADER=
+ DOCUMENT_SERVER_HOST=
+ DOCUMENT_SERVER_PROTOCOL=http
+ DOCUMENT_SERVER_API_URL=
+ DOCUMENT_SERVER_HOST_IP=
+ CONTROL_PANEL_ENABLED=false
+ MAIL_SERVER_ENABLED=false
+ MYSQL_SERVER_ROOT_PASSWORD=
+ MYSQL_SERVER_HOST=127.0.0.1
+ MYSQL_SERVER_PORT=3306
+ MYSQL_SERVER_DB_NAME=onlyoffice
+ MYSQL_SERVER_USER=root
+ MYSQL_SERVER_PASS=
+ MYSQL_SERVER_EXTERNAL=false
+ mkdir -p /var/www/onlyoffice/Data/certs/.well-known/acme-challenge
+ '[' 172.20.0.11/16 ']'
++ normalize_subnet 172.20.0.11/16
++ local 'IPRE=\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)'
++ IP=($(echo "$1" | sed -ne 's:^'"$IPRE"'/.*$:\1 \2 \3 \4:p'))
+++ echo 172.20.0.11/16
+++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/.*$:\1 \2 \3 \4:p'
++ local IP
++ MASK=($(echo "$1" | sed -ne 's:^[^/]*/'"$IPRE"'$:\1 \2 \3 \4:p'))
+++ echo 172.20.0.11/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
++ local MASK
++ '[' 0 -ne 4 ']'
++ BITCNT=($(echo "$1" | sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'))
+++ echo 172.20.0.11/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ local BITCNT
++ BITCNT=4294901760
++ (( I=0 ))
++ (( I<4 ))
++ MASK[$I]=255
++ (( I++ ))
++ (( I<4 ))
++ MASK[$I]=255
++ (( I++ ))
++ (( I<4 ))
++ MASK[$I]=0
++ (( I++ ))
++ (( I<4 ))
++ MASK[$I]=0
++ (( I++ ))
++ (( I<4 ))
++ NETWORK=()
++ local NETWORK
++ (( I=0 ))
++ (( I<4 ))
++ NETWORK[$I]=172
++ (( I++ ))
++ (( I<4 ))
++ NETWORK[$I]=20
++ (( I++ ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++ ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++ ))
++ (( I<4 ))
+++ echo 172.20.0.11/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ local IP_MASK=16
++ echo 172.20.0.0/16
+ DOCKER_APP_SUBNET=172.20.0.0/16
+ check_partnerdata
+ PARTNER_DATA_FILE=/var/www/onlyoffice/Data/json-data.txt
+ '[' -f /var/www/onlyoffice/Data/json-data.txt ']'
+ re='^[0-9]+$'
+ [[ 1 =~ ^[0-9]+$ ]]
+ '[' '!' -f /proc/net/if_inet6 ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-nginx.conf.template /etc/nginx/nginx.conf
+ sed 's/^worker_processes.*/worker_processes 4;/' -i /etc/nginx/nginx.conf
+ sed 's/worker_connections.*/worker_connections 40960;/' -i /etc/nginx/nginx.conf
+ cp /etc/nginx/includes/onlyoffice-communityserver-common-init.conf.template /etc/nginx/sites-enabled/onlyoffice
+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ sed '/{{SSL_CERTIFICATE_PATH}}/d' -i /etc/nginx/sites-enabled/onlyoffice
+ sed '/{{SSL_KEY_PATH}}/d' -i /etc/nginx/sites-enabled/onlyoffice
+ sed '/listen\s*443/d' -i /etc/nginx/sites-enabled/onlyoffice
+ rm -f '/etc/nginx/conf.d/*.conf'
+ service nginx restart
* Restarting nginx nginx
start-stop-daemon: warning: failed to kill 82: No such process

...done.
++ free -m
++ grep -oP '\d+'
++ head -n 1
+ TOTAL_MEMORY=31954
+ MEMORY_REQUIREMENTS=12228
+ '[' 31954 -gt 12228 ']'
+ grep -q '[-]Xms1g' /etc/elasticsearch/jvm.options
+ echo -Xms4g
+ grep -q '[-]Xmx1g' /etc/elasticsearch/jvm.options
+ echo -Xmx4g

'

'

'
+ '[' false == true ']'
+ '[' true == true ']'
+ '[' '' == onlyoffice-document-server ']'
+ '[' 127.0.0.1 '!=' localhost ']'
+ '[' 127.0.0.1 '!=' 127.0.0.1 ']'

'

'
+ MAIL_SERVER_API_PORT=8081
+ MAIL_SERVER_API_HOST=
+ MAIL_SERVER_DB_HOST=
+ MAIL_SERVER_DB_PORT=3306
+ MAIL_SERVER_DB_NAME=onlyoffice_mailserver
+ MAIL_SERVER_DB_USER=mail_admin
+ MAIL_SERVER_DB_PASS=Isadmin123

'

'
+ REDIS_SERVER_HOST=
+ REDIS_SERVER_CACHEPORT=6379
+ REDIS_SERVER_PASSWORD=
+ REDIS_SERVER_SSL=false
+ REDIS_SERVER_DATABASE=0
+ REDIS_SERVER_CONNECT_TIMEOUT=5000
+ REDIS_SERVER_EXTERNAL=false

'
+ '[' false == false ']'
+ '[' -e /etc/redis/redis.conf ']'
+ sed -i 's/bind .*/bind 127.0.0.1/g' /etc/redis/redis.conf
+ ELASTICSEARCH_SERVER_HOST=
+ ELASTICSEARCH_SERVER_HTTPPORT=9200
+ grep -q '<section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" />' /var/www/onlyoffice/WebStudio/Web.config

'
+ '[' false == false ']'
+ chown -R mysql:mysql /var/lib/mysql/
+ chmod -R 755 /var/lib/mysql/
+ '[' '!' -f /var/lib/mysql/ibdata1 ']'

'
+ myisamchk -q -r /var/lib/mysql/mysql/proc
myisamchk: error: File '/var/lib/mysql/mysql/proc' doesn't exist

+ true
+ systemctl enable mysql.service
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mysql
+ service mysql start
* Starting MySQL database server mysqld
...fail!
+ '[' '!' -f /var/lib/mysql/mysql_upgrade_info ']'
+ mysqladmin --silent ping -u root
+ grep -q 'mysqld is alive'
+ mysql_upgrade --password=
mysql_upgrade: [Warning] Using a password on the command line interface can be insecure.

mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

Upgrade process encountered error and will not continue.

+ service mysql restart
* Stopping MySQL database server mysqld
...done.
* Starting MySQL database server mysqld
...fail!
+ '[' -n '' ']'
++ grep password /etc/mysql/debian.cnf
++ head -1
++ sed 's/password\s*=\s*//'
++ tr -d '[[:space:]]'
+ DEBIAN_SYS_MAINT_PASS=KjnNfQ7Pxo3IG3uz
+ mysql_scalar_exec 'GRANT ALL PRIVILEGES ON *.* TO '\''debian-sys-maint'\''@'\''localhost'\'' IDENTIFIED BY '\''KjnNfQ7Pxo3IG3uz'\'''
+ local queryResult=
+ '[' '' == opt_ignore_db_name ']'
++ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice -e 'GRANT ALL PRIVILEGES ON *.* TO '\''debian-sys-maint'\''@'\''localhost'\'' IDENTIFIED BY '\''KjnNfQ7Pxo3IG3uz'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.

ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)


+ queryResult=
+ echo
+ mysql_check_connection

'
+ mysqladmin ping -h 127.0.0.1 -P 3306 -u root --password= --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.


1
+ mysqladmin ping -h 127.0.0.1 -P 3306 -u root --password= --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.


1

 

What I'm doing wrong? Is there any guide for Document Server / Community Server Docker ?


Thank you and Regards,

Luk

  • Like 1
Link to comment
2 hours ago, Siwat2545 said:

try proxy_pass to http instead of https

It still enters a forever-loop with the log saying;
"nginx: [emerg] "proxy_redirect" directive is duplicate in /config/nginx/proxy-confs/onlyoffice.subdomain.conf:19"

over and over again.

If I comment the line out again & change the https to http;1164324113_conffile.png.57ebdd943325b2bfe73b6444e9919643.png

and change the address to http;Onlyoffice.thumb.png.a2bca7a56254276b46985fa00f19b37f.png

I get another error now:

Error when trying to connect (Mixed Active Content is not allowed. HTTPS address for Document Server is required.)

 

Edited by Michelle Bausager
Link to comment
2 hours ago, Michelle Bausager said:

It still enters a forever-loop with the log saying;
"nginx: [emerg] "proxy_redirect" directive is duplicate in /config/nginx/proxy-confs/onlyoffice.subdomain.conf:19"

over and over again.

If I comment the line out again & change the https to http;1164324113_conffile.png.57ebdd943325b2bfe73b6444e9919643.png

and change the address to http;Onlyoffice.thumb.png.a2bca7a56254276b46985fa00f19b37f.png

I get another error now:

Error when trying to connect (Mixed Active Content is not allowed. HTTPS address for Document Server is required.)

 

only change to http in nginx configuration.
Here's what it's doing, nextcloud make a https request to nginx, nginx forward that to document server with http. so nextcloud still see the server as https.

Link to comment
26 minutes ago, Siwat2545 said:

only change to http in nginx configuration.
Here's what it's doing, nextcloud make a https request to nginx, nginx forward that to document server with http. so nextcloud still see the server as https.

If I change it back to https in nextcloud, when it's back to the old error again.Onlyoffice.thumb.png.502b32ab49b4ddd4df9b3982b8c4ccc6.png

& the original config still ends in a forever loop :E

 

 

  • Like 1
Link to comment
20 hours ago, Siwat2545 said:

what happens when you visit the url using chrome?

Hmm I get into, what I presume is SWAGs default page. URL.png.7705f8158055c14c7c32c71fd3ad9190.png

Again I'm not sure if the config file is configured correct, but in my lack of wisedom, I have a hard time finding resources about how it should be configered. I don't know if that's your cup of tea, @Siwat2545 or if I should post somthing in the SWAG community? As I stated before #NoStress :)

Thank you again for your work :)

Link to comment
20 hours ago, Michelle Bausager said:

Hmm I get into, what I presume is SWAGs default page. URL.png.7705f8158055c14c7c32c71fd3ad9190.png

Again I'm not sure if the config file is configured correct, but in my lack of wisedom, I have a hard time finding resources about how it should be configered. I don't know if that's your cup of tea, @Siwat2545 or if I should post somthing in the SWAG community? As I stated before #NoStress :)

Thank you again for your work :)

That should not be what show up. It should be the "Document Server is running" page. I don't use SWAG so I can't help you there so you should ask in the proxy's support thread.

  • Thanks 1
Link to comment
9 hours ago, Siwat2545 said:

That should not be what show up. It should be the "Document Server is running" page. I don't use SWAG so I can't help you there so you should ask in the proxy's support thread.

Okay :)

I shifted to 'NginxProxyManager' and now the url points to:

DS.thumb.png.03cf7de5b0b77e33228cac2b84416f30.png

 

But I still get a 'Error when trying to connect (Bad healthcheck status)✖'

Edited by Michelle Bausager
New infomation
Link to comment
On 7/15/2021 at 1:11 PM, Michelle Bausager said:

Okay :)

I shifted to 'NginxProxyManager' and now the url points to:

DS.thumb.png.03cf7de5b0b77e33228cac2b84416f30.png

 

But I still get a 'Error when trying to connect (Bad healthcheck status)✖'

 

Would you mind posting the config from NPM?  I'm using SWAG and am having the same issues, but cannot get the site to show through using the sub domain.

Link to comment

I experienced the same error in my logs and I found a fix in at this thread: 

https://forums.unraid.net/topic/111212-swag-zertifikat-l%C3%A4uft-aus/

that sorted the issue for me. The fix was for me to comment out line 19 in the  /config/nginx/proxy-confs/onlyoffice.subdomain.conf and after a restart all seems fine again.

Ps. use chrome to translate the thread into English. Ds.

Good luck. 🙂

Edited by mr2web
  • Thanks 1
Link to comment
  • 4 weeks later...
On 7/15/2021 at 12:11 PM, Michelle Bausager said:

Okay :)

I shifted to 'NginxProxyManager' and now the url points to:

DS.thumb.png.03cf7de5b0b77e33228cac2b84416f30.png

 

But I still get a 'Error when trying to connect (Bad healthcheck status)✖'

This is the same thing that's happening to me, and I'm using NginxProxyManager too. Any workaround to getting OnlyOffice working? Thanks.

Link to comment
  • 2 weeks later...

Attention to people using NGINXPageSpeed.

The latest container update will break your previous installation, to fix it, change the line "fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;" "to fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;" in the default file in site-confs folder.

This is due to the upgrade from PHP7.2 to PHP7.3

Link to comment
12 hours ago, SpyKiIIer said:

When I attempt to use H265Size, it is looking for an init.sh file in the output directory. What should that be?

 

chmod: cannot access '/mnt/user/temp/output/init.sh': No such file or directory

 

If that directory exist, the container should automatically create init.sh in that directory for you, mind you that it does not automatically create the folder if it does not exist.

Link to comment
On 8/27/2021 at 6:18 AM, SpyKiIIer said:

When I attempt to use H265Size, it is looking for an init.sh file in the output directory. What should that be?

 

chmod: cannot access '/mnt/user/temp/output/init.sh': No such file or directory

 

 

have the same problem - the directory is created but the container will not create the init.sh on its own. Any ideas? 

Link to comment
  • 2 weeks later...

cloudflare "bot fighting mode" is blocking my documentserver

 

i tried adding a firewall rule on cloudflare

(http.host eq "documentserver.mydomain.com") then allow.

 

does not seem to be working, eventually DS gets blocked.

any help be appreciated. 

Edited by Tolete
Link to comment

Hi,

 

Could use a little help getting homebridge to work on a custom network type please.
 

When I first installed homebridge I used the default Host network, got the UI up, logged in, and tried adding the homebridge to my Home app. It didn't work - it appeared to timeout.

 

I'm guessing this might be because my Apple TV, and many other devices are on an IoT VLAN (including the Sonos Play:3 that I want to use homebridge for).

 

I have a network setup that some dockers can use to be on the same vlan. This is br0.3.

It works fine with the dockers I have tried it on, but when I try and switch the homebridge to this network it appears to do nothing. I get no IP in the docker list, no logs. If I delete the homebridge folder in appdata it gets recreated but no config.json created.

 

Any ideas what's going on?

Has anyone got it running on a different network type other than host?

 

Cheers,

Pacman

 

Edit: If pick br0 and fix the ip to something in the main LAN network I can access the UI.

Still no dice on br0.3 though, even when fixing IP.

Edited by SudoPacman
Link to comment
On 8/28/2021 at 8:18 AM, Siwat2545 said:

Ah, if that's the case, something is wrong, you could download init.sh here https://github.com/SiwatINC/h265ize_unraid/blob/master/init.sh

and paste it into your output directory

That worked for me!

Now getting this error when I attempt to use it: Upconvert skipped. mkvextract binary could not be located. Make sure you have it installed. Any chance this could be added to the docker?

Edited by SpyKiIIer
new error
Link to comment
On 9/8/2021 at 11:07 PM, SpyKiIIer said:

That worked for me!

Now getting this error when I attempt to use it: Upconvert skipped. mkvextract binary could not be located. Make sure you have it installed. Any chance this could be added to the docker?

Added

 

On 9/13/2021 at 1:40 AM, Magic815 said:

I think they're might be an issue with your Adguard Home template. You have the WebUI defined as port 3000 here:

image.thumb.png.bd0f93a31c50bbd0412c6b0c892f83a1.png

 

But then in advanced mode, the WebUI is set to port 6052:

image.thumb.png.9f9a4e616d9f13c811eb16696803d6ef.png

 

Shouldn't they both be set to 3000?

Fixed

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.