Building static files step error when upgrading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Deployment Tool |
Fix Released
|
High
|
Michael Hudson-Doyle |
Bug Description
Perform a upgrade install, meet file existing bug:
Building cache of static files...
+ lava-server manage '--instance-
WARNING:root:This instance will not use sentry as SENTRY_DSN is not configured
WARNING:root:This instance will not use sentry as SENTRY_DSN is not configured
/srv/lava/
"use STATIC_URL instead.", DeprecationWarning)
Traceback (most recent call last):
File "/srv/lava/
load_
File "/srv/lava/
run_
File "/srv/lava/
raise cls.run()
File "/srv/lava/
raise SystemExit(
File "/srv/lava/
return command.invoke()
File "/srv/lava/
execute_
File "/srv/lava/
utility.
File "/srv/lava/
self.
File "/srv/lava/
self.
File "/srv/lava/
output = self.handle(*args, **options)
File "/srv/lava/
return super(Command, self).handle(
File "/srv/lava/
return super(CommandLo
File "/srv/lava/
app_output = handle_method(app, **options)
File "/srv/lava/
self.
File "/srv/lava/
os.
OSError: [Errno 17] File exists
+ die 'Failed to update the cache of static content'
+ echo 'Failed to update the cache of static content'
Failed to update the cache of static content
+ exit 1
no longer affects: | lava-server |
Changed in lava-deployment-tool: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Michael Hudson-Doyle (mwhudson) |
milestone: | none → 2012.05 |
Changed in lava-deployment-tool: | |
status: | Fix Committed → Fix Released |
Seems it is caused by lava-server:
lava-server manage \
--instance- template= $LAVA_ROOT/ instances/ {instance} /etc/lava- server/ {{filename} }.conf \
--instance= $LAVA_INSTANCE \
build_ static --noinput --link || die "Failed to update the cache of static content"