libresh / libre.sh

Moved to https://lab.libreho.st/libre.sh/compose.libre.sh
GNU Affero General Public License v3.0
189 stars 22 forks source link

setting up new app #169

Closed albjeremias closed 6 years ago

albjeremias commented 6 years ago

Hi!! Im trying to use this tool, for installing my docker-compose stuff... here: https://framagit.org/c1000101/Docker-coletivos

but I get this error after running: $ libre update

systemctl restart system
Docker-coletivos
s@Docker-coletivos
Failed to restart system.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status system.service' for details.
Failed to restart Docker-coletivos.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status Docker-coletivos.service' for details.
Failed to restart s@Docker-coletivos.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status s@Docker-coletivos.service' for details.
albjeremias commented 6 years ago

ok fixed... need to run systemctl as root or sudo...

$ libre provision -a git@framagit.org:c1000101/Docker-coletivos.git  -u libre.coletivos.org
Cloning into '/data/domains/libre.coletivos.org'...
fatal: unable to access 'https://git@framagit.org:c1000101/Docker-coletivos.git.git/': Illegal port number

which port?? from framagit?

albjeremias commented 6 years ago

when running libre without parameters will have this!

/live/instances/libre.sh/utils/libre: line 34: $1: unbound variable

// I will do a PR with fixes for all of this.. I already fixed the above also! https://github.com/libresh/libre.sh/blob/master/utils/provision#L106 this is a bit hardcoded...

pierreozoux commented 6 years ago

Yes, libre has to be run as root.

the package format is in the https form: framagit.org/c1000101/Docker-coletivos

we can handle better errors when there is no arguments.

Feel free to PR or adjust the documentation.

pierreozoux commented 6 years ago

I think all your issues were addressed, closing for now, feel free to re-open!