Skip to content

Instantly share code, notes, and snippets.

View css
~/Documents/gitRepos/addons-server[master*]$ docker-compose exec web ls /code/static
~/Documents/gitRepos/addons-server[master*]$ docker-compose exec web ls /code/static/css
ls: cannot access '/code/static/css': No such file or directory
ERROR: 2
View code folder
~/Documents/gitRepos/addons-server[master*]$ docker-compose exec web ls /code
conftest.py logs services
contribute.json Makefile settings.py
docker Makefile-docker settings_test.py
docker-compose.override.yml Makefile-os setup.cfg
docker-compose.private.yml manage.py setup.py
docker-compose.yml package.json site-static
Dockerfile package-lock.json src
Dockerfile.deploy private static
Dockerfile.perftests pyproject.toml storage
View static.css
~/Documents/gitRepos/addons-server[master*]$ ls -l static/css/
total 0
drwxr-xr-x 12 bsilverberg staff 384 May 11 14:01 admin
drwxr-xr-x 5 bsilverberg staff 160 May 11 14:01 common
drwxr-xr-x 14 bsilverberg staff 448 May 11 14:01 devhub
drwxr-xr-x 3 bsilverberg staff 96 May 11 14:01 errors
drwxr-xr-x 43 bsilverberg staff 1376 May 11 14:01 impala
drwxr-xr-x 6 bsilverberg staff 192 May 11 14:01 legacy
drwxr-xr-x 3 bsilverberg staff 96 May 11 14:01 moz_header
drwxr-xr-x 3 bsilverberg staff 96 May 11 14:01 node_lib
View docker-compose up -d error
Starting 7f6979a133a4_addons-server_nginx_1 ... error
ERROR: for 7f6979a133a4_addons-server_nginx_1 Cannot start service nginx: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "/host_mnt/Users/bsilverberg/Documents/gitRepos/addons-server/storage/files" to rootfs at "/var/lib/docker/overlay2/9dd8520ba2a1e7623d03849112a45d987a0112c8e395043fa8b2c392e2286c67/merged/srv/user-media/addons" caused: mkdir /var/lib/docker/overlay2/9dd8520ba2a1e7623d03849112a45d987a0112c8e395043fa8b2c392e2286c67/merged/srv/user-media/addons: no such file or directory: unknown
ERROR: for nginx Cannot start service nginx: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "/host_mnt/Users/bsilverberg/Documents/gitRepos/addons-server/storage/files" to rootfs at "/var/lib/docker/overlay2/9dd8520ba2a1e7623d03849112a45d9
View make update_docker error
audited 754 packages in 20.65s
58 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
for dest in @claviska/jquery-minicolors/jquery.minicolors.css @claviska/jquery-minicolors/jquery.minicolors.png ; do cp /deps/node_modules/$dest static/css/node_lib/ ; done
cp: cannot create regular file 'static/css/node_lib/': No such file or directory
cp: cannot create regular file 'static/css/node_lib/': No such file or directory
View extract-l10n.sh error
Extracting all strings in domain django...
src/olympia/__init__.py
src/olympia/urls.py
src/olympia/wsgi.py
src/olympia/abuse/__init__.py
src/olympia/abuse/admin.py
src/olympia/abuse/models.py
src/olympia/abuse/serializers.py
src/olympia/abuse/urls.py
src/olympia/abuse/views.py
View node server console output
webpack building...
[1] [piping] File bin/server.js has changed, reloading.
[0]
[0] <--- Last few GCs --->
[0]
[0] [47668:0x110008000] 5606469 ms: Mark-sweep 2034.9 (2059.2) -> 2030.6 (2076.2) MB, 180.2 / 0.0 ms (average mu = 0.196, current mu = 0.137) allocation failure scavenge might not succeed
[0] [47668:0x110008000] 5606695 ms: Mark-sweep 2042.8 (2076.2) -> 2031.5 (2049.7) MB, 9.8 / 0.1 ms (+ 173.9 ms in 191 steps since start of marking, biggest step 15.9 ms, walltime since start of marking 226 ms) (average mu = 0.192, current mu = 0.188) finali
[0]
[0] <--- JS stacktrace --->
[0]
View Re-index
olympia@dd0221b1d0d2:/code$ ./manage.py reindex --force --wipe --noinput
{"Timestamp": 1610030429183382528, "Type": "google.cloud.bigquery.opentelemetry_tracing", "Logger": "http_app_addons", "Hostname": "dd0221b1d0d2", "EnvVersion": "2.0", "Severity": 6, "Pid": 71, "Fields": {"uid": "", "remoteAddressChain": "", "msg": "This service is instrumented using OpenTelemetry. OpenTelemetry could not be imported; please add opentelemetry-api and opentelemetry-instrumentation packages in order to get BigQuery Tracing data."}, "severity": 200}
/deps/lib/python3.8/site-packages/multidb/__init__.py:65: UserWarning: [multidb] No replica databases are configured! You can configure them with the REPLICA_DATABASES setting.
warnings.warn(
Starting the reindexation for addons.
{"Timestamp": 1610030430110470144, "Type": "z.elasticsearch", "Logger": "http_app_addons", "Hostname": "dd0221b1d0d2", "EnvVersion": "2.0", "Severity": 6, "Pid": 71, "Fields": {"uid": "<anon>", "remoteAddressChain": "", "msg": "Unflagging the database
View Traceback
Captured API Error: Internal Server Error,Traceback (most recent call last):
[1] File "/deps/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
[1] response = handler(request, *args, **kwargs)
[1] File "/deps/lib/python3.8/site-packages/rest_framework/generics.py", line 199, in get
[1] return self.list(request, *args, **kwargs)
[1] File "/deps/lib/python3.8/site-packages/rest_framework/mixins.py", line 43, in list
[1] return self.get_paginated_response(serializer.data)
[1] File "/deps/lib/python3.8/site-packages/rest_framework/serializers.py", line 745, in data
[1] ret = super().data
[1] File "/deps/lib/python3.8/site-packages/rest_framework/serializers.py", line 246, in data
View ssh-error.txt
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for olympia-web-amodev1.amo.us-east-1.dev.mozaws.net has changed,
and the key for the corresponding IP address 34.227.157.154
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @