Project

General

Profile

Bug #6664

error during package upgrade

Added by Frédéric Péters about 9 years ago. Updated about 9 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Jérôme Schneider
Category:
-
Target version:
Start date:
10 March 2015
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:

Description

[info] Collect static files...
Copying '/usr/lib/python2.7/dist-packages/authentic2/static/authentic2/js/purl.js'
Traceback (most recent call last):
  File "/usr/lib/authentic2/manage.py", line 20, in <module>
    execute_from_command_line(sys.argv[:1] + argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 533, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 168, in handle_noargs
    collected = self.collect()
  File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 107, in collect
    handler(path, prefixed_path, storage)
  File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 315, in copy_file
    self.storage.save(prefixed_path, source_file)
  File "/usr/lib/python2.7/dist-packages/django/core/files/storage.py", line 51, in save
    name = self._save(name, content)
  File "/usr/lib/python2.7/dist-packages/django/core/files/storage.py", line 193, in _save
    os.makedirs(directory)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/authentic2-multitenant/collected-static/authentic2'

History

#1

Updated by Benjamin Dauvergne about 9 years ago

  • Status changed from Nouveau to Solution déployée
  • Target version set to 2.1.13

Fixed.

commit e4b81d0a405bfb038569b45555249d64cd737d15
Author: Jérôme Schneider <jschneider@entrouvert.com>
Date:   Wed Mar 11 10:49:51 2015 +0100

    authentic2-multitenant: fix permissions on collected-static

#2

Updated by Benjamin Dauvergne about 9 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF