Beiträge von skinnzl

    Hi subzero79, I had tried this without success earlier.


    Today I have fixed the issue by creating a new file in /etc/default called sickbeard


    nano /etc/default/sickbeard


    and adding:


    Code
    Environment=LC_ALL=en_US.UTF-8
    Environment=LANG=en_US.UTF-8


    then saving and restarting sickbeard with


    service sickbeard restart

    There are a few posts with this problem.


    They all seem to relate to the characther encoding set used.


    SickRage requires utf-8 but the sickbread user created and script used to start it don't pass a locale to sickrage correctly.


    To get around the problem I have been manually starting sickrage as root, this passes the locale correctly.


    Go to http://youip:8081/config and let me know if your SR locale is (none,none).


    When I launch as root this becomes ('en_NZ', 'UTF-8') and everything works perfect.


    Should be a simple change to the start script to force utf-8 encoding but I haven't managed to figure it out yet.

    Hi,


    Since a recent update to sickbeard I have been having problems with the post processor crashing, the problem seems to be caused by the locale of the system user account not being set to force to UTF8, this results in the error:


    UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 99: ordinal not in range(128)


    being produced by sickbeard when trying to post process and I believe it has started when sickbeard was changed away from forcing utf-8 and started using the user account locale.


    I can avoid thew error by starting sickbeard from command line under the root account with the locale set correctly but I have not yet found a way to get the account called sickbeard to correctly start sickbeard with the correct locale using the init.d script. I suspect the script with need to export the LANG to function correctly.


    I have tried to set the locale for the sickbeard account by creating .profile and .rcbash files with the following:


    export LC_ALL=en_NZ.UTF-8
    export LANG=en_NZ.UTF-8
    export LANGUAGE=en_NZ.UTF-8


    But this has not worked. I think the change that's required is in the init.d/sickbeard file but this is over my head.


    Does any body have any suggestions on how to get the sickbeard init.d to correct set the encoding to UTF-8?


    Thanks and regards,
    John

    Folders are in aufs, I fixed the problem by changing the permissions for the files in one of the pooled drives, for some reason they were incorrect on the one drive.

    As further information, I don't use ACL's and using getflac gives the ACL for the problem subdirectory as:
    # file: media/UUID/SHARE/problem dir/
    # owner: root
    # group: users
    # flags: -s-

    Hi,


    I copied a file from a secure samba share to a public one and now I am unable to access the file from windows regardless of login.


    I have checked the permissions and ownership and they are all "drwxrwsr-x 7 root users" for directories and "-rw-rw-r-- 1 root users " for files.


    Does any body have any suggestions what I try next?


    Thanks,


    John