shawnngtq
Members-
Posts
49 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Everything posted by shawnngtq
-
Wireshark only show the local traffic, not external traffic. When I go to these domains with different internet, instead of `Your connection is not private / Warning: Potential Security Risk Ahead`, the browser shows `The connection has timed out` Perhaps the server's firewall block external traffic?
-
Use NPM to test server reachability. *.domainname.com: There is a server found at this domain but it returned an unexpected status code Invalid domain or IP. Is it the NPM server? Please make sure your domain points to the IP where your NPM instance is running. domainname.com: There is a server found at this domain but it returned an unexpected status code Invalid domain or IP. Is it the NPM server? Please make sure your domain points to the IP where your NPM instance is running.
-
Hi Guys, UnRaid 6.12.1. Everything is fine yesterday night. Until I remove wireguard server-to-server tunnel. I deleted the external EC2 wireguard that routes all the traffic to my UnRaid, to save AWS VPS cost. The problem now is that all my internet facing apps exposed by Nginx Proxy Manager can't be reached. Firefox: SEC_ERROR_UNKNOWN_ISSUER Google Chrome: NET::ERR_CERT_AUTHORITY_INVALID Here is what I tried, from upstream to downstream 0. Restart Unraid -> no imppact 1. AWS route 53 -> I confirmed that the domain A record is pointed to my UnRaid public ipv4 address. Issue not here 2. UnRaid firewall -> maybe the issue is here? 3. Nginx Proxy Manager (NPM) -> I deleted all the certs and re-provisioned, no impact. I tried another NPM fresh installation, still same. I don't see any logs generated when I go to the site. Does this imply that the request never hit here? 4. Fail2Ban container -> stop this container, no impact 5. ddns-route53 container -> stop this container, no impact 6. VPN manager -> disable this, no impact
-
I am using unraid 6.12.1, elasticsearch:8.8.1; Followed @lucahammer, @buyenne suggestions, added `TAKE_FILE_OWNERSHIP` and `xpack.security.enabled`; But it don't work for me ... { "@timestamp": "2023-08-22T08:52:24.691Z", "log.level": "ERROR", "message": "fatal exception while booting Elasticsearch", "ecs.version": "1.2.0", "service.name": "ES_ECS", "event.dataset": "elasticsearch.server", "process.thread.name": "main", "log.logger": "org.elasticsearch.bootstrap.Elasticsearch", "elasticsearch.node.name": "0c2a2d6fb5b6", "elasticsearch.cluster.name": "docker-cluster", "error.type": "java.lang.IllegalStateException", "error.message": "failed to obtain node locks, tried [/usr/share/elasticsearch/data]; maybe these locations are not writable or multiple nodes were started on the same data path?", "error.stack_trace": "java.lang.IllegalStateException: failed to obtain node locks, tried [/usr/share/elasticsearch/data]; maybe these locations are not writable or multiple nodes were started on the same data path?\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:291)\n\tat [email protected]/org.elasticsearch.node.Node.<init>(Node.java:483)\n\tat [email protected]/org.elasticsearch.node.Node.<init>(Node.java:327)\n\tat [email protected]/org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:216)\n\tat [email protected]/org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:216)\n\tat [email protected]/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67)\nCaused by: java.io.IOException: failed to obtain lock on /usr/share/elasticsearch/data\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:236)\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:204)\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:283)\n\t... 5 more\nCaused by: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/data/node.lock\n\tat java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)\n\tat java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)\n\tat java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)\n\tat java.base/sun.nio.fs.UnixPath.toRealPath(UnixPath.java:833)\n\tat [email protected]/org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:94)\n\tat [email protected]/org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:43)\n\tat [email protected]/org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:44)\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:229)\n\t... 7 more\n\tSuppressed: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/node.lock\n\t\tat java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)\n\t\tat java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)\n\t\tat java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)\n\t\tat java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:261)\n\t\tat java.base/java.nio.file.Files.newByteChannel(Files.java:379)\n\t\tat java.base/java.nio.file.Files.createFile(Files.java:657)\n\t\tat [email protected]/org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:84)\n\t\t... 10 more\n" } Error seems to suggest file permission issue. It worked after I change the ownership and permission for the data mount chown -R nobody:users elasticsearch/ chmod 777 -R elasticsearch/
-
[Support] selfhosters.net's Template Repository
shawnngtq replied to Roxedus's topic in Docker Containers
Regarding the prometheus docker. How do we add `--web.enable-lifecycle` flag? If I do it using ADVANCED VIEW > Extra Parameters -> crash container ADVANCED VIEW > Post Arguments -> run, but it will say can't find prometheus.yml -
Anyone config this to use minio as storage backend? Online guide shows that we need to update `config.yml`, but we can't do that if we use unraid docker GUI. https://github.com/distribution/distribution/issues/3493
-
[Support] Linuxserver.io - Nextcloud
shawnngtq replied to linuxserver.io's topic in Docker Containers
Hi, I recently updated from v23.0.0 to v25.0.1, and my webGUI showed internal server error. Does anyone has solution to this? I already raised an official issue but no response yet, for complete details: https://github.com/linuxserver/docker-nextcloud/issues/277 I think it's due to nginx, but not sure how to resolve 2022/11/26 23:53:56 [error] 263#263: *5 FastCGI sent in stderr: "PHP message: {"reqId":"mD6fa0vltJXldEalQPUy","level":3,"time":"2022-11-26T15:53:56+00:00","remoteAddr":"xxx.xx.xx.xxx","user":"admin","app":"PHP","method":"GET","url":"/apps/dashboard/","message":"file_put_contents(/data/appdata_oczrczf8fi1o/js/core/merged-template-prepend.js): Failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#311","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"Error","Message":"file_put_contents(/data/appdata_oczrczf8fi1o/js/core/merged-template-prepend.js): Failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#311","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Local.php","line":311,"function":"file_put_contents"},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":1179,"function"...PHP message: {"reqId":"mD6fa0vltJXldEalQPUy","level":3,"time":"2022-11-26T15:53:56+00:00","remoteAddr":"xxx.xx.xx.xxx","user":"admin","app":"index","method":"GET","url":"/apps/dashboard/","message":"file_put_contents failed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"file_put_contents failed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":92,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":194,"function":"putContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":97,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSR 2022/11/26 23:53:56 [error] 263#263: *5 FastCGI sent in stderr: "0vltJXldEalQPUy","level":3,"time":"2022-11-26T15:53:56+00:00","remoteAddr":"xxx.xx.xx.xxx","user":"admin","app":"core","method":"GET","url":"/apps/dashboard/","message":"file_put_contents failed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"file_put_contents failed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":92,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":194,"function":"putContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":97,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSResourceLocator.php","line":125,"function":"pro" while reading response header from upstream, client: xxx.xx.xx.xxx, server: _, request: "GET /apps/dashboard/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "myhostname.com" 2022/11/26 23:53:56 [error] 263#263: *5 FastCGI sent in stderr: "PHP message: {"reqId":"mD6fa0vltJXldEalQPUy","level":3,"time":"2022-11-26T15:53:56+00:00","remoteAddr":"xxx.xx.xx.xxx","user":"admin","app":"PHP","method":"GET","url":"/apps/dashboard/","message":"fopen(/data/nextcloud.log): Failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","data":{"app":"PHP"}}" while reading upstream, client: xxx.xx.xx.xxx, server: _, request: "GET /apps/dashboard/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "myhostname.com" -
While I look forward to k8s, I suspect the odds are not good. We may have better chance setting up a new k8s bare-metal server, and let it be managed by unraid k8s if possible. Let UnRaid do what it does best: NAS. I find that even the VMs are somewhat painful. Say windows VM (can't upgrade 10 -> 11 directly, lack bluetooth support, gpu passthrough, xml vs UI etc)
-
I verified this works. Thanks @sreknob! That said, I worry the day using directIO will blow up unexpectedly, or worse, data corruption. Hopefully we will have actual fix that uses shfs 🤞
-
👍, detailed guide. That said. I really want to see unraid adding official kubernetes support like what they did for docker. So that k8s is independent on VM.
-
👍🤩. I would like to see this feature too. Prefer use kubernetes over docker compose.
-
No, need @cheesemarathon's help on this. Believe this is some filesystem type issue?
-
Using unraid 6.10.3, with latest minio, facing this error API: SYSTEM() Time: 09:50:54 UTC 09/02/2022 DeploymentID: 37851195-54a1-4973-924d-f412403d98ea Error: write /data/.minio.sys/tmp/e6ec6910-320c-4b7a-9e3b-207675712ad7/xl.meta: invalid argument (*fs.PathError) 6: internal/logger/logger.go:259:logger.LogIf() 5: cmd/storage-errors.go:171:cmd.osErrToFileErr() 4: cmd/xl-storage.go:2380:cmd.(*xlStorage).RenameData() 3: cmd/xl-storage-disk-id-check.go:373:cmd.(*xlStorageDiskIDCheck).RenameData() 2: cmd/erasure-object.go:721:cmd.renameData.func1() 1: internal/sync/errgroup/errgroup.go:123:errgroup.(*Group).Go.func1() Waiting for all MinIO sub-systems to be initialized.. possible cause (Unable to initialize config system: migrateConfigToMinioSys: Storage resources are insufficient for the write operation .minio.sys/config/config.json) Exiting on signal: TERMINATED ERROR Server startup canceled upon user request: Initializing sub-systems stopped gracefully context canceled
-
I noticed that the reason VM page hang is because my plex docker setting includes the gpu even though GPU is not in used that time. The moment I shut plex down, my VM page works => this is the root cause As for the force stop VM via terminal, I still don't have a solution that doesn't include system reboot / shutdown. Maybe as of 6.9.2, it's not possible. But I do hope this can be a future feature. Afterall slackware OS is still Linux-based, terminal should be able to do everything, considering that the default terminal user is already root user.
-
Hi, sometimes when I do gpu passthrough and start the VM, it will cause the VM tab page to hang. 1. I am unable to force stop VM since page is empty 2. If I go to the terminal and execute any `virsh` command, the command will hang as well Is there any way we can force kill the VM? Maybe `kill -9 <VM process>`? It's kinda troublesome to restart the PC everytime because of this ... Thanks
-
@Zotarios, did you found a solution? I am also using nginx proxy manager. When I git clone using ssh, it works locally, but not for remote server. I think it has something to do with NPM port
-
Is there a working solution?
-
Unraid 6.9.2 - Windows 10 - NVIDIA 3060Ti GPU passthrough
shawnngtq replied to shawnngtq's topic in VM Engine (KVM)
@ghost82 You mean inside the Linux VM? I managed to install the nvidia driver. Never tried for Windows because the display will become so small it's hard to do anything. I will try installing the nvidia drive in Windows 10 then. -
Unraid 6.9.2 - Windows 10 - NVIDIA 3060Ti GPU passthrough
shawnngtq replied to shawnngtq's topic in VM Engine (KVM)
1 thing to add, I tried adding 3060Ti to my Linux VM and I think it passthrough with settings I had when I posted. Because I am able to run `glmark2` benchmark, even though it's a bad score of 419.