Failed to add snapin, unable to locate snapin directory.



  • SVN 4521 Cloud 5700
    Fedora 23 Server

    Seems like I can’t upload any files as snapins.

    0_1449853930854_upload-d8a4443c-0385-4753-b82a-a45b81a71252

    I’ve set the snapins directory with 777, and the ownership looks to be fog:apache



  • Confirmed fixed (again) in r7174. :-)


  • Senior Developer

    Please update. r7168 is so 4 - 5 commits ago.



  • This problem has returned… Snapins were working for me, but now they are not after upgrading this morning. I don’t know how long they haven’t worked for - except for what I posted in this thread 2 months ago that they were working on r6339 with a fresh rebuild.

    I’m currently on r7168, running Fedora 21.

    Here’s a screenshot of the error:
    0_1460563907210_upload-c524bcf2-2858-4c75-a915-ea63cd006e2b

    Here’s the snapin I’m trying to setup:
    0_1460563956119_upload-ec2820e0-80b4-4f70-8b92-f4a15a621fe5

    There are no apache error logs about this.
    Snapin path for this storage node is set as:
    0_1460564008808_upload-ad7c7fd1-6337-41d8-b912-2737f175cb7c

    Permissions on the snapins directory:

    [root@localhost fog]# ls -lahRt /opt/fog/snapins
    /opt/fog/snapins:
    total 40M
    drwxr-xr-x. 5 root root   4.0K Apr 13 09:54 ..
    drwxrwxr-x. 3 fog  apache 4.0K Mar 15 08:11 .
    -rwxrwxr-x. 1 fog  apache  21M Mar 15 07:48 install_flash_player_21_plugin.msi
    -rwxrwxr-x. 1 fog  apache  20M Mar 15 07:32 install_flash_player_21_active_x.msi
    drwxrwxr-x. 3 fog  apache 4.0K Feb 25 08:44 ssl
    
    /opt/fog/snapins/ssl:
    total 20K
    drwxrwxr-x. 3 fog apache 4.0K Mar 15 08:11 ..
    drwxrwxr-x. 3 fog apache 4.0K Feb 25 08:44 .
    -rwxrwxr-x. 1 fog apache 1.6K Feb 10 11:13 fog.csr
    -rwxrwxr-x. 1 fog apache 3.2K Feb 10 11:13 .srvprivate.key
    drwxrwxr-x. 2 fog apache 4.0K Feb 10 11:13 CA
    
    /opt/fog/snapins/ssl/CA:
    total 20K
    -rwxrwxr-x. 1 fog apache   17 Apr 13 09:53 .srl
    drwxrwxr-x. 3 fog apache 4.0K Feb 25 08:44 ..
    -rwxrwxr-x. 1 fog apache 3.2K Feb 10 11:13 .fogCA.key
    drwxrwxr-x. 2 fog apache 4.0K Feb 10 11:13 .
    -rwxrwxr-x. 1 fog apache 1.8K Feb 10 11:13 .fogCA.pem
    


  • FYI, after I rebuilt my FOG server (now on r6339), snapins are working properly.



  • I’m now on svn 4637 cloud 5937, and I’m on Fedora 23 still.

    I’m still getting the exact same error.



  • Tom asked me to delete the web roots and then rerun the installer. I did that. I’m still getting the same error.

    This is what I did:

    cd /root/svn/trunk
    svn up
    cd bin
    rm -rf /var/www/fog
    rm -rf /var/www/html/fog
    ./installfog.sh -y
    

  • Senior Developer

    I think what you’re seeing is the same issue in respect to the storage group failing to find.



  • Snapin path looks good to me. I don’t see any relevant apache errors.

    0_1449854075320_upload-8e8b41a9-2fc7-49e6-92db-13a1965f5592


 

330
Online

41.4k
Users

11.8k
Topics

112.2k
Posts