Code Monkey home page Code Monkey logo

Comments (2)

gillesdubois avatar gillesdubois commented on May 20, 2024

Hello, as your other issue i cannot reproduce this bug :

If you're sure that is a bug and not a configuration / installation problems you should re-post one issue with more details.
See this issue answer for more details on what you need to post for a quick and accurate reply => #7 .

Sorry for inconvenience you met.
Regards, Gilles Dubois.

from ocsinventory-server.

netexpertise avatar netexpertise commented on May 20, 2024

Hi,
I got the exact same error

I didn't have too much time to troubleshoot which table was causing the problem so I looked for all tables containing the "cache" keyword since it is related to the cache.pm file.

  • groups_cache
  • hardware_osname_cache
  • registry_name_cache
  • registry_regvalue_cache
  • softwares_name_cache

I looked for the collation field setting with
mysql> show full columns from hardware_osname_cache;
| Field | Type | Collation | ...
| ID | ...
| OSNAME | varchar(255) | latin1_swedish_ci | ...

and converted them to utf8
ALTER TABLE hardware_osname_cache MODIFY OSNAME VARCHAR(255) COLLATE utf8_general_ci;
ALTER TABLE registry_name_cache MODIFY NAME VARCHAR(255) COLLATE utf8_general_ci;
ALTER TABLE registry_regvalue_cache MODIFY REGVALUE VARCHAR(255) COLLATE utf8_general_ci;
ALTER TABLE softwares_name_cache MODIFY NAME VARCHAR(255) COLLATE utf8_general_ci;

Errors in logs have gone away.
Those fields must have been created with your default Mysql collation property I suppose.

David

from ocsinventory-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.