Unable to add new snapin
-
Server
- FOG Version: rc23
- OS: ubuntu 14
Client
- Service Version: 11.5
- OS: win7
Description
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”
-
I’m not seeing a problem with creating new snapins, or updating existing snapins.
-
@Tom-Elliott Same. I’ve been working on snapins today all day.
-
You might check that ftp is running? If it is, check that user and password are set properly for the storage node that is being uploaded to.
-
Solution? (it’s solved!)
-
@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.
-
Even a full partition could cause it.
-
@Wayne-Workman
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,
FTP restartedStill no go. Any advise on what to try.
-
@theWizard Is the snapin file you’re trying to upload larger than the snapin upload limit? How big is it?
-
@Wayne-Workman 126kb so no its just a script as an exe.
-
@theWizard Are there any apache errors immediately after trying?
Web Interface -> FOG Configuration -> Log Viewer -> Apache errors
-
@Wayne-Workman I tried to check in gui but fog is not reporting any it just says no logs found for any logs.
-
@theWizard Can you give me the output of these two commands please?
ls -laht /opt/fog/log
ls -laht /
-
@Wayne-Workman said in Unable to add new snapin:
> 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
-
@Wayne-Workman Also tried re running the installer but no change, any ideas ?
-
@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/log
due 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 Look at the date of the files.
-
@Tom-Elliott November 7th. Last week.
-
@Wayne-Workman Precisely.
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.
-
@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.