Siwat2545

Members
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Siwat2545

  1. On 8/23/2023 at 9:27 AM, Runaround said:

    Any chance we can get a node.js update for the homebridge-gui docker? I have several plugins saying incompatible engine now. There are a few other warn lines.

     

    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE   package: '[email protected]',
    npm WARN EBADENGINE   required: { homebridge: '>=1.6.0', node: '>=18' },
    npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE   package: '[email protected]',
    npm WARN EBADENGINE   required: { node: '>=18' },
    npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
    npm WARN EBADENGINE }
    npm WARN deprecated [email protected]: this library is no longer supported
    npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
    npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

    Hi! I just updated to NodeJS 18 and Ubuntu 22.04 LTS

     

     

  2. On 10/25/2022 at 12:49 AM, teletom said:

    Hi. Sorry I don't know, if this is the right place to ask... 

     

    My AdGuard-Docker does not start anymore. I didn't change anything (I think),just a reboot.

     

    It shows a fatal Error in Log from Docker: 

    couldn't start forwarding DNS server: listening to udp socket: listen udp 0.0.0.0:53: bind: address already in use

     

    My AdGurad Settings:

    image.thumb.png.c7dbc61d8aa80fea57843259d6d796be.png

    My Docker Allocations are: 

    image.thumb.png.e29d24467cf695d0cac53387e2f2d4d8.png

     

    I guess is has something to do with 0.0.0.0 as IP... but I have no idea where to start fixing. 

     

     

    Thanks for your help!

     

    Tom

    You need to use network br0 for the container and set a static IP address

    • Thanks 1
  3. On 10/13/2022 at 2:21 AM, capnJiP said:

    Hi everyone,

     

    I just walked through this and I thought I would consolidate the notes here: Here is the TLDR to fix the OpenOffice issue.

     

    1) Edit the OnlyOffice Docker to add a Variable:

    image.png.5ae633252e2e55de90ba6f51ce66aaeb.png

     

    The "value" is the password you choose. Just hammer the keyboard, it'll be fine, but copy it out, you'll need to paste it into Next Cloud later on.

     

    2) Once the docker has been re-created, click on the logs and wait until the ds:converter has started. It will take a while.

    image.png.d30c9ffe79da718ba94a3d91568b0a0e.png

     

    3) Now open up nextcloud and traverse to the OnlyOffice Settings page. Here you will see the Secret Key field underneath your OnlyOffice Server URL. Paste in the key you created in step 1 and hit save and you should be back in business.

    image.png.d23b8748ce3208135b2bd35d788dc7ee.png

     

     

    On 10/11/2022 at 1:59 AM, deadnote said:

    Hi @Napryc

    After each reboot, OnlyofficeDocumentServer changes the secret key. Do you know how can I set a token for good ?
    Thanks

    The container template has now been updated to require secret key by default. :) 

  4. On 8/22/2022 at 1:47 PM, profzelonka said:

    Humhub docker is broken.

    "Error: The assets directory is not writable by the PHP process."

    The files are being made as root:root, I'm assuming unraid needs it to be nobody:users but after chowning them all nothing loads without error. 😕

    Also, what kind of database does humhub even use? There's no settings to be set?

    Alright, There seems to be something wrong with the build pipeline, it is fixed now.

    For the database, refer to https://github.com/SiwatINC/humhub

    • Thanks 1
  5. 24 minutes ago, profzelonka said:

    Humhub docker is broken.

    "Error: The assets directory is not writable by the PHP process."

    The files are being made as root:root, I'm assuming unraid needs it to be nobody:users but after chowning them all nothing loads without error. 😕

    Also, what kind of database does humhub even use? There's no settings to be set?

    Hi, Thanks for reporting this, I'll look into it later.

    • Like 1
  6. Simply allow a docker container to connect to multiple network, eg. 192.168.0.0/24 and 192.168.2.0/24

    This will allow some container that need to be on the same broadcast domain as an isolated network to function properly.

    Currently we can do this using post arguments and "docker network connect" but this solution are unreliably at best, every time the array start up, this solution will break that container's auto start functionality and I need to recreate the container manually every reboot.

    A proper GUI option is much appreciated.

    • Upvote 3
  7. 1 minute ago, EricM said:

    Hei there,

     

    I am a huge fan of Siwats work, but I do have a problem with his onyoffice document server.

     

    I had chvbs container for quiet a while, but since a few weeks it doesnt work anymore and I always get the error that this version is not compatible with nextcloud.

     

    So I decided to change to Siwats onlyoffice document server. I installed it and copied the files from swag to /mnt/user/appdata/onlyofficeds/Data/certs and renamed them to onlyoffice.cert and onlyoffice.key. Also I added the reverse proxy conf file to the swag appdata. So basically I did everything like I did it with chvbs document server.

     

    But when I set up chvbs container like this, I can access the onlyoffice document server though  a webbrowser with my domain and it says that only office document server is running, but as mentioned I cant connect it to my nextcloud cause the version is not compatible.

     

    Problem with Siwats container is, I cant access the domain of my document server, I always get an 502 Bad Gateway error. Same thing happens when I try to connect the document server in my nextcloud.

     

    I just dont get whats wrong, and I hope you can help me.

     

    Thank you very much,

    Eric

     

    Ps. Pictures of my Settings are attached.

     

    My log files of the document server:

    * Starting PostgreSQL 12 database server
       ...done.
     * Starting RabbitMQ Messaging Server rabbitmq-server
       ...done.
    psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/removetbl.sql:4: NOTICE:  table "doc_callbacks" does not exist, skipping
    psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/removetbl.sql:5: NOTICE:  table "doc_changes" does not exist, skipping
    psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/removetbl.sql:6: NOTICE:  table "task_result" does not exist, skipping
    psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/removetbl.sql:9: NOTICE:  function merge_db(pg_catalog.varchar,int2,int8,pg_catalog.timestamp,pg_catalog.varchar,int8,int8) does not exist, skipping
    psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/removetbl.sql:10: NOTICE:  function merge_db(pg_catalog.varchar,int2,int4,pg_catalog.timestamp,pg_catalog.varchar,int4,int4) does not exist, skipping
    psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/removetbl.sql:11: NOTICE:  function merge_db(pg_catalog.varchar,int2,int4,pg_catalog.timestamp,int4,int4,text,text) does not exist, skipping
    Starting supervisor: supervisord.
     * Starting periodic command scheduler cron
       ...done.
     * Starting nginx nginx
       ...done.
    Generating AllFonts.js, please wait...Done
    Generating presentation themes, please wait...Done
    ds:docservice: stopped
    ds:docservice: started
    ds:converter: stopped
    ds:converter: started
     * Reloading nginx configuration nginx
       ...done.
    ==> /var/log/onlyoffice/documentserver/converter/err.log <==
    
    ==> /var/log/onlyoffice/documentserver/converter/out.log <==
    [2022-04-17T16:24:08.695] [WARN] nodeJS - update cluster with 1 workers
    [2022-04-17T16:24:32.824] [WARN] nodeJS - update cluster with 1 workers
    [2022-04-17T16:24:32.844] [WARN] nodeJS - worker 884 started.
    [2022-04-17T16:24:32.884] [WARN] nodeJS - update cluster with 1 workers
    [2022-04-17T16:37:36.104] [WARN] nodeJS - update cluster with 1 workers
    [2022-04-17T16:37:36.110] [WARN] nodeJS - worker 851 started.
    [2022-04-17T16:37:36.116] [WARN] nodeJS - update cluster with 1 workers
    [2022-04-17T16:38:32.289] [WARN] nodeJS - update cluster with 1 workers
    [2022-04-17T16:38:32.299] [WARN] nodeJS - worker 961 started.
    [2022-04-17T16:38:32.304] [WARN] nodeJS - update cluster with 1 workers
    
    ==> /var/log/onlyoffice/documentserver/docservice/err.log <==
    
    ==> /var/log/onlyoffice/documentserver/docservice/out.log <==
    [2022-04-17T16:24:10.097] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode
    [2022-04-17T16:24:31.097] [WARN] nodeJS - Express server starting...
    [2022-04-17T16:24:31.101] [WARN] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
    [2022-04-17T16:24:31.158] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode
    [2022-04-17T16:37:37.748] [WARN] nodeJS - Express server starting...
    [2022-04-17T16:37:37.752] [WARN] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
    [2022-04-17T16:37:37.905] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 7.0.1. Build: 37
    [2022-04-17T16:38:30.818] [WARN] nodeJS - Express server starting...
    [2022-04-17T16:38:30.819] [WARN] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
    [2022-04-17T16:38:30.873] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 7.0.1. Build: 37
    
    ==> /var/log/onlyoffice/documentserver/metrics/err.log <==
    
    ==> /var/log/onlyoffice/documentserver/metrics/out.log <==
    17 Apr 16:16:15 - [833] reading config file: ./config/config.js
    17 Apr 16:16:15 - server is up INFO
    17 Apr 16:16:45 - [758] reading config file: ./config/config.js
    17 Apr 16:16:45 - server is up INFO
    17 Apr 16:18:59 - [810] reading config file: ./config/config.js
    17 Apr 16:18:59 - server is up INFO
    17 Apr 16:24:07 - [787] reading config file: ./config/config.js
    17 Apr 16:24:07 - server is up INFO
    17 Apr 16:37:36 - [808] reading config file: ./config/config.js
    17 Apr 16:37:36 - server is up INFO
    
    ==> /var/log/onlyoffice/documentserver/nginx.error.log <==
    
    ==> /var/log/onlyoffice/documentserver/spellchecker/err.log <==
    
    ==> /var/log/onlyoffice/documentserver/spellchecker/out.log <==
    [2022-04-17T16:16:46.418] [WARN] nodeJS - Express server starting...
    [2022-04-17T16:16:46.603] [WARN] nodeJS - Express server listening on port 8080 in production-linux mode
    [2022-04-17T16:18:59.984] [WARN] nodeJS - start cluster with 1 workers
    [2022-04-17T16:19:00.021] [WARN] nodeJS - worker 838 started.
    [2022-04-17T16:19:01.116] [WARN] nodeJS - Express server starting...
    [2022-04-17T16:19:01.261] [WARN] nodeJS - Express server listening on port 8080 in production-linux mode
    [2022-04-17T16:24:08.484] [WARN] nodeJS - start cluster with 1 workers
    [2022-04-17T16:24:08.496] [WARN] nodeJS - worker 815 started.
    [2022-04-17T16:24:09.579] [WARN] nodeJS - Express server starting...
    [2022-04-17T16:24:09.701] [WARN] nodeJS - Express server listening on port 8080 in production-linux mode
    
    ==> /var/log/onlyoffice/documentserver/metrics/out.log <==
    Flushing stats at  Sun Apr 17 2022 16:47:36 GMT+0000 (Coordinated Universal Time)
    {
      counters: {
        'statsd.bad_lines_seen': 0,
        'statsd.packets_received': 0,
        'statsd.metrics_received': 0
      },
      timers: {},
      gauges: {},
      timer_data: {},
      counter_rates: {
        'statsd.bad_lines_seen': 0,
        'statsd.packets_received': 0,
        'statsd.metrics_received': 0
      },
      sets: {},
      pctThreshold: [ 90 ]
    }

     

    829888039_DockerSettings.PNG.55b69c8170177adb4420c4dfa40c5a15.PNG

    1217616309_SwagConfig.PNG.37973958c83f22e210c831596a3aca50.PNG

    Hi, I personally don't use NGINX as my reverse proxy, but here's an example config of someone else who got it working.

     

    • Thanks 1
  8. 22 hours ago, blaine07 said:

    Pardon my idiocracy...

     

    Using AdGuard container - When turning on encryption it has a spot for "Set certificate file path." Is there a way to write certs with SWAG container and point AdGuard to where SWAG stores certs so that they're automatically always up to date? I just don't know what the URL structure would be to go from AdGuard container back to SWAG where certs are kept. 

     

    Any advice?

    I don't use SWAG but I'm pretty sure that you can bind the swag's cert directory to something like /cert in the adguard container and access it from there

    • Like 1
  9. 2 minutes ago, MrDecepticon said:

    I tried setting it to br0 which does get the docker running, but I could not access the web ui - making sure to set a static IP available on my network first!

    can you try port 443(https://) /80 (http://) /3000?, try all of them.

  10. 37 minutes ago, zaker said:

    Homebridge is in need of an update. 2018? that's quite a while back.
     

    I dumbly updated it via the GUI, which ain't gonna work.  And now it doesn't boot.
    [12/19/2021, 10:11:45 PM] Failed to save cached accessories to disk: EROFS: read-only file system, open '/root/.homebridge/accessories/cachedAccessories'
    /bin/sh: 1: cannot create /root/.homebridge/log.txt: Read-only file system

    npm WARN notsup Unsupported engine for [email protected]: wanted: {"homebridge":"^1.3.8","node":"^16.13.1"} (current: {"node":"12.20.1","npm":"6.14.10"})
    npm WARN notsup Not compatible with your version of node/npm: [email protected]

    There seems to be a problem with my jenkins pipeline, should be fixed now.

  11. 3 minutes ago, J_Hizzal said:

    I'm sorry but this is probably a dumb question; how do I do a force update? I edited the template to add :latest at the end of the Repository field, but not sure if that would accomplish a force update (issue still exists with this anyways).

    you need to turn on advance view, if that still doesn't work, delete the container and it's data directory (/mnt/user/appdata/onlyofficeds) and start over

  12. 3 minutes ago, J_Hizzal said:

    Hey all, I'm seeing the following errors related to Postgresql for OnlyOfficeDocumentServer. Any idea on what's going on here?

     

    mv: cannot stat '/etc/postgresql/12/main/postgresql.conf': No such file or directory
    mv: cannot stat '/etc/postgresql/12/main/pg_hba.conf': No such file or directory
    Creating new PostgreSQL cluster 12/main ...
    /usr/lib/postgresql/12/bin/initdb -D /var/lib/postgresql/12/main --auth-local peer --auth-host md5
    The files belonging to this database system will be owned by user "postgres".
    This user must also own the server process.
    
    The database cluster will be initialized with locale "en_US.UTF-8".
    The default database encoding has accordingly been set to "UTF8".
    The default text search configuration will be set to "english".
    
    Data page checksums are disabled.
    
    fixing permissions on existing directory /var/lib/postgresql/12/main ... ok
    creating subdirectories ... ok
    selecting dynamic shared memory implementation ... posix
    selecting default max_connections ... 100
    selecting default shared_buffers ... 128MB
    selecting default time zone ... America/Chicago
    creating configuration files ... ok
    2021-10-29 00:54:22.401 CDT [132] LOG: could not link file "pg_wal/xlogtemp.132" to "pg_wal/000000010000000000000001": Function not implemented
    2021-10-29 00:54:22.404 CDT [132] FATAL: could not open file "pg_wal/000000010000000000000001": No such file or directory
    child process exited with exit code 1
    initdb: removing contents of data directory "/var/lib/postgresql/12/main"
    Error: initdb failed
    running bootstrap script ... * No PostgreSQL clusters exist; see "man pg_createcluster"
    * Starting RabbitMQ Messaging Server rabbitmq-server
    ...done.
    psql: error: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    psql: error: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    psql: error: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    psql: error: could not connect to server: Connection refused
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?
    could not connect to server: Cannot assign requested address
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
    Waiting for connection to the localhost host on port 5432
    ...done.
    psql: error: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    psql: error: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    psql: error: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    psql: error: could not connect to server: Connection refused
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?
    could not connect to server: Cannot assign requested address
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
    Waiting for connection to the localhost host on port 5432

     

    Weird, can you try force updating the container and set networking to br0?

  13. 1 hour ago, ab5g said:

    Hi Siwat2545 - I am on Unraid 6.10-RC1 and I get the following error when the container starts. 

    It is easily fixed by chmod 640 etc/ssl/private/ssl-cert-snakeoil.key

     

    Can you incorporate this into the container image please ?

     

     

    2021-10-04 04:10:50.135 UTC [135] FATAL: private key file "/etc/ssl/private/ssl-cert-snakeoil.key" has group or world access 
    2021-10-04 04:10:50.135 UTC [135] DETAIL: File must have permissions u=rw (0600) or less if owned by the database user, or permissions u=rw,g=r (0640) or less if owned by root. 
    2021-10-04 04:10:50.143 UTC [135] LOG: database system is shut down pg_ctl: could not start server Examine the log output. ...fail! * Starting RabbitMQ Messaging Server rabbitmq-server ...done. Waiting for connection to the localhost host on port 5432 
    Waiting for connection to the localhost host on port 5432 
    Waiting for connection to the localhost host on port 5432 
    Waiting for connection to the localhost host on port 5432 
    Waiting for connection to the localhost host on port 5432 
    Waiting for connection to the localhost host on port 5432 

     

    Which container are you referring to?

  14. 5 hours ago, HHUBS said:

    I installed the ONLYOFFICE Document Server. I can access it with http on local but I can't access it using https on port 4430. I want to add this on nextcloud and it doesn't let me add using http on the nextcloud settings. Also tried to check "Disable certificate verification" but no avail.

     

    image.thumb.png.5dbb302a9a3d6fa3a462d87189978b17.png

     

    image.thumb.png.5e17a03825aa5cc9d37145ef979bb9e7.png

    Did you install the ssl certificate?

  15. 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

  16. 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.

  17. 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

  18. 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