Beiträge von nasty_vibrations

    Hello,


    everytime I start my server and log into the webui I get an email "monit alert -- PID changed php5-fpm"



    What does this mean? Is there something wrong with my system?


    Thanks for any help.

    Hello everybody,


    Everytime I'm trying to view the changelog of an update I get the following error:


    Code
    Failed to execute command 'export LANG=C; dpkg-deb --fsys-tarfile '/var/cache/apt/archives/base-files_7.1wheezy11_amd64.deb' | tar -x --wildcards -C /tmp/575da47709341 ./usr/share/doc/base-files/changelog* 2>&1': tar: This does not look like a tar archive tar: ./usr/share/doc/base-files/changelog.gz: Not found in archive tar: Exiting with failure status due to previous errors


    Code
    Fehler #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; dpkg-deb --fsys-tarfile '/var/cache/apt/archives/base-files_7.1wheezy11_amd64.deb' | tar -x --wildcards -C /tmp/575da47709341 ./usr/share/doc/base-files/changelog* 2>&1': tar: This does not look like a tar archive
    tar: ./usr/share/doc/base-files/changelog.gz: Not found in archive
    tar: Exiting with failure status due to previous errors' in /usr/share/openmediavault/engined/rpc/apt.inc:405
    Stack trace:
    #0 [internal function]: OMVRpcServiceApt->getChangeLog(Array, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getChangeLog', Array, Array)
    #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Apt', 'getChangeLog', Array, Array, 1)
    #4 {main}


    Updates install fine:


    However, there is a warning that the updated packages cannot be authenticated. Don't know if this is related.


    This is my sources.list:


    What is going on here? I hope somebody can help me to resolve this.


    Thanks a lot..

    Hi,


    I have a question concerning Part 4, Step 3:
    isn't there supposed to be a

    Code
    location /media {
                root /opt/seafile/seafile/seafile-server-latest/seahub;
            }


    section in the nginx extras option? According to the seafile installation manual at http://manual.seafile.com/deploy/https_with_nginx.html there is one.


    Another thing: I don't know if you are aware of the "official" installation script of seafile at https://github.com/seafile/sea…/master/seafile_v5_debian
    It should only be run on a freshly installed machine, but you could certainly grab some hardened configurations out of it. It is rather complex and I certainly don't understand all of its content but I thought it would we worth mentioning this.


    Thanks a lot for all your work, I will be testing this procedure soon!

    Hello everybody,


    I hope it's not too much off-topic...
    I'm facing a problem with the new realesed Emby app for iPhone if I activate the https connection in the emby dashboard. As I don't own an official certificate I let Emby create a self-signed one for me (which is in the .pfx - format). If I now try to connect with the Emby app over https I get the error message "Verbindungsfehler: Wir können gerade keine Verbindung .... herstellen". After reading a little on the Emby community pages it seems like its necessary to import the .pfx - file into iPhone (which should then be saved as a Profile). So I sent it to my phone via email (really felt uncomfortable with it, is there any other possibility for this?) but when I click on the attachement it gives me "Ungültiges Profil", nothing else, just the OK button.
    So, how do I get my Emby iPhone App to communicate over https?


    Thanks a lot

    I'm using 10.10.5
    The 'inherit permissions=no' option was preset, I didn't change it. I was just highlighting it cause I thought it should work because this Option was set.
    But the only thing that worked for me (not having the moved folders the same permissions like they have on my MacBook) was the Option 'unix extensions=no '.
    But as your setup seems to work without this option I'm curious what I'M doing wrong.
    thanks a lot

    Hey everbody,


    i am having playback issues when I access my server from outside my lan over https with an iOS device. I can login, see my collections, but actually playing something never works. I'm using the self-signed certificate option within emby and a ddns Service. Changing to a http setup for external access works fine, but is absolutely not desired.
    Anybody else having this issue?
    Thanks

    Maybe the problem is the 'unix extension = yes' setting in the global section of smb.conf?? http://serverfault.com/questions/388194/samba-permissions-for-copied-files
    http://superuser.com/questions…on-samba-with-osx-clients
    But I'm unsure if I should change this? What do the experts think?


    Sorry, I don't get the first link to work...



    Edit: I think its working now. I disabled the unix extension in the OMV SMB Web Gui Extras Option field (unix extension = no).
    All moved folders now get 2755.


    Code
    ulf@NAS:/media/c588bd06-bdfd-4de8-ac08-c6f4cb90faed/media/music$ stat Albert\ Hammond\ Jr/
    Datei: „Albert Hammond Jr/“
    Größe: 4096          Blöcke: 8          EA Block: 4096   Verzeichnis
    Gerät: 811h/2065d    Inode: 86638598    Verknüpfungen: 3
    Zugriff: (2755/drwxr-sr-x)  Uid: ( 1001/     ulf)   Gid: (  100/   users)
    Zugriff    : 2015-11-06 21:54:18.619156272 +0100
    Modifiziert: 2014-07-03 20:08:01.000000000 +0200
    Geändert   : 2015-11-06 21:47:15.459138067 +0100
    Geburt    : -


    Not exactly sure what the 2 for the first digit means, but after all permissions are all getting the same when copied to the NAS.


    Thanks, @tekkb

    Are they keeping the chmod they had on the Apple machine?


    Yes, they keep the same chmod they have on my macbook! I checked my music folder on my macbook and the permissions there are not uniform, some have 'read' activated for 'others' (4 for last digit). If I copy these to the shared folder, emby recognizes them (...this basically means you are right and I understood ;-))


    My smb.conf:


    Inherit permissions = no ...

    I would really like to understand this problem a little better.
    The default permission setting for the shared folder is this:

    Code
    Zugriff: (2775/drwxrwsr-x)  Uid: (    0/    root)   Gid: (  100/   users)

    , i.e. owner (root) and group (users) members can read and write to the folder, right? New stuff that I move onto the share gets:

    Code
    Zugriff: (0700/drwx------)  Uid: ( 1001/     ulf)   Gid: (  100/   users)

    , i.e. only the user ulf can read and write to the folder.


    Changing (for example the Arcade Fire folder) permissions with 'chmod -R g+rw ArcadeFire' makes it read- and writable to group-members. But it doesn't have a positive effect in Emby UI, i.e. after a rescan the folder is still not recognized. So, that was probably the reason why I thought it must have something to do with the ownership....
    With what user is Emby accessing the folders? With the user emby?
    So many questions... :)


    If I do a rescan in Emby now, Albert Hammond Jr. and Arcade Fire are not recognized. Reset permissions??

    I'm not using AUFS.


    Now that the owner has changed you will have to delete the files via cli unless your change owner back to ulf


    What if I just let the owner as it is now: root??
    I don't really understand what you mean here. What should chown and/or chmod for files/folders be like to be ok for Emby??
    ...
    If I move new stuff to the music folder ls -l gives me the following:

    Code
    drwx------ 3 ulf  users 4096 Jul  3  2014 Albert Hammond Jr
    drwx------ 3 ulf  users 4096 Feb 14  2011 Arcade Fire
    drwxrwsr-x 7 root users 4096 Aug 11  2013 Michael Jackson
    drwxr-xr-x 2 ulf  users 4096 Nov  5 21:53 test


    Albert Hammond and Arcade Fire were newly copied to the NAS, Michael Jackson is the folder that was 'repaired' by the permission reset and test is a folder I just created on my mac over smb.

    hey, sorry for the late response. was busy working and taking care of my sick daughter...


    well, there we go. I went to the media folder and checked permissions and, indeed, ../movies was owned by ulf:users, whereas ../media (the shared folder) is owned by root:users. So, I set back the permissions as you suggested and it's all working now.
    So, all the folders and subfolders in my shared folder have to be owned by root, is this right?


    So, if I go on and copy more stuff to, let's say the music folder, I will have to set back permissions again for the shared folder, right?
    If so, maybe this should be documented somewhere?


    Best regards

    Hello everybody,


    i created a media share for emby according to the guide from @tekkb and i was able to connect to it via smb from my macbook. Inside the media folder I created the subfolders ../music and ../videos/movies and copied one movie file and one music album to my omv server. I think this should be ok.
    I installed emby, created an user (named the same as the one in omv) and two libraries, one for movies and one for music. This also seems to work, as I can see the shared folder with both subfolders in emby.
    Buuuut...I don't see any media...neither under Filme nor under Musik...!? It seems the library scan doesn't find anything.


    Hope to get some help. Thanks a lot!