Ticket #769 (closed Defect: fixed)

Opened 1 year ago

Last modified 1 year ago

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

Reported by: Nicolas Assigned to: 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:

Index: tools/upgrade
===================================================================
--- tools/upgrade       (revision 16449)
+++ tools/upgrade       (working copy)
@@ -69,6 +69,6 @@
 except:
     print '''Couldn't find svnversion'''

-os.system('cd '+INSTALL_DIR+'/html/ops; upgrade_db.php')
+os.system('cd '+INSTALL_DIR+'/html/ops; ./upgrade_db.php')

 print "Run `bin/start' to restart the project."

Change History

11/08/08 17:44:46 changed by Nicolas

  • keywords set to patch upgrade.
  • version deleted.

11/11/08 15:45:56 changed by davea

  • status changed from new to closed.
  • resolution set to fixed.

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

Fixes #769; from Nicolas


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.