Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)
-
- Posts: 21
- Joined: Thu May 21, 2015 6:00 am
GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)
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.
root@n1:~# v-rebuild-user 6dl8sn25 yes
chmod: missing operand after ‘755’
Try 'chmod --help' for more information.
Last edited by anthonyrossbach on Thu Jun 30, 2016 2:28 am, edited 1 time in total.
-
- Posts: 21
- Joined: Thu May 21, 2015 6:00 am
Re: Restore of user does not generate WEB template
When a rebuild is done via the site it generates no configs, but when done via CLI it works, but only for that site.
-
- Posts: 21
- Joined: Thu May 21, 2015 6:00 am
Re: Restore of user does not generate WEB template
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.
-
- Posts: 21
- Joined: Thu May 21, 2015 6:00 am
Re: Restore of user does not generate WEB template
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.
As you see a batch worked fine.
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.
-
- Posts: 21
- Joined: Thu May 21, 2015 6:00 am
Re: GUI user rebuild does not generate WEB template files (breakdown and possible cause included with a workaround)
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)
Closed then.
Thanks to mike08
Thanks to mike08