Opened 15 years ago

Closed 15 years ago

#769 closed Defect (fixed)

tools/upgrade gives an error when trying to update the database

Reported by: Nicolas Owned by: davea
Priority: Major Milestone: Undetermined
Component: Server - Other Version:
Keywords: patch upgrade Cc:

Description

I get the following error when trying to run the upgrade tool:

sh: upgrade_db.php: not found

The bug seems to have been introduced in [16160].

Simple fix:

  • tools/upgrade

     
    6969except:
    7070    print '''Couldn't find svnversion'''
    7171
    72 os.system('cd '+INSTALL_DIR+'/html/ops; upgrade_db.php')
     72os.system('cd '+INSTALL_DIR+'/html/ops; ./upgrade_db.php')
    7373
    7474print "Run `bin/start' to restart the project."

Change History (2)

comment:1 Changed 15 years ago by Nicolas

Keywords: patch upgrade added
Version: 6.2.19

comment:2 Changed 15 years ago by davea

Resolution: fixed
Status: newclosed

(In [16481]) - upgrade: run "upgrade_db.php" correctly when "." not in search path

Fixes #769; from Nicolas

Note: See TracTickets for help on using tickets.