After installation not start

Installation and configuration.
Post Reply
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

After installation not start

Post by vdobrv »

Hi

Ubuntu 20.04.2
Afanasy 2.3.1

After installation, it gives an error
Does not start automatically
Manually starts
Says he can't find the user RENDER
Although he is
What to do?

Code: Select all

Installing AFANASY dependences:
Reading package lists... Done
[color=#00BFFF]Building [/color]dependency tree
Reading state [color=#00BFFF]information[/color]... Done
libpq5 is already the newest version (12.7-0ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing cgru-common.2.3.1_ubuntu18.04_amd64.deb
Selecting previously unselected package cgru-common.
(Reading database ... 83537 files and directories currently installed.)
Preparing to unpack cgru-common.2.3.1_ubuntu18.04_amd64.deb ...
Unpacking cgru-common (2.3.1) ...
Setting up cgru-common (2.3.1) ...
CGRU-common post install:
Installing afanasy-common.2.3.1_ubuntu18.04_amd64.deb
Selecting previously unselected package afanasy-common.
(Reading database ... 84483 files and directories currently installed.)
Preparing to unpack afanasy-common.2.3.1_ubuntu18.04_amd64.deb ...
Unpacking afanasy-common (2.3.1) ...
Setting up afanasy-common (2.3.1) ...
Installing afanasy-server.2.3.1_ubuntu18.04_amd64.deb
Selecting previously unselected package afanasy-server.
(Reading database ... 84487 files and directories currently installed.)
Preparing to unpack afanasy-server.2.3.1_ubuntu18.04_amd64.deb ...
Afanasy server PRE INSTALL
Failed to stop afserver.service: Unit afserver.service not loaded.
Failed to disable unit: Unit file afserver.service does not exist.
Unpacking afanasy-server (2.3.1) ...
Setting up afanasy-server (2.3.1) ...
Afanasy server POST INSTALL
id: ‘render’: no such user
useradd: group render exists - if you want to add this user to that group, use -g.
Created symlink /etc/systemd/system/remote-fs.target.wants/afserver.service → /opt/cgru/afanasy/systemd/afserver.service.
Created symlink /etc/systemd/system/afserver.service → /opt/cgru/afanasy/systemd/afserver.service.
afanasy@afanasy:/opt$ sudo adduser render
[sudo] password for afanasy:
adduser: The group `render' already exists.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: After installation not start

Post by timurhai »

Hi.
On install it tries to create 'render' user if does not exist.

1. It checks 'render' for exist - does not.
2. Creates 'render' user - fails, as 'render' group already exists.
Solution: delete render group before installation, or manually add render user.

Yes, Ubuntu 20.04 has 'render' group w/o 'render' user.
In a later releases a check for 'render' group exists added.

btw,
If you are upgrading OS, why not to update CGRU? You are using an old version.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Re: After installation not start

Post by vdobrv »

we are migrating from Windows to Linux
We are gonna update cgru, but don't have time to reconfigure 2.3.1 to 3.2

Ok thx
Post Reply