Search found 605 matches

by timurhai
Tue Aug 11, 2020 4:57 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

Afanasy setup appending its modules to PYTHON_PATH
https://github.com/CGRU/cgru/blob/maste ... tup.sh#L11

Later your afrender can't import them.
So your afrender PYTHON_PATH is definitely modified.
by timurhai
Tue Aug 11, 2020 3:37 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

You have modified CGRU native files? Or you are modifying PYTHON_PATH or PYTHON_HOME? https://cgru.readthedocs.io/en/latest/configuration/configuration.html#required-variables CGRU uses Python, and it shout set properly up. If you are modifying PYTHON_PATH, you should append something to it, not res...
by timurhai
Tue Aug 11, 2020 2:49 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

So you should discover, why machine becomes offline.
See server log and afrender, afserver processes outputs.
by timurhai
Tue Aug 11, 2020 2:29 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

What have you did, say step-by-step.
Have you restarted afrender service after it?
by timurhai
Tue Aug 11, 2020 1:53 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

Do not modify native CGRU files!
It makes impossible to switch to the new version!

Here CGRU setup.sh sources any files matches setup_*.sh mask.
https://github.com/CGRU/cgru/blob/master/setup.sh#L25

So you should place any setup_abc.sh file and do anything you want with afrender environment.
by timurhai
Tue Aug 11, 2020 1:25 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

Yes, you can.
But much more better solution i described above.
by timurhai
Tue Aug 11, 2020 12:41 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

``/etc/profile`` is invoked only for login shells. If you login by afrender it will work, when init.d or system.d runs services it does not perform login. As i told before, you can create a custom setup_myvars.sh in a cgru root folder. And you can modify there PATH or just source /etc/profile file. ...
by timurhai
Tue Aug 11, 2020 12:32 pm
Forum: General
Topic: Cant find custom shell files
Replies: 16
Views: 94

Re: Cant find custom shell files

How have you set PATH to see your nukeRender.sh for another user/shell?
by timurhai
Tue Aug 11, 2020 12:28 pm
Forum: General
Topic: Statistics stuck at initializing
Replies: 1
Views: 6

Re: Statistics stuck at initializing

Hi.
At first check a database connection via afcmd:
https://cgru.readthedocs.io/en/latest/a ... d-db-check

btw,
Have you set up database?
https://cgru.readthedocs.io/en/latest/a ... base-setup
by timurhai
Tue Aug 11, 2020 8:02 am
Forum: AfWatch
Topic: Modifying Afanasy interface
Replies: 1
Views: 14

Re: Modifying Afanasy interface

Very strange user name and email !