run s3cmd on Synology NAS Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Come Celebrate our 10 Year Anniversary!Synology NAS server for home network?Can I run iostat on a Synology?Can't log in via SSH to any accounts using /bin/bash shell on Synology NASs3cmd with --delete-removedSynology NAS - rsync messing up versioning / deduplicationNAS synology cannot join to domainSynology NAS: hdd hibernation and disk lifeConfiguring Synology NAS as freeIPA clientSynology NAS ssh key auth not workingNAS storage comparison for Synology vs Overland

Are these square matrices always diagonalisable?

Why did Israel vote against lifting the American embargo on Cuba?

Israeli soda type drink

Is Bran literally the world's memory?

What is the term for a person whose job is to place products on shelves in stores?

Seek and ye shall find

Did the Roman Empire have penal colonies?

What *exactly* is electrical current, voltage, and resistance?

My admission is revoked after accepting the admission offer

How long after the last departure shall the airport stay open for an emergency return?

What is "leading note" and what does it mean to "raise a note"?

"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?

Need of separate security plugins for both root and subfolder sites Wordpress?

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Does the set of sets which are elements of every set exist?

Book with legacy programming code on a space ship that the main character hacks to escape

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

How to keep bees out of canned beverages?

How to not starve gigantic beasts

Identify story/novel: Tribe on colonized planet, not aware of this. "Taboo," altitude sickness, robot guardian (60s? Young Adult?)

Retract an already submitted recommendation letter (written for an undergrad student)

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Justification for leaving new position after a short time

Function to calculate red-edgeNDVI in Google Earth Engine



run s3cmd on Synology NAS



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!Synology NAS server for home network?Can I run iostat on a Synology?Can't log in via SSH to any accounts using /bin/bash shell on Synology NASs3cmd with --delete-removedSynology NAS - rsync messing up versioning / deduplicationNAS synology cannot join to domainSynology NAS: hdd hibernation and disk lifeConfiguring Synology NAS as freeIPA clientSynology NAS ssh key auth not workingNAS storage comparison for Synology vs Overland



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm trying to use s3cmd on a Synology NAS with DSM 6.0, and I'm getting this error.
I've installed the python-magic libs but still.



[root@OFFICE_01 arc]# s3cmd --version

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
following lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net

Error loading some components of s3cmd (Import Error)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Invoked as: /bin/s3cmd --version
Problem: RuntimeError: can not find library magic
S3cmd: 2.0.1+
python: 2.7.12 (default, Apr 20 2017, 02:26:22)
[GCC 4.9.3 20150311 (prerelease)]
environment LANG=en_US.UTF-8

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/s3cmd-2.0.1-py2.7.egg/EGG-INFO/scripts/s3cmd", line 3054, in <module>
File "/usr/bin/S3/S3.py", line 50, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic.py", line 155, in <module>
dll = ctypes.util.find_library('magic') or ctypes.util.find_library('magic1') or ctypes.util.find_library('cygmagic-1')
File "/usr/lib/python2.7/ctypes/util.py", line 242, in find_library
raise RuntimeError("can not find library %s" % name)
RuntimeError: can not find library magic

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
above lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!``









share|improve this question
























  • Obviously you and the system disagree: " I've installed the python-magic" vs "RuntimeError: can not find library magic". You will probably need to give more details on how you installed the library...

    – Patrick Mevzek
    Apr 17 at 22:32











  • I agree we disagree! [root@OFFICE_01 ~]# pip install python-magic Requirement already satisfied: python-magic in /usr/lib/python2.7/site-packages (0.4.15)

    – brunobhr
    Apr 17 at 22:36











  • The python part of the library is here but it tries to load its C (DLL) part and does not find it. Do you have libmagic installed?

    – Patrick Mevzek
    Apr 17 at 22:40











  • Yes..[root@OFFICE_01 ~]# pip install libmagic Requirement already satisfied: libmagic in /usr/lib/python2.7/site-packages (1.0)

    – brunobhr
    Apr 17 at 22:47











  • If you wouldn't mind voting this question as at least genuine and informed, that'd already be of great help, as I am struggling with my profile despite doing my very best to follow the etiquette..

    – brunobhr
    Apr 17 at 23:22

















0















I'm trying to use s3cmd on a Synology NAS with DSM 6.0, and I'm getting this error.
I've installed the python-magic libs but still.



[root@OFFICE_01 arc]# s3cmd --version

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
following lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net

