Snapins Issue : Hash does not match
-
@sebastian-roth I would agree that if this were a common issue, some of our users who use Snapins a lot (@Greg-Plamondon) would have likely noted it for us already.
is /opt/fog/snapins a link to another directory on your FOG Server? Maybe to an NFS or CIFS mounted share? (
ls -al /opt/fog
should be sufficient to at least tell us if it’s local or linked at least.)When the snapin is read, it’s read in binary mode. If, for some reason, the web service cannot read it (which we can see from /opt/fog/snapins being owned by fogproject:fogproject) it will give this issue. This should be fixed if you change the permissions from fogproject:fogproject to fogproject:www-data
chown -R fogproject:www-data /opt/fog/snapins
I would think. -
@Tom-Elliott Good point about maybe /opt/fog/snapins/ being on a different filesystem.
Don’t think it’s an ownership/access issue as rights are set to 777, so any user would be able to read that file. Same for the directory.@DARUN974 Beside Tom’s command, please also run
mount | grep opt
and post output here. -
Hello
FOG is installed on the root
There is no link.
Just a link for images.
I changed the permissions of fogproject: fogproject to fogproject: www-data
But still the same error.Result of the command: mount | grep opt:
-
-
Hello,
Thanks for your help.
On my side, I continue to check my network configuration: proxy …
I am in national education, we use the different modules of the EOLE distribution for our systems.
The installation of the FOG server was done using an eole_fog package provided by EOLE -
@darun974 said in Snapins Issue : Hash does not match:
The installation of the FOG server was done using an eole_fog package provided by EOLE
Well that is interesting. I have never heard of EOLE. @Tom-Elliott Do you know about this?
https://dev-eole.ac-dijon.fr/projects/eole-fog
Not sure if their setup process might have caused this. When I find a bit of time I might take a closer look at this. @DARUN974 Are you in contact with the developers of EOLE?
-
@sebastian-roth I’ve never heard of this either.
-
@sebastian-roth said in Snapins Issue : Hash does not match:
@DARUN974 Are you in contact with the developers of EOLE?
Hello,
I am not “really” in contact with the EOLE developers.
We use a forum to ask our questions: scribe@listeseole.ac-dijon.fr
I will see if other users have encountered this problem. -
Bonjour,
J’ai rencontré le même problème, la configuration de php est en cause.
Vérifiez dans le fichier php.ini que la variable allow_url_fopen est à On.
Redémarrez apache si vous faites la modification de Off à On, puis effectuez des tests.Sous EOLE, lors de la mise à jour automatique, le “reconfigure” va écraser la configuration php et remettre la variable à Off, il faut créer un patch creole pour péréniser la configuration allow_url_fopen=On.
Le problème n’est donc pas lié à fog mais à EOLE.
MP si vous voulez sur stephane DOT borgne AT savoie DOT fr
Cordialement,
Hi,
It’s a php misconfiguration specific recurently applied by EOLE distribution update process.
Issue is not from fog.
Regards,
Stéphane
-
-
Hello,
Sorry for the delay, I just noticed the change made.
I can’t wait to try this tomorrow.
I will come back to you.@sborgne Bonjour, Merci beaucoup . Je teste cela demain.
Regards.