Unable to add new snapin
- FOG Version: rc23
- OS: ubuntu 14
- Service Version: 11.5
- OS: win7
Is anyone else unable to add a new snapin ? If i attempt to add a new one i get “Failed to add/update snapin file”
Worked with @theWizard yesterday via remote session.
Found that the snapins were being uploaded to another storage node. That storage node /opt/fog/snapins folder had incorrect permissions on it.
Fixed the permissions and confirmed the working on working-RC-24. I’m solving this thread.
@Tom-Elliott Attempted svn but have both available if needed.
@theWizard Are you using git or svn for installation?
@Wayne-Workman Ok followed your steps and checked again, same result for both logs and snapins. If i try re running the installer it fails on installing php-fpm ( i assume the old one ? ).
Wayne Workman last edited by Wayne Workman
@theWizard Try to uninstall the old php-fpm version, and then install the newer version, and then give the server a reboot.
apt-get remove php5-fpm -y
apt-get install php5.6-fpm -y
Also, topic has been moved to FOG Problems.
The guess I have? PHP FPM is the issue, why, because last week we switched the ondrej stuff becuase they changed.
But again, this is not a bug in FOG. This is a change in OS and Repo structure which is already “corrected” for.
@Tom-Elliott November 7th. Last week.
@Wayne-Workman Look at the date of the files.
@theWizard Yes, I have ideas. I need to talk with Tom first about it.
@Tom-Elliott This is a case where the logs are going to the
/directory instead of
/opt/fog/logdue to DB connectivity issues. What do we do? I suspect this is probably related to being unable to create a new snapin somehow as well.
@Wayne-Workman Also tried re running the installer but no change, any ideas ?
> ls -laht /opt/fog/log total 8.0K drwxrwxrwx 2 fog www-data 4.0K Nov 16 14:37 . drwxrwxrwx 6 fog www-data 4.0K Nov 15 15:47 .. > ls -laht / total 132K drwxrwxrwt 6 root root 4.0K Nov 16 15:10 tmp drwxr-xr-x 137 root root 12K Nov 16 14:18 etc drwxr-xr-x 32 root root 1.1K Nov 15 16:03 run drwxr-xr-x 6 root root 4.0K Nov 15 15:47 tftpboot.prev drwxr-xr-x 27 root root 4.0K Nov 15 15:47 . drwxr-xr-x 27 root root 4.0K Nov 15 15:47 .. drwxr-xr-x 12 root root 4.0K Nov 15 15:45 home drwxr-xr-x 17 root root 4.4K Nov 11 08:42 dev dr-xr-xr-x 13 root root 0 Nov 11 08:41 sys dr-xr-xr-x 274 root root 0 Nov 11 08:41 proc -rw-r--r-- 1 root root 41 Nov 7 14:47 fogscheduler.log -rw-r--r-- 1 root root 56 Nov 7 14:40 fogsnapinrep.log drwxr-xr-x 2 root root 4.0K Nov 3 10:57 bin drwxr-xr-x 3 root root 4.0K Nov 3 10:56 boot lrwxrwxrwx 1 root root 29 Nov 3 10:55 vmlinuz -> boot/vmlinuz-4.4.0-45-generic lrwxrwxrwx 1 root root 32 Nov 3 10:55 initrd.img -> boot/initrd.img-4.4.0-45-generic drwxr-xr-x 6 fog root 4.0K Oct 24 15:39 tftpboot drwxr-xr-x 48 fog www-data 4.0K Oct 24 11:26 images lrwxrwxrwx 1 root root 29 Sep 29 16:08 vmlinuz.old -> boot/vmlinuz-4.4.0-38-generic lrwxrwxrwx 1 root root 32 Sep 29 16:08 initrd.img.old -> boot/initrd.img-4.4.0-38-generic drwxr-xr-x 2 root root 12K Sep 28 15:46 sbin drwx------ 6 root root 4.0K Sep 8 11:01 root -rw-r--r-- 1 root root 2.3K Sep 8 11:00 webmin-setup.out drwxr-xr-x 15 root root 4.0K Sep 8 10:59 var drwxrwxrwx 11 root www-data 4.0K Aug 17 10:54 svn drwxr-xr-x 23 root root 4.0K Aug 1 10:38 lib drwxr-xr-x 2 root root 4.0K Aug 1 10:34 lib64 drwxr-xr-x 3 root root 4.0K Mar 23 2016 mnt drwxr-xr-x 3 root root 4.0K Mar 23 2016 media drwxr-xr-x 3 root root 4.0K Mar 23 2016 opt drwxr-xr-x 3 root root 4.0K Mar 23 2016 srv drwxrwxr-x 2 root root 4.0K Mar 23 2016 cdrom drwx------ 2 root root 16K Mar 23 2016 lost+found drwxr-xr-x 10 root root 4.0K Feb 17 2016 usr
@theWizard Can you give me the output of these two commands please?
ls -laht /opt/fog/log
ls -laht /
@Wayne-Workman I tried to check in gui but fog is not reporting any it just says no logs found for any logs.
@theWizard Are there any apache errors immediately after trying?
Web Interface -> FOG Configuration -> Log Viewer -> Apache errors
@Wayne-Workman 126kb so no its just a script as an exe.
@theWizard Is the snapin file you’re trying to upload larger than the snapin upload limit? How big is it?
Well i have no full partition,
FTP is running correctly,
FTP Credentials have been checked but also reset to what they should be to make sure,
Still no go. Any advise on what to try.
Even a full partition could cause it.
@x23piracy It’s solved because the issue doesn’t exist. I believe the problem is FTP permissions or credentials as to the reason why it’s not working. There is also the possiblity the temp folder is unable to be written to. Too many variables, but not something that fog is directly causing.