Failed to open /etc/usermin/file/config for writing : No such file or directory web-lib-funcs.pl (line 10455)
Man this was just to indicate that the web-lib-funcs.pl file is causing errors on another install on another distro, so indicate this file has problem, my main problem is the SAME as the op.
I’m getting this on my PRODUCTION debian 11 server, and also on a test debian 12 server I’m trying to fix before deploying the fix on my production server.
If the team members are unable to reproduce the error, I am willing to provide them with SSH/Virtualmin credentials for my test Debian 12 installation to investigate.
anyway I’m going to create a new topic to avoid this.
web-lib-funcs.pl is the Webmin library. It’s used in literally every module.
Either you believe we know enough about our own software to be able to help you with your problems, and you should open a new topic about new issues, or you don’t, and you shouldn’t bother asking for help.
I’ve asked you nicely to open a new topic about new problems. Please don’t make it a thing I have to start deleting or banning about.
Your nginx issue is related to OPs (I am not the one who told you to open a new topic in that case, I’m not sure why you were told that, but it was not by a Virtualmin developer or support person…we have “Virtualmin Staff” by our usernames). Your Usermin config file issue is not related to OPs issue. Literally no connection. You either open a new topic about it, or I start deleting your replies.
This thread is too chaotic for me to be a useful contributor already. You’re definitely not going get help about some completely unrelated topic on a thread I’m no longer able to follow even when it’s still about nginx.
This thread is a bit blown up, as some answers point to other issues.
I’d like to bring it back to the initial question and give a short feedback about my experiences with it.
Initial issue:
On creating new VirtualServer, there is a message with :feature_add_web_webmail_redirect failed that is thrown.
My Experiences
In my case, I have this issue too, at all my Virtualmin Servers (all up-to-date with current version).
For me the creation of the VirtualServer work as expected, but there is only this little error-message during the Setup of the VirtualServer.
Behind the Error-Message there are three (?) -Icons that indicates in which lines the error appear:
There are two web-lib-funcs.pl at the server: /usr/share/usermin and /usr/share/webmin/
I don’t use any webmail client on the server at all, so I wouldn’t need this step. But the problem seems to be trying to add a webmail path to the Nginx host file.
If I look into the /etc/nginx/sites-available Directory, the file xlivery.shop.conf exist and have right permissions.
Questions
Might the issue caused of that the vhost.conf-file for the Domain not yet exist at the moment, where the redirect should be placed (but maybe was created later on)
I assume this, because this try to add the redirect-rule is the first one after creating the Nginx-Vhost-file (as you see in the screenshot). Maybe the file was not yet ready?!?
I don’t know if there is any config-setting that disable the “webmail” integration. If there is any, the “add-redirect-to-webmailer”-Step should completely skipped, right?!?
Since I don’t select Accept emails for domain when creating a virtual server, I would expect that “forwarding to webmail” would not be added in the configuration.