Modify

Opened 7 years ago

Closed 7 years ago

Last modified 15 months ago

#6703 closed defect (fixed)

error trying to upgrade environment

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

Description (last modified by rjollos)

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 7 years ago by anonymous

  • Cc larachan added; anonymous removed

comment:2 follow-up: Changed 7 years ago by Blackhex

  • Status changed from new to assigned

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 7 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 7 years ago by anonymous

  • Cc anonymous added; larachan removed
  • Resolution set to fixed
  • Status changed from assigned to closed

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 15 months ago by rjollos

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.