Lots of errors in Hestia log / unsure of error codes

I’m getting a lot of errors in my Hestia logs, yet everything seems to be working. I tried to search the documentation on these functions but do not see any explanation of the error codes (maybe I am just overlooking it).

Here’s an example of just a few of the errors I see most:

2024-10-02 21:51:20 v-add-mail-domain  'example' 'example.com' [Error 2]
2024-10-02 21:52:11 v-add-mail-account-fwd-only  'example' 'example.com' 'postmaster' [Error 3]
2024-10-04 13:33:35 v-list-web-domain  'example' 'example.us' 'plain' [Error 3]
2024-10-04 13:33:36 v-list-web-domain  'example' 'example.us' 'plain' [Error 3]
2024-10-04 13:33:36 v-add-web-domain  'example' 'example.us' 'x.x.x.x' 'yes' [Error 2]
2024-10-04 13:33:38 v-list-dns-domain  'example' 'example.us' 'plain' [Error 3]
2024-10-04 13:33:38 v-list-dns-domain  'example' 'example.us' 'plain' [Error 3]
2024-10-04 13:33:38 v-add-dns-domain  'example' 'example.us' 'x.x.x.x' '' '' '' '' '' '' '' '' 'no' [Error 2]
2024-10-04 13:33:39 v-list-mail-domain  'example' 'example.us' 'plain' [Error 3]
2024-10-04 13:33:39 v-list-mail-domain  'example' 'example.us' 'plain' [Error 3]
2024-10-04 13:33:39 v-add-mail-domain  'example' 'example.us' [Error 2]
2024-10-05 00:38:30 v-list-web-domain  'example' 'wiki.example.com' 'plain' [Error 3]
2024-10-05 00:38:30 v-list-web-domain  'example' 'wiki.example.com' 'plain' [Error 3]
2024-10-05 00:38:30 v-add-web-domain  'example' 'wiki.example.com' 'x.x.x.x' 'yes' [Error 2]
2024-10-05 00:38:32 v-list-dns-domain  'example' 'wiki.example.com' 'plain' [Error 3]
2024-10-05 00:38:33 v-list-dns-domain  'example' 'wiki.example.com' 'plain' [Error 3]
2024-10-05 00:38:33 v-add-dns-domain  'example' 'wiki.example.com' 'x.x.x.x' '' '' '' '' '' '' '' '' 'no' [Error 2]

I woke up this morning to my server being completely inaccessible from the internet, and I’m just trying to go thru some logs and triage the situation. I doubt this is related but I was surprised by all these errors since things seem to be working with my sites (aside from this issue).

I’m new to Hestia, so I apologize if I’m just being dense. If you someone could just point me to a manual section I’ll happily RTFM on my own, just didn’t see anything so far. Thanks!

Regarding errors. I don’t know the root cause for those errors but I suppose you were testing Hestia adding and removing domains, whatever :wink:

Error 2 means Object or argument is not valid
Error 3 means Object doesn’t exist

List of error codes:
https://hestiacp.com/docs/server-administration/rest-api.html#return-codes

1 Like

Thanks for the link! This is odd, because I did set up some accounts/sites/etc, none was testing and it all seemed to work first try. I did have another post on here about a sub-domain I created using it’s own DNS record. Do you think that’s related? Otherwise, I did do changes/edits, like where I went back and generated LE certs, but again, all seemed to work fine.

1 Like

Show the output of these commands (replace the user and domain using the actual data):

v-list-web-domain example wiki.example.com plain
v-search-object wiki.example.com
1 Like

If you add “example.com” it check if it allready exists if not it creates an error because v-list-web-domains can’t find it …

It is “normal”

3 Likes
$ v-list-web-domain example wiki.example.com plain
wiki.example.com	x.x.x.x		/home/example/web/wiki.example.com/public_html/	42	0	dokuwiki-secure				yes	yes		same	,yes			default	default		no	00:38:31	2024-10-05

$ v-search-object wiki.example.com
USER         TYPE  KEY     RESULT                ALIAS
------                                           
example  web   DOMAIN  wiki.example.com

I think all is well here. Still confused by some of the errors, but I guess I’ll just watch the log in real time for the next domain I set up and see if it makes more sense. Thank you for the help yet again @sahsanu !!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.