Reset Admin password

Léonard_Blier
Léonard_Blier Registered Posts: 1 ✭✭✭✭
Hi,

I am trying to use DSS 5.0.2, free edition on my personal computer on OSX. I might have done something wrong, but the admin/admin login does not work anymore. I would like to reset this password. I have tried to follow these indications: https://doc.dataiku.com/dss/5.0//troubleshooting/problems/cannot-login.html

But on OSX, there is no ./bin/dsscli in the Dataiku folder ( /Applications/DataScienceStudio.app ) , and there is no bin folder at all when I search recursively. The dsscli folder is in /Applications/DataScienceStudio.app/Contents/Resources/kit/python/dataiku/dsscli

I have tried to run `python -m dataiku.dsscli user-edit --password admin admin`, (after having set up an appropriate conda env to have the good version for each necessary package and solve the imports problems), but it still does not work, because of these 3 lines in /Applications/DataScienceStudio.app/Contents/Resources/kit/python/dataiku/dsscli/__main__.py :

key = get_or_create_api_key()
port = int(os.environ["DKU_BACKEND_PORT"])
client = dataikuapi.DSSClient("http://127.0.0.1:%s" % port , key)

Is there an command equivalent to ./bin/dsscli user-edit --password NEW_PASSWORD LOGIN , but for OSX?

Thanks!
Tagged:

Answers

  • Alex_Combessie
    Alex_Combessie Alpha Tester, Dataiker Alumni Posts: 539 ✭✭✭✭✭✭✭✭✭

    Hi,

    Sorry for the late reply. The dsscli on macOS is usually located here if you used the .dmg installer:

    /Users/<youruser>/Library/DataScienceStudio/dss_home/bin/dsscli

    The dsscli file you have tried is from the installer, not the application. That is why I did not work.

    You can use this command line interface as you tried: ./bin/dsscli user-edit --password NEW_PASSWORD LOGIN

    Cheers,

    Alex

Setup Info
    Tags
      Help me…