We continue our journey to test Ayon features and this case if for shotgrid addon integration.
We are using the following versions.
Shotgrid sync: 0.2.8
Ayon server: 0.5.4+2310271400
Ayon client: 3.17.0
So far we are able to see / list the projects from shotgrid under “Shotgrid Sync” tab and syncronize Shotgrid —> Ayon, so kind of working in that direction, even if I creates a task in shotgrid it automatically mirrors into Ayon, nice!.
Now I tried to publish from nuke and got the following error, if I understand correctly I should see an option in Ayon tray named “Shotgrid” but I see nothing, what am I missing here?
this is ASH (Ayon Service Host), maybe your publish was failing because these services don’t exist (I’m just guessing)
anyway, the simplest way to set up an ASH is mentioned in this guide. then you’ll be able to add the necessary three services that mentioned by the docs.
Who do you think from your Ynput team is familiar with SG addon and can help us with this issues?
The setup (SG addon) kind of works from SG → Ayon but not the other way around, and I am guessing the above error is part of the symptoms.
Still the questions why the “Shotgrid” option does not shows up in ayon tray, we are using Ayon client 3.17.0 shown in the image above.
So you know if there is a known issue with that version or is it a recommended version for the server version 0.5.4?
Again thank you for your feedback and help.
I’ve been using the ShotGrid sync service for some time now, it’s very much (as with the rest of AYON) in testing right now and whilst it functionally works there’s been little time to work on the documentation as development happens.
I also wanted to confirm that the SG sync service is bi-directional and by choice.
You can have ShotGrid push to AYON one way, or vice versa or bi-directional - additionally you can have that be automatic or manual pushing/pulling.
Right now the sync is only for Scenes/Sequences/Shots/Tasks and Versions (only versions published from AYON go to SG, not vice versa).
In the future it will also sync fields/attributes in ShotGrid i.e. cut information.
Let’s diagnose some things first if possible.
Do you have the ShotGrid add-on enabled in your Production tagged bundle?
Ignore the version, 0.2.8 is fine for now, I’m testing bleeding edge updates with the developer hence the 0.2.9 version.
In theory, to have the ShotGrid button appear on the AYON tray tool you only need to have the add-on enabled in the bundle.
For it to actually function, you also need the ASH Worker running with your ShotGrid services running within that; but the button should appear without that step.
I suspect potentially you don’t have ShotGrid credentials set up in the add-on settings like I have here:
For the ShotGrid services (processor, transmitter, leecher) it sounds like you have manually run them using the instructions on the GitHub page. This is fine and it works normally but I would highly recommend you stop those, remove them and run/launch the services through ASH.
This is done by spawning them on the Services page you showed a screenshot of here:
However, as you saw you didn’t have a “Host” to choose from, that’s because you’re not running an ASH ‘Worker’ that is connected to your AYON instance.
The easiest way to run this is by adding the docker service in this compose file to your AYON docker compose file:
You will need to make sure you change the change the “http://server:5000” to whatever IP address or DNS name you have your AYON server running on & the port.
Additionally, for now you shouldn’t need to change the AYON API KEY “veryinsecurapikey” as that will connect to the “service” user that you will see by going to “Users” in AYON.
I recommend though that you eventually delete that key on the service user and generate a new one:
Are you running AYON from source or from a downloaded launcher installer .exe?
I’m running BETA6 but the add-on has been showing for me for months so I’m unsure the version is the issue, client version for me is 3.17.4.
Found the issue, there is a json file that stores the credentials (user/AppData/Local/pypeclub/openpype/openpype_settings.json) which had incomplete credentials (maybe need a better error handling here).
Now that I got the “Shotgrid” option for login, it says “Can’t authenticate user” just wonder if there is something to do with 2-factor authentication and how this is handle in Ayon.
I will try the “Legacy Login” I can see right now it says “Passphrase is missing”, so I will give it a go.
What would be the implications to use this “Legacy Login” instead of the 2FA we are all using?, any security concerns?. I am kind of hearing right now IT saying “that is insecure!” or anything like it :P.