@NonameNoob

Почему не устанавливается сервер документов?

Привет всем! Имею на руках сервер с Ubuntu 20.04

Мне необходимо развернуть сервер документов OnlyOffice docs а затем подключить его к серверу nextcloud (который развернут через snap пакет)

При попытке установить вижу странную ошибку

Setting up libpangocairo-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Setting up gsettings-desktop-schemas (3.36.0-1ubuntu1) ...
Setting up libglx-mesa0:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Setting up libglx0:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up x11-xkb-utils (7.7+5) ...
Setting up librsvg2-2:amd64 (2.48.9-1ubuntu0.20.04.1) ...
Setting up libgl1:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up librsvg2-common:amd64 (2.48.9-1ubuntu0.20.04.1) ...
Setting up xserver-common (2:1.20.13-1ubuntu1~20.04.2) ...
Setting up xvfb (2:1.20.13-1ubuntu1~20.04.2) ...
Setting up adwaita-icon-theme (3.36.1-2ubuntu0.20.04.2) ...
update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode
Setting up gconf-service (3.2.6-6ubuntu1) ...
Setting up humanity-icon-theme (0.6.15) ...
Setting up gconf-service-backend (3.2.6-6ubuntu1) ...
Setting up ubuntu-mono (19.04-0ubuntu3) ...
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Setting up glib-networking:amd64 (2.64.2-1ubuntu0.1) ...
Setting up libsoup2.4-1:amd64 (2.70.0-1) ...
Setting up libsoup-gnome2.4-1:amd64 (2.70.0-1) ...
Setting up librest-0.7-0:amd64 (0.8.1-1) ...
Setting up libgtk-3-0:amd64 (3.24.20-0ubuntu1.1) ...
Setting up onlyoffice-documentserver (7.1.0-215) ...
adduser: Warning: The home directory `/var/www/onlyoffice/documentserver' does not belong to the user you are currently creating.
Adding user www-data to group ds
Generating AllFonts.js, please wait...Done
Generating presentation themes, please wait...Done
dpkg: error processing package onlyoffice-documentserver (--configure):
 installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 1
Setting up libgtk-3-bin (3.24.20-0ubuntu1.1) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3ubuntu0.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Errors were encountered while processing:
 onlyoffice-documentserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
xandiem@xandiem-cloud:~$ sudo apt-get install onlyoffice-documentserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
onlyoffice-documentserver is already the newest version (7.1.0-215).
The following packages were automatically installed and are no longer required:
  linux-image-4.15.0-99-generic linux-modules-4.15.0-99-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up onlyoffice-documentserver (7.1.0-215) ...
Generating AllFonts.js, please wait...Done
Generating presentation themes, please wait...Done
dpkg: error processing package onlyoffice-documentserver (--configure):
 installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 onlyoffice-documentserver
E: Sub-process /usr/bin/dpkg returned an error code (1)


Не могу понять в чем причина... Причина в сервере Nextcloud и Snap или в чем то ином?
  • Вопрос задан
  • 90 просмотров
Решения вопроса 1
CityCat4
@CityCat4
Если я чешу в затылке - не беда!
adduser: Warning: The home directory `/var/www/onlyoffice/documentserver' does not belong to the user you are currently creating.

Ну вот же она, ошибка - что непонятного-то? Указанный каталог кому-то не тому принадлежит.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
AgentApp Санкт-Петербург
от 250 000 ₽
SberTech Москва
от 200 000 до 300 000 ₽
от 200 000 до 250 000 ₽