Comments (9)
from ocsinventory-server.
Bonjour,
Il faut que vous passiez les tables ayant 2147483648 entrées en bigint AUTOINCREMENT. En effet, celles-ci sont a la limite du int(11) que nous mettons dans le schéma de la version communautaire.
C'est une problématique assez courante sur les logiciels et les plugins.
Cordialement,
Gilles DUBOIS.
from ocsinventory-server.
@gillesdubois, enfin une explication claire et tangible! Merci pour votre retour rapide. Je vais effectuer la correction en début de semaine.
Cordialement,
from ocsinventory-server.
@gillesdubois ,je vous confirme que d'avoir passer la champ à BIGINT à résolu ce problème. Maintenant nous remarquons qu'au travers des erreurs. Nous avions également celle-ci:
DBD::mysql::st execute failed: Table 'ocsweb.softwares' doesn't exist at /usr/local/share/perl5/Apache/Ocsinventory/Server/Groups.pm line 165
Comment pouvons-nous la résoudre?
Merci
from ocsinventory-server.
Bonjour,
Nous avons changé le nom de la table software il y a plusieurs versions.
Assurez-vous que la partie communication du serveur est bien à jour.
Vous pouvez chercher le fichier Ocsinventory.pm sur votre système et voir les premières lignes du fichier.
Celui-ci vous indiquera si vous êtes dans la bonne version.
Gilles DUBOIS.
from ocsinventory-server.
Vous pouvez chercher le fichier Ocsinventory.pm sur votre système et voir les premières lignes du fichier. Celui-ci vous indiquera si vous êtes dans la bonne version.
@gillesdubois voici le contenu, nous semblons pourtant à la plus récente version du fichier Ocsinventory.pm
from ocsinventory-server.
Bonjour @thenamelessthing ,
Je remarque que l'erreur provient du fichier Group.pm
.
Il se peut que vous ayez des groupes qui utilisent encore l'ancienne table softwares
.
Cordialement,
Charlène
from ocsinventory-server.
Bonjour @thenamelessthing ,
Je remarque que l'erreur provient du fichier
Group.pm
. Il se peut que vous ayez des groupes qui utilisent encore l'ancienne tablesoftwares
.Cordialement, Charlène
Merci, effectivement bien vu! Je n'avais pas fait le lien. Mais après avoir regarder parmi mes groupes dynamiques. J'ai constaté que sur certains. Mes requêtes SQL ne fonctionnaient plus. J'ai donc détruit et recréé ces groupes.
Dernière question, je n'ai pas eu connaissance d'un quelconque avertissements lorsqu'il y a eu un changement au niveau de la table software. Il serait peut-être bien d'indiquer un message d'avertissement du genre: cette requête utilise une ancienne version de la table XX. Vous devrez recréer votre requête pour prendre en charge la nouvelle table YY. ?
Merci encore pour votre aide.
from ocsinventory-server.
Bonjour @thenamelessthing ,
En effet, lorsque nous avons effectué la modification de la structure de la table nous n'avons pas précisé cette information.
A noter qu'un changement de structure aussi conséquent reste un cas exceptionnel.
Si cela se reproduit, nous essaierons d'être un peu plus communiquant quand aux démarches à suivre, surtout si cela impacte une partie annexe de l'application.
Le sujet initial étant résolu, je me permet de clore l'issue. :-)
Cordialement,
Charlène
from ocsinventory-server.
Related Issues (20)
- How to remove old deleted computers that were injected to a higher level server by ocsinventory-injector.pl HOT 5
- After update, agents failing and no computers shown in 'All Computers' HOT 8
- Table 'ocs_db.DEVICE' doesn't exist !!! HOT 15
- CVE Reporting issue HOT 1
- One agent getting HTTP 500 errors when trying to POST inventory HOT 19
- Setup.sh fails with "cannot stat 'ocsreports/*': No such file or directory" HOT 16
- CHEKSUM error when updating hardware using GLPI Agent HOT 2
- GPG key expired - Installation from repo not possible HOT 1
- Administrative data is reset on each update from agent HOT 4
- Rest API Get last updated computers returning a 404 response HOT 2
- Upgrade from 2.11.0 to 2.12.0 Lost Static and Dinamic group HOT 2
- HTTP Stats Code #400. Agent will not communicate with server. HOT 5
- Apache server is not starting HOT 3
- LDAPS error HOT 2
- Ipdiscover ip/mac send from agent not found in table netmap HOT 2
- Error after migration from Oracle Linux 7 to 9 and php 7.3 to 8.2. PHP Fatal error: Uncaught Error: Undefined constant "SSL_MODE"
- IpDiscover does not find machines on the network HOT 4
- Can't create deployment package HOT 2
- Software table is missing in the Database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocsinventory-server.