Installing yunohost on a VPS

Hi guys I have spent the better part of a day trying to install on a linode server and I am sure I have missed something but just can’t seem to figure it out I have followed the instructions but to no avail, any help would be awesome thanks in advance!

https://drive.google.com/folderview?id=0BwF7IiCvOYt4dWlhVUNZREgwNzg&usp=sharing (other images idk how helpful)

You don’t need to use “sudo”…you are already root… :grinning:
cd /tmp/install_script && ./install_yunohostv2

When you try to setup the packet amavis-new which seems to fail, do you have something that tells you what’s wrong ? Like a packet conflict or else ?
Is your VPS totally fresh ?

I do not believe so and yes i have rebuilt the VPS totally fresh with the only thing being installed is YUNO Host.

I don’t know if this helps. I got this after running these commands, is possible to set the domain manually

root@yunohost:~# yunohost tools postinstall
Main domain: ryanjenkins.tech
New administration password:
Confirm new administration password:
Installing YunoHost...
hostname: Name or service not known
Generating a 2048 bit RSA private key
..........+++
..............................+++
writing new private key to '/usr/share/yunohost/yunohost-config/ssl/yunoCA/ca/cakey.pem'
-----
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Success! LDAP successfully initialized
Generating a 2048 bit RSA private key
...............................................................+++
...................................+++
writing new private key to '/usr/share/yunohost/yunohost-config/ssl/yunoCA/certs/yunohost_key.pem'
-----
Using configuration from /etc/yunohost/certs/ryanjenkins.tec/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 1 (0x1)
        Validity
            Not Before: Mar 31 01:25:17 2016 GMT
            Not After : Mar 29 01:25:17 2026 GMT
        Subject:
            commonName                = ryanjenkins.tec
        X509v3 extensions:
            X509v3 Basic Constraints:
                CA:FALSE
            Netscape Comment:
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier:
                D5:66:8A:31:FE:FA:79:21:2A:84:B4:BC:53:21:8D:38:AE:38:25:B7
            X509v3 Authority Key Identifier:
                keyid:62:C8:F2:9C:7D:96:55:61:67:2D:08:FA:8F:CC:21:DE:14:E6:99:F2

            X509v3 Key Usage:
                Digital Signature, Non Repudiation, Key Encipherment
            X509v3 Subject Alternative Name:
                DNS:ryanjenkins.tec, DNS:www.ryanjenkins.tec, DNS:ns.ryanjenkins.tec
Certificate is to be certified until Mar 29 01:25:17 2026 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated
Success! Domain successfully created
Warning: DNS zone file not found for domain ryanjenkins.tec
Job for amavis.service failed. See 'systemctl status amavis.service' and 'journalctl -xn' for details.
Error: Unable to change main domain

root@debian:/tmp/install_script# systemctl status amavis.service
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis)
   Active: failed (Result: exit-code) since Wed 2016-03-30 23:41:56 UTC; 12min ago
  Process: 14315 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: Starting amavisd: hostname: Name or service not known
Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: The value of variable $myhostname is "", but should have been
Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: a fully qualified domain name; perhaps uname(3) did not provide such.
Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: You must explicitly assign a FQDN of this host to variable $myhostname
Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: network name!
Mar 30 23:41:56 yunohost.yunohost.org amavis[14315]: (failed).
Mar 30 23:41:56 yunohost.yunohost.org systemd[1]: amavis.service: control process exited, code=exited status=1
Mar 30 23:41:56 yunohost.yunohost.org systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
Mar 30 23:41:56 yunohost.yunohost.org systemd[1]: Unit amavis.service entered failed state.





root@debian:/tmp/install_script# journalctl -xn
-- Logs begin at Wed 2016-03-30 23:30:08 UTC, end at Wed 2016-03-30 23:55:01 UTC. --
Mar 30 23:45:54 yunohost.yunohost.org postfix/smtpd[14348]: connect from unknown[60.28.241.167]
Mar 30 23:50:54 yunohost.yunohost.org postfix/smtpd[14348]: timeout after CONNECT from unknown[60.28.241.167]
Mar 30 23:50:54 yunohost.yunohost.org postfix/smtpd[14348]: disconnect from unknown[60.28.241.167]
Mar 30 23:50:56 yunohost.yunohost.org sshd[14352]: Connection closed by 58.218.205.97 [preauth]
Mar 30 23:54:14 yunohost.yunohost.org postfix/anvil[14351]: statistics: max connection rate 1/60s for (smtp:60.28.241.167) at Mar 30 23:45:54
Mar 30 23:54:14 yunohost.yunohost.org postfix/anvil[14351]: statistics: max connection count 1 for (smtp:60.28.241.167) at Mar 30 23:45:54
Mar 30 23:54:14 yunohost.yunohost.org postfix/anvil[14351]: statistics: max cache size 1 at Mar 30 23:45:54
Mar 30 23:55:01 yunohost.yunohost.org CRON[14363]: pam_unix(cron:session): session opened for user root by (uid=0)
Mar 30 23:55:01 yunohost.yunohost.org CRON[14364]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Mar 30 23:55:01 yunohost.yunohost.org CRON[14363]: pam_unix(cron:session): session closed for user root

I . a 8 .