Error loading some components of s3cmd (Import Error)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Invoked as: /bin/s3cmd --version
Problem: RuntimeError: can not find library magic
S3cmd: 2.0.1+
python: 2.7.12 (default, Apr 20 2017, 02:26:22)
[GCC 4.9.3 20150311 (prerelease)]
environment LANG=en_US.UTF-8

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/s3cmd-2.0.1-py2.7.egg/EGG-INFO/scripts/s3cmd", line 3054, in <module>
File "/usr/bin/S3/S3.py", line 50, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic.py", line 155, in <module>
dll = ctypes.util.find_library('magic') or ctypes.util.find_library('magic1') or ctypes.util.find_library('cygmagic-1')
File "/usr/lib/python2.7/ctypes/util.py", line 242, in find_library
raise RuntimeError("can not find library %s" % name)
RuntimeError: can not find library magic

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
above lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!``









share|improve this question
























  • Obviously you and the system disagree: " I've installed the python-magic" vs "RuntimeError: can not find library magic". You will probably need to give more details on how you installed the library...

    – Patrick Mevzek
    Apr 17 at 22:32











  • I agree we disagree! [root@OFFICE_01 ~]# pip install python-magic Requirement already satisfied: python-magic in /usr/lib/python2.7/site-packages (0.4.15)

    – brunobhr
    Apr 17 at 22:36











  • The python part of the library is here but it tries to load its C (DLL) part and does not find it. Do you have libmagic installed?

    – Patrick Mevzek
    Apr 17 at 22:40











  • Yes..[root@OFFICE_01 ~]# pip install libmagic Requirement already satisfied: libmagic in /usr/lib/python2.7/site-packages (1.0)

    – brunobhr
    Apr 17 at 22:47











  • If you wouldn't mind voting this question as at least genuine and informed, that'd already be of great help, as I am struggling with my profile despite doing my very best to follow the etiquette..

    – brunobhr
    Apr 17 at 23:22













0












0








0








I'm trying to use s3cmd on a Synology NAS with DSM 6.0, and I'm getting this error.
I've installed the python-magic libs but still.



[root@OFFICE_01 arc]# s3cmd --version

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
following lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net

Error loading some components of s3cmd (Import Error)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Invoked as: /bin/s3cmd --version
Problem: RuntimeError: can not find library magic
S3cmd: 2.0.1+
python: 2.7.12 (default, Apr 20 2017, 02:26:22)
[GCC 4.9.3 20150311 (prerelease)]
environment LANG=en_US.UTF-8

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/s3cmd-2.0.1-py2.7.egg/EGG-INFO/scripts/s3cmd", line 3054, in <module>
File "/usr/bin/S3/S3.py", line 50, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic.py", line 155, in <module>
dll = ctypes.util.find_library('magic') or ctypes.util.find_library('magic1') or ctypes.util.find_library('cygmagic-1')
File "/usr/lib/python2.7/ctypes/util.py", line 242, in find_library
raise RuntimeError("can not find library %s" % name)
RuntimeError: can not find library magic

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
above lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!``









share|improve this question
















I'm trying to use s3cmd on a Synology NAS with DSM 6.0, and I'm getting this error.
I've installed the python-magic libs but still.



[root@OFFICE_01 arc]# s3cmd --version

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
following lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net

Error loading some components of s3cmd (Import Error)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Invoked as: /bin/s3cmd --version
Problem: RuntimeError: can not find library magic
S3cmd: 2.0.1+
python: 2.7.12 (default, Apr 20 2017, 02:26:22)
[GCC 4.9.3 20150311 (prerelease)]
environment LANG=en_US.UTF-8

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/s3cmd-2.0.1-py2.7.egg/EGG-INFO/scripts/s3cmd", line 3054, in <module>
File "/usr/bin/S3/S3.py", line 50, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic.py", line 155, in <module>
dll = ctypes.util.find_library('magic') or ctypes.util.find_library('magic1') or ctypes.util.find_library('cygmagic-1')
File "/usr/lib/python2.7/ctypes/util.py", line 242, in find_library
raise RuntimeError("can not find library %s" % name)
RuntimeError: can not find library magic

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
above lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!``






linux synology s3cmd






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 17 at 23:13







brunobhr

















asked Apr 17 at 22:08









brunobhrbrunobhr

88




