Skip to content

zmupdate fails on upgrade from 1.25 to 1.26.4 #234

@pedrocr

Description

@pedrocr

I'm trying to update zoneminder to version 1.26.4 from iconnor's ppa. When running zmupdate I get this error:

$ sudo zmupdate.pl 

Initiating database upgrade to version 1.26.4 from version 1.25.0

Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop : 

Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp/zm if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n

Upgrading database to version 1.26.4
Loading config from DB
Saving config to DB

Previous versions of ZoneMinder used the MyISAM database engine.
However, the recommended database engine is InnoDB.

Hint: InnoDB tables are much less likely to be corrupted during an unclean shutdown.

Press 'y' to convert your tables to InnoDB or 'n' to skip : y

No MyISAM tables found. Skipping...
Can't open updateDir No such file or directory at /usr/bin/zmupdate.pl line 1034, <STDIN> line 3.

I assume this has something to do with not being able to correctly find /usr/share/zoneminder/db/. Any pointers on how to fix the script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions