Page 1 of 1

GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)

Posted: Thu Jun 30, 2016 1:44 am
by anthonyrossbach
I have this error from the CLI, web just refreshes and gives nothing. I will document as I find the reason, looks like permissions (for thousands of users this will be a pain)

root@n1:~# v-rebuild-user 6dl8sn25 yes
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.

Re: Restore of user does not generate WEB template

Posted: Thu Jun 30, 2016 2:13 am
by anthonyrossbach
When a rebuild is done via the site it generates no configs, but when done via CLI it works, but only for that site.

Re: Restore of user does not generate WEB template

Posted: Thu Jun 30, 2016 2:25 am
by anthonyrossbach
I went digging into the VESTACP code and was unable to find a cause, the web interface version will not work, but I went to IP list, and got all users and in a text doc made a chain command to do it via CIL so at least everything is back up.

Re: Restore of user does not generate WEB template

Posted: Thu Jun 30, 2016 2:27 am
by anthonyrossbach
I dug into the command line responses, it looks like a few did not have the problem, so it's just a permission folder error somewhere in the users folders.

Code: Select all

root@n1:~# v-rebuild-user 62zz7yqs
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.
root@n1:~# v-rebuild-user 6dl8sn25
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.
root@n1:~# v-rebuild-user 6x4hfv55
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.
root@n1:~# v-rebuild-user 7rcl904e
root@n1:~# v-rebuild-user 7vtk63ki
root@n1:~# v-rebuild-user 83jk296u
root@n1:~# v-rebuild-user 9a9ukfym
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.
root@n1:~# v-rebuild-user 9bb6r6f2
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.
As you see a batch worked fine.

Re: GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)

Posted: Thu Jun 30, 2016 4:56 pm
by mike08
Hi there,

here is the fix for this: https://github.com/serghey-rodin/vesta/ ... cc2f9bce01

Re: GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)

Posted: Sat Jul 02, 2016 9:23 pm
by anthonyrossbach
Oh thats good, also I found that this is needed on all 3 servers for some reason the update on Apache restart the configs have changed so some are broken, and apache can't restart, thats how I found this error, from that one. Glad it was found the cause and fixed.

Re: GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)

Posted: Mon Jul 25, 2016 6:47 am
by skurudo
Closed then.
Thanks to mike08