SOLVED 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.
I’ve set the snapins directory with 777, and the ownership looks to be fog:apache
Confirmed fixed (again) in r7174.
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:
Here’s the snapin I’m trying to setup:
There are no apache error logs about this.
Snapin path for this storage node is set as:
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
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.