Besides not having enough permission to create any file at /opt/click.ubuntu.com, it seems to expect a valid /opt/click.ubuntu.com/.click/users/phablet directory when running the user hook.
After creating /opt/click.ubuntu.com/.click/users/phablet by hand I'm able to run the user hook (and then able to start a click package as well).
Besides not having enough permission to create any file at /opt/click. ubuntu. com, it seems to expect a valid /opt/click. ubuntu. com/.click/ users/phablet directory when running the user hook.
After creating /opt/click. ubuntu. com/.click/ users/phablet by hand I'm able to run the user hook (and then able to start a click package as well).