Installing nextcloud on brand new install 3.1/3.22

My YunoHost configuration

Hardware: rpi
Internet access: ethernet at home
**YunoHost version:3.2.2
yunohost: x.x.x
yunohost-admin: 3.2.1
moulinette: 3.2.0
ssowat: 3.2.0
Have you personalized your yunohost with some specifics configurations or do you use only the yunohost cli/webadmin tool ? basic

Description of my problem

Hi all,

I’ve setup a new installation on my rpi with the latest download, letsencrypt, updated the system, created user etc then left quite some time and tried to install nextcloud.
This is the third attempt to get nextcloud installed but seems to break somewhere.
Here are the log entries:
args:
app: nextcloud
args: domain=yuno.ttux6r0ose9vgvhd.myfritz.net&path=%2Fnextcloud&admin=fil&user_home=0
label: Nextcloud
no_remove_on_failure: false
env:
YNH_APP_ARG_ADMIN: fil
YNH_APP_ARG_DOMAIN: myhost
YNH_APP_ARG_PATH: /nextcloud
YNH_APP_ARG_USER_HOME: 0
YNH_APP_ID: nextcloud
YNH_APP_INSTANCE_NAME: nextcloud
YNH_APP_INSTANCE_NUMBER: ‘1’
operation: app_install
related_to:

    • app
    • nextcloud
      started_at: 2018-11-11 20:01:18.458451

============

2018-11-11 20:10:27,800: WARNING - debconf: unable to initialize frontend: Dialog
2018-11-11 20:10:27,804: WARNING - debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2018-11-11 20:10:27,805: WARNING - debconf: falling back to frontend: Readline
2018-11-11 20:10:27,807: WARNING - debconf: unable to initialize frontend: Readline
2018-11-11 20:10:27,809: WARNING - debconf: (This frontend requires a controlling tty.)
2018-11-11 20:10:27,810: WARNING - debconf: falling back to frontend: Teletype
2018-11-11 20:10:27,812: WARNING - dpkg-preconfigure: unable to re-open stdin:

Any ideas?

Thanks in advance,

Fil

Hi @fil

I guess you are installing via the web ui.

Can you try installing nextcloud using the command line ?

 sudo yunohost app install https://github.com/YunoHost-Apps/nextcloud_ynh

In some cases f apt/dpkg is in weird state (unfinished upgrade) this can happen.

Another option is to look at the issues in https://github.com/YunoHost-Apps/nextcloud_ynh/issues see if you find something similar (and if not add an issue there)

Thanks @Arthurlutz - the command line did the trick!

Best regards from Germany,

Fil