Modify

Opened 15 years ago

Closed 15 years ago

Last modified 9 years ago

#6703 closed defect (fixed)

error trying to upgrade environment

Reported by: anonymous Owned by: Radek Bartoň
Priority: high Component: ScreenshotsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

please help. my environment is stuck with:

----------------------------
Trac Error

TracError: The Trac Environment needs to be upgraded.

Run "trac-admin /my/path/to/environment upgrade"
----------------------------

in shell i get an error when running:

$ trac-admin /my/path/to/environment upgrade

Result:
Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/trac/admin/console.py", line 1299, in run
    admin.run()
  File "/usr/lib/python2.4/site-packages/trac/admin/console.py", line 140, in run
    self.cmdloop()
  File "/usr/lib/python2.4/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.4/site-packages/trac/admin/console.py", line 123, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.4/cmd.py", line 219, in onecmd
    return func(arg)
  File "/usr/lib/python2.4/site-packages/trac/admin/console.py", line 1145, in do_upgrade
    self.__env.upgrade(backup=do_backup)
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 442, in upgrade
    participant.upgrade_environment(db)
  File "build/bdist.linux-x86_64/egg/tracscreenshots/init.py", line 40, in upgrade_environment
OSError: [Errno 13] Permission denied: '../screenshots'

please help... much appreciation in advance!

Attachments (0)

Change History (5)

comment:1 Changed 15 years ago by anonymous

Cc: lara added; anonymous removed

comment:2 Changed 15 years ago by Radek Bartoň

Status: newassigned

That's obvious, screenshots directory in your environment can't be created due to permission issue. Check and fix that.

comment:3 in reply to:  2 Changed 15 years ago by anonymous

Replying to Blackhex:

That's obvious, screenshots directory in your environment can't be created due to permission issue. Check and fix that.

_ any advice on where to start fixing permissions? i'm with dreamhost. is this something on my end... or on theirs?

comment:4 Changed 15 years ago by anonymous

Cc: anonymous added; lara removed
Resolution: fixed
Status: assignedclosed

DOH!!! nevermind....after running "chmod 755 index.fcgi" within my environment directory, i was able to fix this...

thanks for your help! :)

comment:5 Changed 9 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.