Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

aws-cli

Featured Replies

I am trying to get aws-cli running on my unRAID server so I can use it with user-scripts. I have un-get installed and was able to install aws-cli using it. It seems it does not handle dependencies, so I am going through until I find them all. I already had python installed. So far, I have installed the following packages.

un-get install aws-cli python-botocore python-jmespath python-dateutil python-six python-urllib3 colorama python-docutils python-PyYAML python-s3transfer rsa pyasn1

 

Now I am getting the following error when trying to run the aws command.

Traceback (most recent call last):
  File "/usr/bin/aws", line 27, in <module>
    sys.exit(main())
  File "/usr/bin/aws", line 23, in main
    return awscli.clidriver.main()
  File "/usr/lib64/python3.9/site-packages/awscli/clidriver.py", line 69, in main
    driver = create_clidriver()
  File "/usr/lib64/python3.9/site-packages/awscli/clidriver.py", line 78, in create_clidriver
    load_plugins(session.full_config.get('plugins', {}),
  File "/usr/lib64/python3.9/site-packages/awscli/plugin.py", line 44, in load_plugins
    modules = _import_plugins(plugin_mapping)
  File "/usr/lib64/python3.9/site-packages/awscli/plugin.py", line 61, in _import_plugins
    module = __import__(path, fromlist=[module])
  File "/usr/lib64/python3.9/site-packages/awscli/handlers.py", line 34, in <module>
    from awscli.customizations.codedeploy.codedeploy import initialize as \
  File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/codedeploy.py", line 17, in <module>
    from awscli.customizations.codedeploy.push import Push
  File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/push.py", line 24, in <module>
    from awscli.customizations.codedeploy.utils import validate_s3_location
  File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/utils.py", line 19, in <module>
    from awscli.customizations.codedeploy.systems import System, Ubuntu, Windows, RHEL
  File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/systems.py", line 14, in <module>
    import ctypes
  File "/usr/lib64/python3.9/ctypes/__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory

 

I'm not sure where to go from here and was hoping someone here may be able to help.

  • 8 months later...

Are you still having troubles with this? I got the AWS CLI working by installing it via docker, mounting a drive from the NAS that has the .config and .credentials files so I could then use it with multiple profiles. I wanted an easy way of running it to perform some off-prem backups to S3 so I then use the User Scripts plugin to create a bash script that installed it via docker and then ran the commands I need.

I put together a simple GIST using an example of listing the S3 bucket: https://gist.github.com/StevenMapes/f7a9959f9bac076219421664fa4165f3

 

Obviously that doesn't cover setting up the IAMs but it's the cleanest way I've found of using the AWS CLI with Unraid

  • 1 year later...

I need aws-cli to work while docker service is offline, so I downloaded the installer from amazon into some directory in boot drive.

 

then running produces a weird message like:

 

root@akina:/mnt/user/bucket/setup# sudo sh /boot/config/custom/aws/install
/boot/config/custom/aws/install: line 78: /boot/config/custom/aws/dist/aws: Permission denied
You can now run: /usr/local/bin/aws --version


I then realised aws executables are not really executables so I ran:
 

root@akina:/mnt/user/bucket/setup# chmod +x /usr/local/aws-cli/v2/current/dist/aws
root@akina:/mnt/user/bucket/setup# chmod +x /usr/local/aws-cli/v2/current/dist/aws_completer
root@akina:/mnt/user/bucket/setup# aws --version
aws-cli/2.23.6 Python/3.12.6 Linux/6.1.118-Unraid exe/x86_64.slackware.15


seems to work despite the weird error messages.

I guess the messages are indecipherable because I got neither mandoc nor groff

root@akina:/mnt/user/bucket/setup# aws help

Could not find executable named "groff or mandoc"



 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.