-
Posts
192 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by juan11perez
-
-
This is what I use to scan my external storages
docker exec --user www-data nextcloud php console.php files:scan admin --path=/admin/files/gdrive
-
On 1/12/2021 at 9:01 PM, pm1961 said:
Hi,
After an update of a working instance of Zoneminder, I have the problem of;
Unable to connect to ZM db.SQLSTATE[HY000] [2002] No such file or directory
On inspection of the log (bottom), it references the MariaDB.
When I use mc to try and navigate to the floder/files referred too..... they don't exist.... presumably because the "kill" at the end deletes them?
After much frustration, I installed a fresh Zoneminder on my other unRaid server. This server runs as a NAS with no other dockers........ and that works fine!
So........... if it's an interaction between Zoneminder and my MariaDB, is there a workaround? I only have MariaDB because of my Nextcloud instance, and they work fine together.
This server is my high core/high memory VM and docker server so, although it works, I dont want to leave Zoneminder on my NAS server.
Having read through the forum, I've tried deleting templates for a fresh install from CA...... I've tried deleting log files.... but they didn't exist.... presumably because it's never done anything............
I noticed from comparing the Appdata folders that the non-working instance has an extra directory "opencv". My working version doesn't have this even though it was installed after the broken one???
Any help gratefully received,
ATB,
Paul
Starting services...
* Starting Apache httpd web server apache2
*
* Starting MariaDB database server mysqld
Jan 12 15:23:43 70771cb7af9e web_php[657]: FAT [Failed db connection to ]
...fail!
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
Jan 12 15:24:12 70771cb7af9e zmupdate[1092]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
Compilation failed in require at /usr/bin/zmupdate.pl line 73.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
Jan 12 15:24:12 70771cb7af9e zmupdate[1092]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
Jan 12 15:24:12 70771cb7af9e zmupdate[1094]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
Compilation failed in require at /usr/bin/zmupdate.pl line 73.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
Jan 12 15:24:12 70771cb7af9e zmupdate[1094]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
Starting ZoneMinder:
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
Jan 12 15:24:12 70771cb7af9e zmpkg[1104]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 34.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
Jan 12 15:24:12 70771cb7af9e zmpkg[1104]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
ZoneMinder failed to start
*** /etc/my_init.d/40_firstrun.sh failed with status 255
*** Killing all processes...
Jan 12 15:24:12 70771cb7af9e syslog-ng[38]: syslog-ng shutting down; version='3.25.1'good day, I found a way to get zm back with this post
https://forums.zoneminder.com/viewtopic.php?t=29602
however, it doesn't say what's creating it.
-
Thank you for your response. In latter tests the drive starts at over 100M and after reaching circa 10% it dives to around 50M and stays there to the end.
The middle dip results were produced until about 10 days ago.
-
Good day, so I ended up replacing the drive because it continued to just hang everything.
I plecleared it and in theory it "passed" after 56 hours. The diskspeed tests, continue to be very poor.
So I think it's failed.
Before dispossing of it, i want to confirm my assumptions.
Any advise is appreciated.
Thank you
-
Thank you very much for the advise. I'll look into it.
-
Good day. First thank you for producing this tool.
I had been experiencing significant system lagging last week and afer changing sata cables, usb stick, inspecting docker by docker etc I finally came across this tool and tested.
These are drive 1 tests over the last few days with services (docker,vms) online. it's all over the place.
These are for all drives with all services off. Seems to be ok, or at least not worse than the rest.
Any advise welcome. Thank you
-
-
thank you so much for sharing this info. This has been really irritating. I've run this unraid box for 2 years without any problems, exept the self-inflicted ones
I have experienced the same problems as you since installing this docker.
Not sure whats the best way to warn others?
-
thank you for taking the time. It appears to be this docker
https://github.com/testdasi/grafana-unraid-stack
I installed it about a week ago and trouble seemed to start then. Have you used it?
-
Good day. Any help is appreciated
-
Good day. Over the last week unraid has become unusually slow.
Started aproximately 6 days ago, where the system would become unresponsive when trying to stop dockers. Even after stoping the docker service, some containers would continue to appear to be running and when attempting to stop them via cli it would report they're already being stopped.
After a restart, the system runs fine for aproximately 12 hours and then the same pattern starts. Looking at glances the load increases to the below numbers when histofically (about 1.5 year) they've all hovered around 4..
LOAD 24-core
1 min: 17.03
5 min:18.85
15 min:19.64
I havent noticed anything unusual hardware-wise, but i must obviously be missing something.
See attached logs.
Any guidance is much appreciated.
Thank you
-
bumping post
-
Watching this video I realised I can start Gui mode with an AMD card and subsequently pass to a vm without crashing.
Question is, if it's possible to 'recover' Gui mode once the vm is shutdown without restarting Unraid.
Thank you.
I
-
Short note to update and again thank you for your advise.
Adding "nvme_core.default_ps_max_latency_us=0" to syslinux did not resolve the issue. The drive kept disconnecting.
I replaced it with a Samsung 970plus and that stopped the problem. Sever has now been running for over 10 days with no issues.
Not sure if this means the Adata drive failed, but if it did it's quite disappointing as it's only 2 years old and the internet is full of praises for this product.
- 1
-
I'm far from being an expert, so disregard if stating the obvious.
Does the vm work with vnc?
And if yes are you starting unraid in legacy mode or uefi?
-
Thank you for your response. Firing Users Scripts would be more than enough.
For instance firing a script that unbinds a usb device from a running vm and subsequently starting another vm that uses that usb device
- 2
-
I'm not a developer, so forgive me if asking for something unrealistic, but would it be possible to fire scripts from unraidapi.
Currently i fire them from Home assistant via ssh and works well, but maybe it can also be done via mqtt?
Thank you for this component.
-
Thank you for the advise. I'll implement and monitor.
The drive has worked fine for 2 years and only started acting up after I added a 3rd GPU in the 3rd PCI lane. Not sure it has any bearing on it, but it's the only change.
I have another identical drive in the second m.2 slot and it's fine; but then again is 4 months old.
Once again thank you.
-
Good day,
About 4 days ago docker crashed. All dockers reside in /mnt/cache. Cache being ADATA_SX8200PNP_2J3420080645 (nvme0n1)
When i checked in the main tab, the drive had disappeared. All else was fine.
i restarted the server a couple of times, with no luck. I presumed a faulty drive; so I removed it and installed another nvme drive in the same pci slot and the new drive showed up. So sort of confirmed my suspicion. Nevertheless I reinstalled the presumed failed drive in its old location restarted and it appeared again.Server run fine last 4 days. This morning docker was again dead. I pulled the attached log and restarted unraid. All is working again.
Apparently the drive disconnected at 1:48am.
Should I assume the drive has had it? It's 2 years old.
Thank you
-
Good day,
I have an ASUS ROG STRIX X470-F GAMING motherboard with 3 expansion slots. Currently I have GPU(s) in 1 and 2 working correctly.
I want to add a 3rd GPU into slot 3.
I would appreciate any advice/concerns that should be observed if a third GPU is added. Is it even feasible?
Thank you
-
-
Apologies if asking the obvious, but does the internal drive have a standard sata header where you can mount it internally in your server?
Thank you
-
Sorry misunderstood you’re request. Thank you for sharing this.
-
The easiest way is to install the portainer docker.
you can then use the built in docker compose feature, which is under the stacks heading
Bridge vs br0 - Routing docker traffic through another docker
in Docker Engine
Posted
Not sure if comparable, but i get this done with mcvlan network
https://dockstarter.com/advanced/macvlan/
So my Unraid is in 1 ip.
Pihole docker is in another ip.