88












  • Obviously you and the system disagree: " I've installed the python-magic" vs "RuntimeError: can not find library magic". You will probably need to give more details on how you installed the library...

    – Patrick Mevzek
    Apr 17 at 22:32











  • I agree we disagree! [root@OFFICE_01 ~]# pip install python-magic Requirement already satisfied: python-magic in /usr/lib/python2.7/site-packages (0.4.15)

    – brunobhr
    Apr 17 at 22:36











  • The python part of the library is here but it tries to load its C (DLL) part and does not find it. Do you have libmagic installed?

    – Patrick Mevzek
    Apr 17 at 22:40











  • Yes..[root@OFFICE_01 ~]# pip install libmagic Requirement already satisfied: libmagic in /usr/lib/python2.7/site-packages (1.0)

    – brunobhr
    Apr 17 at 22:47











  • If you wouldn't mind voting this question as at least genuine and informed, that'd already be of great help, as I am struggling with my profile despite doing my very best to follow the etiquette..

    – brunobhr
    Apr 17 at 23:22

















  • Obviously you and the system disagree: " I've installed the python-magic" vs "RuntimeError: can not find library magic". You will probably need to give more details on how you installed the library...

    – Patrick Mevzek
    Apr 17 at 22:32











  • I agree we disagree! [root@OFFICE_01 ~]# pip install python-magic Requirement already satisfied: python-magic in /usr/lib/python2.7/site-packages (0.4.15)

    – brunobhr
    Apr 17 at 22:36











  • The python part of the library is here but it tries to load its C (DLL) part and does not find it. Do you have libmagic installed?

    – Patrick Mevzek
    Apr 17 at 22:40











  • Yes..[root@OFFICE_01 ~]# pip install libmagic Requirement already satisfied: libmagic in /usr/lib/python2.7/site-packages (1.0)

    – brunobhr
    Apr 17 at 22:47











  • If you wouldn't mind voting this question as at least genuine and informed, that'd already be of great help, as I am struggling with my profile despite doing my very best to follow the etiquette..

    – brunobhr
    Apr 17 at 23:22
















Obviously you and the system disagree: " I've installed the python-magic" vs "RuntimeError: can not find library magic". You will probably need to give more details on how you installed the library...

– Patrick Mevzek
Apr 17 at 22:32





Obviously you and the system disagree: " I've installed the python-magic" vs "RuntimeError: can not find library magic". You will probably need to give more details on how you installed the library...

– Patrick Mevzek
Apr 17 at 22:32













I agree we disagree! [root@OFFICE_01 ~]# pip install python-magic Requirement already satisfied: python-magic in /usr/lib/python2.7/site-packages (0.4.15)

– brunobhr
Apr 17 at 22:36





I agree we disagree! [root@OFFICE_01 ~]# pip install python-magic Requirement already satisfied: python-magic in /usr/lib/python2.7/site-packages (0.4.15)

– brunobhr
Apr 17 at 22:36













The python part of the library is here but it tries to load its C (DLL) part and does not find it. Do you have libmagic installed?

– Patrick Mevzek
Apr 17 at 22:40





The python part of the library is here but it tries to load its C (DLL) part and does not find it. Do you have libmagic installed?

– Patrick Mevzek
Apr 17 at 22:40













Yes..[root@OFFICE_01 ~]# pip install libmagic Requirement already satisfied: libmagic in /usr/lib/python2.7/site-packages (1.0)

– brunobhr
Apr 17 at 22:47





Yes..[root@OFFICE_01 ~]# pip install libmagic Requirement already satisfied: libmagic in /usr/lib/python2.7/site-packages (1.0)

– brunobhr
Apr 17 at 22:47













If you wouldn't mind voting this question as at least genuine and informed, that'd already be of great help, as I am struggling with my profile despite doing my very best to follow the etiquette..

– brunobhr
Apr 17 at 23:22





If you wouldn't mind voting this question as at least genuine and informed, that'd already be of great help, as I am struggling with my profile despite doing my very best to follow the etiquette..

– brunobhr
Apr 17 at 23:22










1 Answer
1






active

oldest

votes


















0














I managed to make use of s3cmd by upgrading to Python 3 and pip3:



>opkg install python3-pip



>pip3 install s3cmd



[root@OFFICE_01 ~]# s3cmd --version
s3cmd version 2.0.2





share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963566%2frun-s3cmd-on-synology-nas%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I managed to make use of s3cmd by upgrading to Python 3 and pip3:



    >opkg install python3-pip



    >pip3 install s3cmd



    [root@OFFICE_01 ~]# s3cmd --version
    s3cmd version 2.0.2





    share|improve this answer





























      0














      I managed to make use of s3cmd by upgrading to Python 3 and pip3:



      >opkg install python3-pip



      >pip3 install s3cmd



      [root@OFFICE_01 ~]# s3cmd --version
      s3cmd version 2.0.2





      share|improve this answer



























        0












        0








        0







        I managed to make use of s3cmd by upgrading to Python 3 and pip3:



        >opkg install python3-pip



        >pip3 install s3cmd



        [root@OFFICE_01 ~]# s3cmd --version
        s3cmd version 2.0.2





        share|improve this answer















        I managed to make use of s3cmd by upgrading to Python 3 and pip3:



        >opkg install python3-pip



        >pip3 install s3cmd



        [root@OFFICE_01 ~]# s3cmd --version
        s3cmd version 2.0.2






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 19 at 10:55

























        answered Apr 18 at 20:14









        brunobhrbrunobhr

        88




        88



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963566%2frun-s3cmd-on-synology-nas%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company