Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-5346

DB is not synced with version

    XMLWordPrintable

Details

    • Help
    • Resolution: Done
    • Major
    • None
    • Professional Edition
    • Default
    • None

    Description

      Upgraded to 26.10.15440.
       
      discovery.php -u reports:
      Database is up to date.
       
      However:
      SHOW TABLES LIKE 'location%';
      returns no tables.
       
      devices table contains:
      location_id
      location_building
      location_floor
      location_room
      location_rack
      location_position
       
      panel.php generates queries against locations table:
       
      LEFT JOIN locations USING (location_id)
       
      resulting in:
      #1146 Table 'observium.locations' doesn't exist
       
      Looks like migration 545 executed partially:
      ALTER TABLE devices completed,
      but CREATE TABLE locations/location_rules/location_formats did not.
       
      Is there a way to fix this ?

      Attachments

        Activity

          People

            landy Mike Stupalov
            Eng Ip
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: