Page 1 of 2
Afanasy on Ubuntu 20.04
Posted: Fri May 15, 2020 5:00 pm
by romanvolodin
I've found out that render user group exists in Ubuntu 20.04 by default. So Afanasy can't create user render on installation.
Is there a way to fix this situation?
May be some workaround for Afanasy installation or may be I just can delete this user group? (No idea what this group is for.)
Any info would be helpful.
Re: Afanasy on Ubuntu 20.04
Posted: Mon May 18, 2020 11:59 am
by timurhai
Hi
Try to type this command:
What is the output?
Re: Afanasy on Ubuntu 20.04
Posted: Mon May 18, 2020 12:45 pm
by romanvolodin
On fresh Ubuntu 20.04 installation (I'm using Virtualbox):
Code: Select all
$ id render
id: ‘render’: no such user
$ grep render /etc/group
render:x:109:
I've run the following command:
Code: Select all
$ sudo delgroup --system --only-if-empty render
Removing group `render' ...
Done.
Quote from
delgroup man:
--system
Only delete if user/group is a system user/group. This avoids
accidentally deleting non-system users/groups. Additionally, if
the user does not exist, no error value is returned. This option
is mainly for use in Debian package maintainer scripts.
--only-if-empty
Only remove if no members are left.
And then Afanasy was successfully installed.
After Afanasy install:
Code: Select all
$ id render
uid=1001(render) gid=1001(render) groups=1001(render)
$ grep render /etc/group
render:x:1001:
Re: Afanasy on Ubuntu 20.04
Posted: Mon May 18, 2020 2:40 pm
by timurhai
Just installed a fresh 20.04 on a virtual box too.
Hm, new group "render" appeared in 20.04 just after installation.
And i checked that there are no users in it.
So i do not know why it is needed. Most probably that it is not.
It is not breaks Afanasy installation, but it can't create a "render" user during installation.
So systemd scripts can launch afserver and afrender under render user that does not exist.
After installation, i just created "render" user by
to put it into existing group.
And after reboot, afserver and afrender was started by systemd.
I think i should check "render" group in the installation scripts, and use existing if it exists.
Re: Afanasy on Ubuntu 20.04
Posted: Mon May 18, 2020 4:33 pm
by timurhai
Re: Afanasy on Ubuntu 20.04
Posted: Sun Mar 07, 2021 5:42 pm
by lalamax3d
hi,
new user, trying to setup and feel, stuck on same point.
render user exists already ( may be from previous attempt ) userGroups shows its disabled
id render command in terminal shows
Code: Select all
user@dell:~$ id render
uid=1001(render) gid=109(render) groups=109(render),29(audio),46(plugdev),1000(user),132(sambashare)
afanasy menu appears green ( seems working )
from blender, i can open web gui and it seems working as well
job sumitted successfully, but machine is unable to render ( Avoiding Host Error )
Any ideas for fix (psudo steps) will help to sort will be helpful..
double clicking job >> double clicking task showing following (TAB WISE)
Executable TAB
Code: Select all
{
"name": "frame 1-8",
"service": "blender",
"capacity": 1000,
"time_start": 1615138708,
"job_id": 2,
"block_num": 0,
"task_num": 0,
"command_block": "blender -b \"/home/user/Downloads/temp_blends/scene.20210307220534.blend\" -y -E BLENDER_EEVEE -s @#@ -e @#@ -j 1 -a",
"command_task": "",
"frame_start": 1,
"frame_finish": 8,
"frames_inc": 1,
"frames_num": 8,
"parser": "blender",
"working_directory": "/home/user"
}
OUTPUT TAB
Code: Select all
HOSTNAME=dell
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Blender 2.92.0 (hash 02948a2cab44 built 2021-02-25 09:31:37)
Read blend: /home/user/Downloads/temp_blends/scene.20210307220534.blend
Unable to open a display
/opt/cgru/software_setup/bin/blender: line 5: 1771 Aborted (core dumped) $APP_EXE "$@"
LOG TAB
Code: Select all
Sun 07 Mar 22:26.10 : SESSION #1: Starting on "dell"
Sun 07 Mar 22:26.12 : Finished error.
Sun 07 Mar 22:26.12 : Automatically retrying error task1 of 3.
Sun 07 Mar 22:26.12 : SESSION #2: Starting on "dell"
Sun 07 Mar 22:26.14 : Finished error.
Sun 07 Mar 22:26.14 : Automatically retrying error task2 of 3.
Re: Afanasy on Ubuntu 20.04
Posted: Tue Mar 09, 2021 9:05 am
by timurhai
Hi!
Try to run task command manually.
Copy&paste it in a terminal and run.
Next, try to run it from afrender environment, like service under render user.
As some scene setup can use display.
Shut down X server (you can simple press CTRL+ALT+F1 (or F2, F3, .. F6) to go to the text mode.
Switch to render user and run a command.
Re: Afanasy on Ubuntu 20.04
Posted: Tue Mar 09, 2021 6:31 pm
by lalamax3d
Hi Timurhai, (sir)
thanks for guidance. i am afraid, i didn't understand steps fully.
1- how exactly run the task manually? or from afrender environment ?
in afanasy console, i can check cmds
afserver --help or
afrender --help but none of these are showing me how to list or run a task that is in queue.??
2- from web-gui, double click task, i can see precisely task i wanna run (raw object) is
Code: Select all
{
"name": "frame 1-8",
"service": "blender",
"capacity": 1000,
"time_start": 1615314507,
"job_id": 2,
"block_num": 0,
"task_num": 0,
"command_block": "blender -b \"/home/user/Downloads/temp_blends/scene.20210309223503.blend\" -y -E BLENDER_EEVEE -s @#@ -e @#@ -j 1 -a",
"command_task": "",
"frame_start": 1,
"frame_finish": 8,
"frames_inc": 1,
"frames_num": 8,
"parser": "blender",
"working_directory": "/home/user"
}
Q, how to tell afserver to render this task via user named 'render' .? thanks in advance, regards,haseeb
Re: Afanasy on Ubuntu 20.04
Posted: Tue Mar 09, 2021 7:34 pm
by timurhai
Hi!
I was asking to run task manually w/o afrender.
Just paste and run task command in terminal.
Re: Afanasy on Ubuntu 20.04
Posted: Tue Mar 09, 2021 7:37 pm
by timurhai
Your command is:
Code: Select all
"command_block": "blender -b \"/home/user/Downloads/temp_blends/scene.20210309223503.blend\" -y -E BLENDER_EEVEE -s @#@ -e @#@ -j 1 -a"
Afrender will fill @#@ patterns with frames, for example to render the first frame run:
Code: Select all
blender -b "/home/user/Downloads/temp_blends/scene.20210309223503.blend" -y -E BLENDER_EEVEE -s 1 -e 1 -j 1 -a