Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- djbios@djbios-GL63-8RC:~$ 300*30
- 300*30: command not found
- djbios@djbios-GL63-8RC:~$ ipython
- Python 3.6.8 (default, Jan 14 2019, 11:02:34)
- Type 'copyright', 'credits' or 'license' for more information
- IPython 7.6.1 -- An enhanced Interactive Python. Type '?' for help.
- In [1]: 300*60
- Out[1]: 18000
- In [2]: 300*60/12
- Out[2]: 1500.0
- In [3]: 300/12
- Out[3]: 25.0
- In [4]: 71*70
- Out[4]: 4970
- In [5]: 300/84
- Out[5]: 3.5714285714285716
- In [6]:
- Do you really want to exit ([y]/n)? y
- djbios@djbios-GL63-8RC:~$ cat ~/.s
- .snxrc .ssh/ .sudo_as_admin_successful
- djbios@djbios-GL63-8RC:~$ cat ~/.ssh/
- id_ed25519/ id_rsa id_rsa.pub known_hosts
- djbios@djbios-GL63-8RC:~$ cat ~/.ssh/id_rsa.pub
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDY/NE3pDNdW/OD92X2TXv7oK6WE0u1u8VbjdfywSuXXJpVuXUfLYVM0HUYt9gLHuHeLoL1kGIl5b/dYMXP3oU+BZgBo48uAY44mhxeDVP5kHNAD5MrHhsX96GxEfn7reeqaKuuyZzQACW6CGkevOpGwtUmJMHhyhZRk1F4bg0DVp4zrd9zOu3e0jRml4XvoqMMNzNMzZMZg5YiV7GOjjOhGcGx9kvM0RbOPGYE9hs0pervsNgSU7GkM1sSK1/CVvTvLaN+q17jX4p5xIa7bbamSUWncjefU0h3uoNuvS1lxCDhwMlyiNbCKA+85OdsOLaA4WW13OKhyums1Cvdeciz djbios@djbios-GL63-8RC
- djbios@djbios-GL63-8RC:~$ ssh 35.204.56.15
- The authenticity of host '35.204.56.15 (35.204.56.15)' can't be established.
- ECDSA key fingerprint is SHA256:TEhIs+kUQF81a9L+dIZtIURcAp7Egt7ouQoYSOwH8IY.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '35.204.56.15' (ECDSA) to the list of known hosts.
- Welcome to Ubuntu 19.04 (GNU/Linux 5.0.0-1013-gcp x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- This system has been minimized by removing packages and content that are
- not required on a system that users do not log into.
- To restore this content, you can run the 'unminimize' command.
- 0 updates can be installed immediately.
- 0 of these updates are security updates.
- The programs included with the Ubuntu system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
- applicable law.
- djbios@instance-1:~$ ls
- djbios@instance-1:~$ ls
- djbios@instance-1:~$ sudo apt install git
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- E: Unable to locate package git
- djbios@instance-1:~$ apt update
- Reading package lists... Done
- E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
- E: Unable to lock directory /var/lib/apt/lists/
- W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
- W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
- djbios@instance-1:~$ sudo su
- root@instance-1:/home/djbios# sudo apt install git
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- E: Unable to locate package git
- root@instance-1:/home/djbios# apt update
- Get:1 http://archive.canonical.com/ubuntu disco InRelease [10.9 kB]
- Get:2 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco InRelease [257 kB]
- Get:3 http://security.ubuntu.com/ubuntu disco-security InRelease [97.5 kB]
- Get:4 http://archive.canonical.com/ubuntu disco/partner amd64 Packages [1616 B]
- Get:5 http://archive.canonical.com/ubuntu disco/partner Translation-en [712 B]
- Get:6 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates InRelease [97.5 kB]
- Get:7 http://security.ubuntu.com/ubuntu disco-security/main amd64 Packages [187 kB]
- Get:8 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports InRelease [88.8 kB]
- Get:9 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 Packages [995 kB]
- Get:10 http://security.ubuntu.com/ubuntu disco-security/main Translation-en [68.0 kB]
- Get:11 http://security.ubuntu.com/ubuntu disco-security/restricted amd64 Packages [3020 B]
- Get:12 http://security.ubuntu.com/ubuntu disco-security/restricted Translation-en [844 B]
- Get:13 http://security.ubuntu.com/ubuntu disco-security/universe amd64 Packages [244 kB]
- Get:14 http://security.ubuntu.com/ubuntu disco-security/universe Translation-en [68.5 kB]
- Get:15 http://security.ubuntu.com/ubuntu disco-security/multiverse amd64 Packages [1172 B]
- Get:16 http://security.ubuntu.com/ubuntu disco-security/multiverse Translation-en [632 B]
- Get:17 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main Translation-en [509 kB]
- Get:18 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/restricted amd64 Packages [14.0 kB]
- Get:19 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/restricted Translation-en [4960 B]
- Get:20 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/universe amd64 Packages [9065 kB]
- Get:21 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/universe Translation-en [5251 kB]
- Get:22 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/multiverse amd64 Packages [157 kB]
- Get:23 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/multiverse Translation-en [112 kB]
- Get:24 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages [248 kB]
- Get:25 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/main Translation-en [95.2 kB]
- Get:26 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/restricted amd64 Packages [3416 B]
- Get:27 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/restricted Translation-en [884 B]
- Get:28 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/universe amd64 Packages [292 kB]
- Get:29 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/universe Translation-en [96.3 kB]
- Get:30 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/multiverse amd64 Packages [1172 B]
- Get:31 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/multiverse Translation-en [632 B]
- Get:32 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/main amd64 Packages [1220 B]
- Get:33 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/main Translation-en [684 B]
- Get:34 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/universe amd64 Packages [3420 B]
- Get:35 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/universe Translation-en [1532 B]
- Fetched 18.0 MB in 4s (4359 kB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 2 packages can be upgraded. Run 'apt list --upgradable' to see them.
- root@instance-1:/home/djbios# sudo apt install git
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- git-man less libcurl3-gnutls liberror-perl
- Suggested packages:
- git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
- The following NEW packages will be installed:
- git git-man less libcurl3-gnutls liberror-perl
- 0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
- Need to get 5311 kB of archives.
- After this operation, 34.9 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 less amd64 487-0.1build1 [112 kB]
- Get:2 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/main amd64 libcurl3-gnutls amd64 7.64.0-2ubuntu1.1 [230 kB]
- Get:3 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 liberror-perl all 0.17027-2 [26.6 kB]
- Get:4 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 git-man all 1:2.20.1-2ubuntu1 [835 kB]
- Get:5 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 git amd64 1:2.20.1-2ubuntu1 [4107 kB]
- Fetched 5311 kB in 0s (31.8 MB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package less.
- (Reading database ... 44548 files and directories currently installed.)
- Preparing to unpack .../less_487-0.1build1_amd64.deb ...
- Unpacking less (487-0.1build1) ...
- Selecting previously unselected package libcurl3-gnutls:amd64.
- Preparing to unpack .../libcurl3-gnutls_7.64.0-2ubuntu1.1_amd64.deb ...
- Unpacking libcurl3-gnutls:amd64 (7.64.0-2ubuntu1.1) ...
- Selecting previously unselected package liberror-perl.
- Preparing to unpack .../liberror-perl_0.17027-2_all.deb ...
- Unpacking liberror-perl (0.17027-2) ...
- Selecting previously unselected package git-man.
- Preparing to unpack .../git-man_1%3a2.20.1-2ubuntu1_all.deb ...
- Unpacking git-man (1:2.20.1-2ubuntu1) ...
- Selecting previously unselected package git.
- Preparing to unpack .../git_1%3a2.20.1-2ubuntu1_amd64.deb ...
- Unpacking git (1:2.20.1-2ubuntu1) ...
- Setting up less (487-0.1build1) ...
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Setting up libcurl3-gnutls:amd64 (7.64.0-2ubuntu1.1) ...
- Setting up liberror-perl (0.17027-2) ...
- Setting up git-man (1:2.20.1-2ubuntu1) ...
- Setting up git (1:2.20.1-2ubuntu1) ...
- Processing triggers for libc-bin (2.29-0ubuntu2) ...
- Processing triggers for mime-support (3.60ubuntu1) ...
- root@instance-1:/home/djbios# curl -fsSL https://get.docker.com -o get-docker.sh
- root@instance-1:/home/djbios# sudo sh get-docker.sh
- # Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a
- + sh -c apt-get update -qq >/dev/null
- + sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
- debconf: delaying package configuration, since apt-utils is not installed
- + sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
- Warning: apt-key output should not be parsed (stdout is not a terminal)
- + sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable" > /etc/apt/sources.list.d/docker.list
- + sh -c apt-get update -qq >/dev/null
- + [ -n ]
- + sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
- debconf: delaying package configuration, since apt-utils is not installed
- + sh -c docker version
- Client: Docker Engine - Community
- Version: 19.03.1
- API version: 1.40
- Go version: go1.12.5
- Git commit: 74b1e89
- Built: Thu Jul 25 21:21:22 2019
- OS/Arch: linux/amd64
- Experimental: false
- Server: Docker Engine - Community
- Engine:
- Version: 19.03.1
- API version: 1.40 (minimum version 1.12)
- Go version: go1.12.5
- Git commit: 74b1e89
- Built: Thu Jul 25 21:19:53 2019
- OS/Arch: linux/amd64
- Experimental: false
- containerd:
- Version: 1.2.6
- GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
- runc:
- Version: 1.0.0-rc8
- GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
- docker-init:
- Version: 0.18.0
- GitCommit: fec3683
- If you would like to use Docker as a non-root user, you should now consider
- adding your user to the "docker" group with something like:
- sudo usermod -aG docker your-user
- Remember that you will have to log out and back in for this to take effect!
- WARNING: Adding a user to the "docker" group will grant the ability to run
- containers which can be used to obtain root privileges on the
- docker host.
- Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
- for more information.
- root@instance-1:/home/djbios# sudo usermod -aG docker djbios
- root@instance-1:/home/djbios# sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 617 0 617 0 0 2730 0 --:--:-- --:--:-- --:--:-- 2730
- 100 15.4M 100 15.4M 0 0 8885k 0 0:00:01 0:00:01 --:--:-- 19.6M
- root@instance-1:/home/djbios# sudo chmod +x /usr/local/bin/docker-compose
- root@instance-1:/home/djbios# it clone https://github.com/djbios/SVH
- bash: it: command not found
- root@instance-1:/home/djbios# git clone https://github.com/djbios/SVH
- Cloning into 'SVH'...
- remote: Enumerating objects: 79, done.
- remote: Counting objects: 100% (79/79), done.
- remote: Compressing objects: 100% (48/48), done.
- remote: Total 931 (delta 26), reused 58 (delta 24), pack-reused 852
- Receiving objects: 100% (931/931), 153.23 KiB | 825.00 KiB/s, done.
- Resolving deltas: 100% (540/540), done.
- root@instance-1:/home/djbios# cd SVH/
- root@instance-1:/home/djbios/SVH# ls
- LICENSE README.md docker svh
- root@instance-1:/home/djbios/SVH# cd docker/
- root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
- WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
- rabbit uses an image, skipping
- torrent uses an image, skipping
- Building postgres
- Step 1/2 : FROM postgres:9.6
- 9.6: Pulling from library/postgres
- 9fc222b64b0a: Pull complete
- 38296355136d: Pull complete
- 2809e135bbdb: Pull complete
- 77907400401d: Pull complete
- 1f8ceea7d21e: Pull complete
- 1ede1f2cb1b8: Pull complete
- dcfbc2751885: Pull complete
- 8379f81b7622: Pull complete
- 45521ea9bda2: Extracting [===========================================> ] 42.47MB/49.33MB
- a0a3e8955df2: Download complete
- a98b58c8b258: Download complete
- 45521ea9bda2: Pull complete
- a0a3e8955df2: Pull complete
- a98b58c8b258: Pull complete
- 17e525318f9d: Pull complete
- ee5a9b48f1cf: Pull complete
- 5539d0e063c4: Pull complete
- Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
- Status: Downloaded newer image for postgres:9.6
- ---> f5548544c480
- Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
- ---> 694e81d19ef3
- Successfully built 694e81d19ef3
- Successfully tagged svh_postgres:latest
- Building celery
- Step 1/9 : FROM python:3
- 3: Pulling from library/python
- 4ae16bd47783: Pull complete
- bbab4ec87ac4: Pull complete
- 2ea1f7804402: Pull complete
- 96465440c208: Pull complete
- 6ac892e64b94: Extracting [=================================================> ] 189.4MB/192.3MB
- 5b3ec9e84adf: Download complete
- 317202007d7c: Download complete
- ba1ee226143f: Download complete
- cba5f4ed3782: Download complete
- ^CERROR: Aborting.
- ^C
- root@instance-1:/home/djbios/SVH/docker# fdisk -l
- Disk /dev/loop0: 88.7 MiB, 92983296 bytes, 181608 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/loop1: 60.5 MiB, 63447040 bytes, 123920 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors
- Disk model: PersistentDisk
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: gpt
- Disk identifier: F3214D29-87A3-46C2-B5E8-B00D962B3196
- Device Start End Sectors Size Type
- /dev/sda1 227328 20971486 20744159 9.9G Linux filesystem
- /dev/sda14 2048 10239 8192 4M BIOS boot
- /dev/sda15 10240 227327 217088 106M EFI System
- Partition table entries are not in disk order.
- Disk /dev/sdb: 500 GiB, 536870912000 bytes, 1048576000 sectors
- Disk model: PersistentDisk
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- root@instance-1:/home/djbios/SVH/docker# fdisk /dev/sdb
- Welcome to fdisk (util-linux 2.33.1).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- Device does not contain a recognized partition table.
- Created a new DOS disklabel with disk identifier 0xa96bdb12.
- Command (m for help): p
- Disk /dev/sdb: 500 GiB, 536870912000 bytes, 1048576000 sectors
- Disk model: PersistentDisk
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: dos
- Disk identifier: 0xa96bdb12
- Command (m for help): n
- Partition type
- p primary (0 primary, 0 extended, 4 free)
- e extended (container for logical partitions)
- Select (default p): p
- Partition number (1-4, default 1): 1
- First sector (2048-1048575999, default 2048):
- Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-1048575999, default 1048575999):
- Created a new partition 1 of type 'Linux' and of size 500 GiB.
- Command (m for help): w
- The partition table has been altered.
- Calling ioctl() to re-read partition table.
- Syncing disks.
- root@instance-1:/home/djbios/SVH/docker# mount /dev/sd
- sda sda1 sda14 sda15 sdb sdb1
- root@instance-1:/home/djbios/SVH/docker# mount /dev/sd
- sda sda1 sda14 sda15 sdb sdb1
- root@instance-1:/home/djbios/SVH/docker# mount /dev/sdb1 /www/svh/sources
- mount: /www/svh/sources: mount point does not exist.
- root@instance-1:/home/djbios/SVH/docker# mkdir /www/svh
- mkdir: cannot create directory ‘/www/svh’: No such file or directory
- root@instance-1:/home/djbios/SVH/docker# mkdir /www/
- root@instance-1:/home/djbios/SVH/docker# mkdir /www/svh
- root@instance-1:/home/djbios/SVH/docker# mkdir /www/svh/sources
- root@instance-1:/home/djbios/SVH/docker# mount /dev/sdb1 /www/svh/sources
- mount: /www/svh/sources: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
- root@instance-1:/home/djbios/SVH/docker# mkf
- mkfifo mkfs.bfs mkfs.cramfs mkfs.ext3 mkfs.minix
- mkfs mkfs.btrfs mkfs.ext2 mkfs.ext4 mkfs.xfs
- root@instance-1:/home/djbios/SVH/docker# mkf
- mkfifo mkfs.bfs mkfs.cramfs mkfs.ext3 mkfs.minix
- mkfs mkfs.btrfs mkfs.ext2 mkfs.ext4 mkfs.xfs
- root@instance-1:/home/djbios/SVH/docker# mkfs.ext3 /dev/sdb1
- mke2fs 1.44.6 (5-Mar-2019)
- Discarding device blocks: done
- Creating filesystem with 131071744 4k blocks and 32768000 inodes
- Filesystem UUID: 306c3552-d7df-4792-a5e7-0a22906a907c
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
- 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
- 102400000
- Allocating group tables: done
- Writing inode tables: done
- Creating journal (262144 blocks): done
- Writing superblocks and filesystem accounting information: done
- root@instance-1:/home/djbios/SVH/docker# mount /dev/sdb1 /www/svh/sources
- root@instance-1:/home/djbios/SVH/docker# sudo nano /etc/fstab
- sudo: nano: command not found
- root@instance-1:/home/djbios/SVH/docker# apt install nano
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Suggested packages:
- spell
- The following NEW packages will be installed:
- nano
- 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
- Need to get 237 kB of archives.
- After this operation, 799 kB of additional disk space will be used.
- Get:1 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 nano amd64 3.2-2 [237 kB]
- Fetched 237 kB in 0s (1686 kB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package nano.
- (Reading database ... 45905 files and directories currently installed.)
- Preparing to unpack .../archives/nano_3.2-2_amd64.deb ...
- Unpacking nano (3.2-2) ...
- Setting up nano (3.2-2) ...
- update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/nano.1.gz (of link group editor) doesn't exist
- update-alternatives: using /bin/nano to provide /usr/bin/pico (pico) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/man1/pico.1.gz because associated file /usr/share/man/man1/nano.1.gz (of link group pico) doesn't exist
- root@instance-1:/home/djbios/SVH/docker# sudo nano /etc/fstab
- root@instance-1:/home/djbios/SVH/docker# chown -R www-data /www/svh/sources
- root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
- WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
- rabbit uses an image, skipping
- torrent uses an image, skipping
- Building postgres
- Step 1/2 : FROM postgres:9.6
- 9.6: Pulling from library/postgres
- Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
- Status: Image is up to date for postgres:9.6
- ---> f5548544c480
- Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
- ---> Using cache
- ---> 694e81d19ef3
- Successfully built 694e81d19ef3
- Successfully tagged svh_postgres:latest
- Building celery
- ^CERROR: Aborting.
- ^CTraceback (most recent call last):
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 442, in get_code
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod02_archive.py", line 366, in extract
- KeyboardInterrupt
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "<frozen importlib._bootstrap>", line 971, in _find_and_load
- File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
- File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
- File "site-packages/docker/__init__.py", line 2, in <module>
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
- File "site-packages/docker/api/__init__.py", line 2, in <module>
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
- File "site-packages/docker/api/client.py", line 5, in <module>
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
- File "site-packages/requests/__init__.py", line 114, in <module>
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
- File "site-packages/requests/models.py", line 28, in <module>
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 611, in exec_module
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 444, in get_code
- ImportError: Loader FrozenImporter cannot handle module requests.auth
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "bin/docker-compose", line 5, in <module>
- File "<frozen importlib._bootstrap>", line 971, in _find_and_load
- File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
- File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
- File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
- File "compose/cli/main.py", line 17, in <module>
- File "<frozen importlib._bootstrap>", line 971, in _find_and_load
- File "<frozen importlib._bootstrap>", line 152, in __exit__
- File "<frozen importlib._bootstrap>", line 106, in release
- KeyboardInterrupt
- [4288] Failed to execute script docker-compose
- root@instance-1:/home/djbios/SVH/docker# cat ./docker-compose.
- cat: ./docker-compose.: No such file or directory
- root@instance-1:/home/djbios/SVH/docker# cat ./docker-compose.
- docker-compose.windows.yml docker-compose.yml
- root@instance-1:/home/djbios/SVH/docker# cat ./docker-compose.yml
- version: '3.3'
- services:
- # Proxypass nginx server
- nginx:
- build:
- context: nginx
- volumes:
- - media:/www/svh/media/
- - static:/www/svh/static
- links:
- - uwsgi
- depends_on:
- - uwsgi
- restart: always
- ports:
- - 80:80
- # command: [nginx-debug, '-g', 'daemon off;']
- # Python web server
- uwsgi:
- build:
- context: ../
- dockerfile: docker/uwsgi/Dockerfile
- volumes:
- - settings:/www/svh/svh/settings_local/
- - media:/www/svh/media/
- - static:/www/svh/static
- depends_on:
- - postgres
- links:
- - postgres
- restart: always
- ports:
- - 127.0.0.1:9001:9000
- # Celery for long running background tasks
- celery:
- build:
- context: ..
- dockerfile: docker/celery/Dockerfile
- volumes:
- - settings:/www/svh/svh/settings_local/
- - media:/www/svh/media/
- depends_on:
- - postgres
- links:
- - postgres
- restart: always
- # PostgreSQL database
- postgres:
- build:
- context: postgres
- volumes:
- - db_data:/var/lib/postgresql/data/
- restart: always
- ports:
- - 127.0.0.1:5432:5432
- # RabbitMQ for celery
- rabbit:
- image: rabbitmq
- volumes:
- - rabbit:/var/lib/rabbitmq
- restart: always
- ports:
- - 127.0.0.1:5672:5672
- # Torrent service
- torrent:
- image: wernight/qbittorrent
- volumes:
- - media:/www/svh/media
- restart: always
- ports:
- - 127.0.0.1:8080:8080
- - 6881:6881
- - 6881:6881/udp
- volumes:
- db_data: {}
- media:
- driver: local
- driver_opts:
- type: none
- device: ${MEDIA_PATH}
- o: bind
- settings: {}
- rabbit: {}
- static: {}
- root@instance-1:/home/djbios/SVH/docker# git pull
- Already up to date.
- root@instance-1:/home/djbios/SVH/docker# cat ./deploy
- cat: ./deploy: No such file or directory
- root@instance-1:/home/djbios/SVH/docker# cat ./deploy.sh
- #!/usr/bin/env bash
- # On clean machine install:
- # sudo apt install git
- # curl -fsSL https://get.docker.com -o get-docker.sh
- # sudo sh get-docker.sh
- # sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- # sudo chmod +x /usr/local/bin/docker-compose
- # git clone https://github.com/djbios/SVH
- cd "$(dirname "$0")"
- : ${MEDIA_PATH:=/www/svh/media}
- docker-compose -p svh build --pull
- docker-compose -p svh up -d --remove-orphansroot@instance-1:/home/djbios/SVH/docker#
- root@instance-1:/home/djbios/SVH/docker#
- root@instance-1:/home/djbios/SVH/docker# : ${MEDIA_PATH:=/www/svh/media}
- root@instance-1:/home/djbios/SVH/docker# $MEDIA_PATH
- bash: /www/svh/media: No such file or directory
- root@instance-1:/home/djbios/SVH/docker# cat ./deploy.sh
- #!/usr/bin/env bash
- # On clean machine install:
- # sudo apt install git
- # curl -fsSL https://get.docker.com -o get-docker.sh
- # sudo sh get-docker.sh
- # sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- # sudo chmod +x /usr/local/bin/docker-compose
- # git clone https://github.com/djbios/SVH
- cd "$(dirname "$0")"
- : ${MEDIA_PATH:=/www/svh/media}
- docker-compose -p svh build --pull
- docker-compose -p svh up -d --remove-orphansroot@instance-1:/home/djbios/SVH/docker# ./deploy.sh
- WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
- rabbit uses an image, skipping
- torrent uses an image, skipping
- Building postgres
- Step 1/2 : FROM postgres:9.6
- 9.6: Pulling from library/postgres
- Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
- Status: Image is up to date for postgres:9.6
- ---> f5548544c480
- Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
- ---> Using cache
- ---> 694e81d19ef3
- Successfully built 694e81d19ef3
- Successfully tagged svh_postgres:latest
- Building celery
- Step 1/9 : FROM python:3
- ^CERROR: Aborting.
- WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
- Creating network "svh_default" with the default driver
- Creating volume "svh_db_data" with default driver
- Creating volume "svh_media" with local driver
- Creating volume "svh_settings" with default driver
- Creating volume "svh_rabbit" with default driver
- Creating volume "svh_static" with default driver
- Building celery
- Step 1/9 : FROM python:3
- ^CERROR: Aborting.
- root@instance-1:/home/djbios/SVH/docker# ^C
- root@instance-1:/home/djbios/SVH/docker# $MEDIA_PATH
- bash: /www/svh/media: No such file or directory
- root@instance-1:/home/djbios/SVH/docker# export MEDIA_PATH=/www/svh/sources
- root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
- rabbit uses an image, skipping
- torrent uses an image, skipping
- Building postgres
- Step 1/2 : FROM postgres:9.6
- 9.6: Pulling from library/postgres
- Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
- Status: Image is up to date for postgres:9.6
- ---> f5548544c480
- Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
- ---> Using cache
- ---> 694e81d19ef3
- Successfully built 694e81d19ef3
- Successfully tagged svh_postgres:latest
- Building celery
- Step 1/9 : FROM python:3
- ^CERROR: Aborting.
- ERROR: Configuration for volume media specifies "device" driver_opt /www/svh/sources, but a volume with the same name uses a different "device" driver_opt (). If you wish to use the new configuration, please remove the existing volume "svh_media" first:
- $ docker volume rm svh_media
- root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
- rabbit uses an image, skipping
- torrent uses an image, skipping
- Building postgres
- Step 1/2 : FROM postgres:9.6
- 9.6: Pulling from library/postgres
- Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
- Status: Image is up to date for postgres:9.6
- ---> f5548544c480
- Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
- ---> Using cache
- ---> 694e81d19ef3
- Successfully built 694e81d19ef3
- Successfully tagged svh_postgres:latest
- Building celery
- Step 1/9 : FROM python:3
- 3: Pulling from library/python
- 4ae16bd47783: Pull complete
- bbab4ec87ac4: Pull complete
- 2ea1f7804402: Pull complete
- 96465440c208: Pull complete
- 6ac892e64b94: Pull complete
- 5b3ec9e84adf: Pull complete
- 317202007d7c: Pull complete
- ba1ee226143f: Pull complete
- cba5f4ed3782: Pull complete
- Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
- Status: Downloaded newer image for python:3
- ---> e497dabd8450
- Step 2/9 : RUN apt-get update && apt-get install -y --no-install-recommends gettext graphviz postgresql-client dos2unix && rm -rf /var/lib/apt/lists/*
- ---> Running in eb6169d49f35
- Get:1 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
- Get:2 http://deb.debian.org/debian buster InRelease [118 kB]
- Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
- Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [66.5 kB]
- Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB]
- Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [884 B]
- Fetched 8171 kB in 2s (4370 kB/s)
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following additional packages will be installed:
- gettext-base libcdt5 libcgraph6 libgd3 libgts-0.7-5 libgvc6 libgvpr2
- liblab-gamut1 libpathplan4 libxaw7 libxdot4 libxmu6 libxpm4
- postgresql-client-11 postgresql-client-common
- Suggested packages:
- gettext-doc autopoint libasprintf-dev libgettextpo-dev gsfonts graphviz-doc
- libgd-tools postgresql-11 postgresql-doc-11
- Recommended packages:
- fonts-liberation libgts-bin lsb-release
- The following NEW packages will be installed:
- dos2unix gettext gettext-base graphviz libcdt5 libcgraph6 libgd3
- libgts-0.7-5 libgvc6 libgvpr2 liblab-gamut1 libpathplan4 libxaw7 libxdot4
- libxmu6 libxpm4 postgresql-client postgresql-client-11
- postgresql-client-common
- 0 upgraded, 19 newly installed, 0 to remove and 1 not upgraded.
- Need to get 5894 kB of archives.
- After this operation, 25.2 MB of additional disk space will be used.
- Get:1 http://deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB]
- Get:2 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-client-11 amd64 11.5-1+deb10u1 [1390 kB]
- Get:3 http://deb.debian.org/debian buster/main amd64 dos2unix amd64 7.4.0-1 [391 kB]
- Get:4 http://deb.debian.org/debian buster/main amd64 gettext amd64 0.19.8.1-9 [1303 kB]
- Get:5 http://deb.debian.org/debian buster/main amd64 libcdt5 amd64 2.40.1-6 [60.6 kB]
- Get:6 http://deb.debian.org/debian buster/main amd64 libcgraph6 amd64 2.40.1-6 [84.1 kB]
- Get:7 http://deb.debian.org/debian buster/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB]
- Get:8 http://deb.debian.org/debian buster/main amd64 libgd3 amd64 2.2.5-5.2 [136 kB]
- Get:9 http://deb.debian.org/debian buster/main amd64 libgts-0.7-5 amd64 0.7.6+darcs121130-4 [158 kB]
- Get:10 http://deb.debian.org/debian buster/main amd64 libpathplan4 amd64 2.40.1-6 [63.5 kB]
- Get:11 http://deb.debian.org/debian buster/main amd64 libxdot4 amd64 2.40.1-6 [56.9 kB]
- Get:12 http://deb.debian.org/debian buster/main amd64 libgvc6 amd64 2.40.1-6 [646 kB]
- Get:13 http://deb.debian.org/debian buster/main amd64 libgvpr2 amd64 2.40.1-6 [213 kB]
- Get:14 http://deb.debian.org/debian buster/main amd64 liblab-gamut1 amd64 2.40.1-6 [220 kB]
- Get:15 http://deb.debian.org/debian buster/main amd64 libxmu6 amd64 2:1.1.2-2+b3 [60.8 kB]
- Get:16 http://deb.debian.org/debian buster/main amd64 libxaw7 amd64 2:1.0.13-1+b2 [201 kB]
- Get:17 http://deb.debian.org/debian buster/main amd64 graphviz amd64 2.40.1-6 [594 kB]
- Get:18 http://deb.debian.org/debian buster/main amd64 postgresql-client-common all 200+deb10u1 [84.4 kB]
- Get:19 http://deb.debian.org/debian buster/main amd64 postgresql-client all 11+200+deb10u1 [60.4 kB]
- debconf: delaying package configuration, since apt-utils is not installed
- Fetched 5894 kB in 0s (51.9 MB/s)
- Selecting previously unselected package gettext-base.
- (Reading database ... 24544 files and directories currently installed.)
- Preparing to unpack .../00-gettext-base_0.19.8.1-9_amd64.deb ...
- Unpacking gettext-base (0.19.8.1-9) ...
- Selecting previously unselected package dos2unix.
- Preparing to unpack .../01-dos2unix_7.4.0-1_amd64.deb ...
- Unpacking dos2unix (7.4.0-1) ...
- Selecting previously unselected package gettext.
- Preparing to unpack .../02-gettext_0.19.8.1-9_amd64.deb ...
- Unpacking gettext (0.19.8.1-9) ...
- Selecting previously unselected package libcdt5.
- Preparing to unpack .../03-libcdt5_2.40.1-6_amd64.deb ...
- Unpacking libcdt5 (2.40.1-6) ...
- Selecting previously unselected package libcgraph6.
- Preparing to unpack .../04-libcgraph6_2.40.1-6_amd64.deb ...
- Unpacking libcgraph6 (2.40.1-6) ...
- Selecting previously unselected package libxpm4:amd64.
- Preparing to unpack .../05-libxpm4_1%3a3.5.12-1_amd64.deb ...
- Unpacking libxpm4:amd64 (1:3.5.12-1) ...
- Selecting previously unselected package libgd3:amd64.
- Preparing to unpack .../06-libgd3_2.2.5-5.2_amd64.deb ...
- Unpacking libgd3:amd64 (2.2.5-5.2) ...
- Selecting previously unselected package libgts-0.7-5:amd64.
- Preparing to unpack .../07-libgts-0.7-5_0.7.6+darcs121130-4_amd64.deb ...
- Unpacking libgts-0.7-5:amd64 (0.7.6+darcs121130-4) ...
- Selecting previously unselected package libpathplan4.
- Preparing to unpack .../08-libpathplan4_2.40.1-6_amd64.deb ...
- Unpacking libpathplan4 (2.40.1-6) ...
- Selecting previously unselected package libxdot4.
- Preparing to unpack .../09-libxdot4_2.40.1-6_amd64.deb ...
- Unpacking libxdot4 (2.40.1-6) ...
- Selecting previously unselected package libgvc6.
- Preparing to unpack .../10-libgvc6_2.40.1-6_amd64.deb ...
- Unpacking libgvc6 (2.40.1-6) ...
- Selecting previously unselected package libgvpr2.
- Preparing to unpack .../11-libgvpr2_2.40.1-6_amd64.deb ...
- Unpacking libgvpr2 (2.40.1-6) ...
- Selecting previously unselected package liblab-gamut1.
- Preparing to unpack .../12-liblab-gamut1_2.40.1-6_amd64.deb ...
- Unpacking liblab-gamut1 (2.40.1-6) ...
- Selecting previously unselected package libxmu6:amd64.
- Preparing to unpack .../13-libxmu6_2%3a1.1.2-2+b3_amd64.deb ...
- Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ...
- Selecting previously unselected package libxaw7:amd64.
- Preparing to unpack .../14-libxaw7_2%3a1.0.13-1+b2_amd64.deb ...
- Unpacking libxaw7:amd64 (2:1.0.13-1+b2) ...
- Selecting previously unselected package graphviz.
- Preparing to unpack .../15-graphviz_2.40.1-6_amd64.deb ...
- Unpacking graphviz (2.40.1-6) ...
- Selecting previously unselected package postgresql-client-common.
- Preparing to unpack .../16-postgresql-client-common_200+deb10u1_all.deb ...
- Unpacking postgresql-client-common (200+deb10u1) ...
- Selecting previously unselected package postgresql-client-11.
- Preparing to unpack .../17-postgresql-client-11_11.5-1+deb10u1_amd64.deb ...
- Unpacking postgresql-client-11 (11.5-1+deb10u1) ...
- Selecting previously unselected package postgresql-client.
- Preparing to unpack .../18-postgresql-client_11+200+deb10u1_all.deb ...
- Unpacking postgresql-client (11+200+deb10u1) ...
- Setting up postgresql-client-common (200+deb10u1) ...
- Setting up libxdot4 (2.40.1-6) ...
- Setting up libxmu6:amd64 (2:1.1.2-2+b3) ...
- Setting up libxpm4:amd64 (1:3.5.12-1) ...
- Setting up liblab-gamut1 (2.40.1-6) ...
- Setting up gettext-base (0.19.8.1-9) ...
- Setting up libxaw7:amd64 (2:1.0.13-1+b2) ...
- Setting up libgts-0.7-5:amd64 (0.7.6+darcs121130-4) ...
- Setting up postgresql-client-11 (11.5-1+deb10u1) ...
- update-alternatives: using /usr/share/postgresql/11/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
- Setting up libpathplan4 (2.40.1-6) ...
- Setting up libgd3:amd64 (2.2.5-5.2) ...
- Setting up libcdt5 (2.40.1-6) ...
- Setting up libcgraph6 (2.40.1-6) ...
- Setting up dos2unix (7.4.0-1) ...
- Setting up gettext (0.19.8.1-9) ...
- Setting up postgresql-client (11+200+deb10u1) ...
- Setting up libgvc6 (2.40.1-6) ...
- Setting up libgvpr2 (2.40.1-6) ...
- Setting up graphviz (2.40.1-6) ...
- Processing triggers for libc-bin (2.28-10) ...
- Removing intermediate container eb6169d49f35
- ---> e7f550674266
- Step 3/9 : WORKDIR /www/svh
- ---> Running in 618cb98dd458
- Removing intermediate container 618cb98dd458
- ---> c928b69de731
- Step 4/9 : COPY svh/requirements.txt ./
- ---> dba155671dde
- Step 5/9 : RUN pip3 install -r requirements.txt --compile
- ---> Running in 8e1a22af9210
- Collecting django (from -r requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/d6/57/66997ca6ef17d2d0f0ebcd860bc6778095ffee04077ca8985928175da358/Django-2.2.4-py3-none-any.whl (7.5MB)
- Collecting uwsgi (from -r requirements.txt (line 2))
- Downloading https://files.pythonhosted.org/packages/e7/1e/3dcca007f974fe4eb369bf1b8629d5e342bb3055e2001b2e5340aaefae7a/uwsgi-2.0.18.tar.gz (801kB)
- Collecting ipython (from -r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/f6/c4/a79582814bdfe92bfca4d286a729304ffdf13f5135132cfcaea13cf1b2b3/ipython-7.7.0-py3-none-any.whl (774kB)
- Collecting psycopg2-binary (from -r requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/f3/21/b7ccc8ae35e5b6ae62bfe47181353628bae52489c7798f00efd7916de543/psycopg2_binary-2.8.3-cp37-cp37m-manylinux1_x86_64.whl (2.9MB)
- Collecting imohash (from -r requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/72/5d/27347eaeedb44f5a5d965a096dd6177109550cc0e5918c3164e4b2bf754c/imohash-1.0.4-py2.py3-none-any.whl
- Collecting twisted (from -r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/84/af/d15d3686e56c704796b23b67552f3ac78b84652793091a7d7ac8bf2887d7/Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl (3.1MB)
- Collecting crochet (from -r requirements.txt (line 7))
- Downloading https://files.pythonhosted.org/packages/eb/8d/cdb5e6acae3574bb70d6e5db0ada41db3919f5ae0b786e32197d0d6d9884/crochet-1.10.0-py2.py3-none-any.whl
- Collecting pillow (from -r requirements.txt (line 8))
- Downloading https://files.pythonhosted.org/packages/a4/da/2bd281c875686230eabc13d20ab590ea617563b0e746abfb0698c4d5b645/Pillow-6.1.0-cp37-cp37m-manylinux1_x86_64.whl (2.1MB)
- Collecting opencv-python (from -r requirements.txt (line 9))
- Downloading https://files.pythonhosted.org/packages/de/52/61b9619a7a95a8d809515f68f1441224a07ce1873fd3af5e662851014a55/opencv_python-4.1.0.25-cp37-cp37m-manylinux1_x86_64.whl (26.6MB)
- Collecting factory_boy (from -r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/63/c3/e4d5ed760f09f5dfb6ebbc44e22801a5fa9fcad9158f5ec59d8304092833/factory_boy-2.12.0-py2.py3-none-any.whl
- Collecting django-mptt (from -r requirements.txt (line 11))
- Downloading https://files.pythonhosted.org/packages/98/9e/c648c86405cff26f14d1efff2fe4902b0aa1eba7839fdf653f1e8110f0ed/django_mptt-0.10.0-py2.py3-none-any.whl (105kB)
- Collecting celery (from -r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/5c/a1/a3dd9d8bfa09156ec2cba37f90accf35c0f4ecc3980d96cb4fb99e56504b/celery-4.3.0-py2.py3-none-any.whl (413kB)
- Collecting moviepy (from -r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/fb/32/a93f4af8b88985304a748ca0a66a64eb9fac53d0a9355ec33e713c4a3bf5/moviepy-1.0.0.tar.gz (398kB)
- Collecting pyyaml (from -r requirements.txt (line 14))
- Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
- Collecting qbittorrent-api (from -r requirements.txt (line 15))
- Downloading https://files.pythonhosted.org/packages/2b/56/5b79dc08257f12db583eda6a079aea5c94eb80b851a0a3e5f2fb05eef5ed/qbittorrent_api-0.3.2-py3-none-any.whl (45kB)
- Collecting ffmpeg-python (from -r requirements.txt (line 16))
- Downloading https://files.pythonhosted.org/packages/d7/0c/56be52741f75bad4dc6555991fabd2e07b432d333da82c11ad701123888a/ffmpeg_python-0.2.0-py3-none-any.whl
- Collecting pytz (from django->-r requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB)
- Collecting sqlparse (from django->-r requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
- Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.7/site-packages (from ipython->-r requirements.txt (line 3)) (41.1.0)
- Collecting decorator (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
- Collecting pygments (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
- Collecting backcall (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
- Collecting pexpect; sys_platform != "win32" (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/0e/3e/377007e3f36ec42f1b84ec322ee12141a9e10d808312e5738f52f80a232c/pexpect-4.7.0-py2.py3-none-any.whl (58kB)
- Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl (337kB)
- Collecting jedi>=0.10 (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/55/54/da994f359e4e7da4776a200e76dbc85ba5fc319eefc22e33d55296d95a1d/jedi-0.15.1-py2.py3-none-any.whl (1.0MB)
- Collecting traitlets>=4.2 (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
- Collecting pickleshare (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
- Collecting varint>=1.0.2 (from imohash->-r requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
- Collecting mmh3>=2.5.1 (from imohash->-r requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/fa/7e/3ddcab0a9fcea034212c02eb411433db9330e34d626360b97333368b4052/mmh3-2.5.1.tar.gz
- Collecting attrs>=17.4.0 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
- Collecting incremental>=16.10.1 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
- Collecting constantly>=15.1 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
- Collecting zope.interface>=4.4.2 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/3a/b5/5cbafbe09bbfc242503b0cd9bcf9dee32458b3ca166f6a63cb7b4f465b60/zope.interface-4.6.0-cp37-cp37m-manylinux1_x86_64.whl (167kB)
- Collecting PyHamcrest>=1.9.0 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
- Collecting Automat>=0.3.0 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
- Collecting hyperlink>=17.1.1 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
- Collecting wrapt (from crochet->-r requirements.txt (line 7))
- Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
- Collecting numpy>=1.14.5 (from opencv-python->-r requirements.txt (line 9))
- Downloading https://files.pythonhosted.org/packages/05/4b/55cfbfd3e5e85016eeef9f21c0ec809d978706a0d60b62cc28aeec8c792f/numpy-1.17.0-cp37-cp37m-manylinux1_x86_64.whl (20.3MB)
- Collecting Faker>=0.7.0 (from factory_boy->-r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/67/ed/94a23058daff92545869848ccbcaeb826bc79c6ba4459c7df31ebe1f196d/Faker-2.0.1-py2.py3-none-any.whl (878kB)
- Collecting django-js-asset (from django-mptt->-r requirements.txt (line 11))
- Downloading https://files.pythonhosted.org/packages/aa/2d/98089cf51c8e83bc70723021390b94a3638a4a0ce30a47e2e70476b2095d/django_js_asset-1.2.2-py2.py3-none-any.whl
- Collecting billiard<4.0,>=3.6.0 (from celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/9a/bb/2a016ac912fca48e06ff5a662407f3d1681aa47df97fb19feba7cc931ee1/billiard-3.6.1.0-py3-none-any.whl (89kB)
- Collecting vine>=1.3.0 (from celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/7f/60/82c03047396126c8331ceb64da1dc52d4f1317209f32e8fe286d0c07365a/vine-1.3.0-py2.py3-none-any.whl
- Collecting kombu<5.0,>=4.4.0 (from celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/bb/22/58104fd214fb32008f2f4d64a1918c81e353f23e7beee9605674f9ecd6b2/kombu-4.6.4-py2.py3-none-any.whl (182kB)
- Collecting tqdm<5.0,>=4.11.2 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/a5/83/06029af22fe06b8a7be013aeae5e104b3ed26867e5d4ca91408b30aa602e/tqdm-4.34.0-py2.py3-none-any.whl (50kB)
- Collecting requests<3.0,>=2.8.1 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
- Collecting proglog<=1.0.0 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/fe/ab/4cb19b578e1364c0b2d6efd6521a8b4b4e5c4ae6528041d31a2a951dd991/proglog-0.1.9.tar.gz
- Collecting imageio<3.0,>=2.5 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f1482677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
- Collecting imageio_ffmpeg>=0.2.0 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/1b/12/01126a2fb737b23461d7dadad3b8abd51ad6210f979ff05c6fa9812dfbbe/imageio_ffmpeg-0.3.0-py3-none-manylinux2010_x86_64.whl (22.2MB)
- Collecting urllib3<=1.24.3,>=1.24.2 (from qbittorrent-api->-r requirements.txt (line 15))
- Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
- Collecting attrdict<=2.0.1,>=2.0.0 (from qbittorrent-api->-r requirements.txt (line 15))
- Downloading https://files.pythonhosted.org/packages/ef/97/28fe7e68bc7adfce67d4339756e85e9fcf3c6fd7f0c0781695352b70472c/attrdict-2.0.1-py2.py3-none-any.whl
- Collecting future (from ffmpeg-python->-r requirements.txt (line 16))
- Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
- Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
- Collecting six>=1.9.0 (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
- Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
- Collecting parso>=0.5.0 (from jedi>=0.10->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/a3/bd/bf4e5bd01d79906e5b945a7af033154da49fd2b0d5b5c705a21330323305/parso-0.5.1-py2.py3-none-any.whl (95kB)
- Collecting ipython-genutils (from traitlets>=4.2->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
- Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
- Collecting text-unidecode==1.2 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl (77kB)
- Collecting python-dateutil>=2.4 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
- Collecting importlib-metadata>=0.18 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl
- Collecting amqp<3.0,>=2.5.1 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/a1/ef/a62ff9dde89e6b75976a746aa5b828ccb3c839ac6fcdc283edd88d7cf90b/amqp-2.5.1-py2.py3-none-any.whl (49kB)
- Collecting certifi>=2017.4.17 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
- Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Collecting zipp>=0.5 (from importlib-metadata>=0.18->kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
- Building wheels for collected packages: uwsgi, moviepy, pyyaml, backcall, varint, mmh3, wrapt, proglog, future
- Building wheel for uwsgi (setup.py): started
- Building wheel for uwsgi (setup.py): finished with status 'done'
- Created wheel for uwsgi: filename=uWSGI-2.0.18-cp37-cp37m-linux_x86_64.whl size=580185 sha256=e31a4d88c9dca6fdd7ee5bc04037537f67e70d91b820a2e108a0ac1b3d5652f7
- Stored in directory: /root/.cache/pip/wheels/2d/0c/b0/f3ba1bbce35c3766c9dac8c3d15d5431cac57e7a8c4111c268
- Building wheel for moviepy (setup.py): started
- Building wheel for moviepy (setup.py): finished with status 'done'
- Created wheel for moviepy: filename=moviepy-1.0.0-cp37-none-any.whl size=131367 sha256=e1d83ea11888abbc52e7f1ebf97936e571207231edcd850917b5290f11550e38
- Stored in directory: /root/.cache/pip/wheels/52/e2/4c/f594a5945bc98e052ef248b46a0f1f7ea838b0b2a5f8895651
- Building wheel for pyyaml (setup.py): started
- Building wheel for pyyaml (setup.py): finished with status 'done'
- Created wheel for pyyaml: filename=PyYAML-5.1.2-cp37-cp37m-linux_x86_64.whl size=468684 sha256=d927950bcb37b121536466dabc0153247233946a44f88bb637e1d079911539e8
- Stored in directory: /root/.cache/pip/wheels/d9/45/dd/65f0b38450c47cf7e5312883deb97d065e030c5cca0a365030
- Building wheel for backcall (setup.py): started
- Building wheel for backcall (setup.py): finished with status 'done'
- Created wheel for backcall: filename=backcall-0.1.0-cp37-none-any.whl size=10414 sha256=0463f1047b398b23a83824c6aa57fea576aee68a5b834bfbfd02da1e790e9750
- Stored in directory: /root/.cache/pip/wheels/98/b0/dd/29e28ff615af3dda4c67cab719dd51357597eabff926976b45
- Building wheel for varint (setup.py): started
- Building wheel for varint (setup.py): finished with status 'done'
- Created wheel for varint: filename=varint-1.0.2-cp37-none-any.whl size=1980 sha256=0e0328791925de6ffbdbfe1130fa3530bf4cab74f548887c515fbe0e6970376f
- Stored in directory: /root/.cache/pip/wheels/87/62/fe/15e506bdde650fdd4e63d3eb91a1c3582ff1ee450e88e89d9e
- Building wheel for mmh3 (setup.py): started
- Building wheel for mmh3 (setup.py): finished with status 'done'
- Created wheel for mmh3: filename=mmh3-2.5.1-cp37-cp37m-linux_x86_64.whl size=48270 sha256=2e9f1d6dcd25fdbcabf4b5429bca1bfefe15a36a7be5bf228b678fec0eb75a3f
- Stored in directory: /root/.cache/pip/wheels/38/b4/ea/6e4e321c625d3320c0c496bf4088371546d8fce5f1dd71b219
- Building wheel for wrapt (setup.py): started
- Building wheel for wrapt (setup.py): finished with status 'done'
- Created wheel for wrapt: filename=wrapt-1.11.2-cp37-cp37m-linux_x86_64.whl size=76137 sha256=1894e915db41f120652bfb1bbf77fa934a5fdf2a2d5c714853cc472430e2f0ea
- Stored in directory: /root/.cache/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
- Building wheel for proglog (setup.py): started
- Building wheel for proglog (setup.py): finished with status 'done'
- Created wheel for proglog: filename=proglog-0.1.9-cp37-none-any.whl size=6147 sha256=851238cc917926af7a227462df653d150441c1e6722e9e092ea73c8a7057362e
- Stored in directory: /root/.cache/pip/wheels/65/56/60/1d0306a8d90b188af393c1812ddb502a8821b70917f82dcc00
- Building wheel for future (setup.py): started
- Building wheel for future (setup.py): finished with status 'done'
- Created wheel for future: filename=future-0.17.1-cp37-none-any.whl size=488730 sha256=da893283c81d3510e35a0d132502b100a5b39ed01fcdf0cba21a64261d70d8ea
- Stored in directory: /root/.cache/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
- Successfully built uwsgi moviepy pyyaml backcall varint mmh3 wrapt proglog future
- ERROR: qbittorrent-api 0.3.2 has requirement requests<=2.21.0,>=2.16.0, but you'll have requests 2.22.0 which is incompatible.
- Installing collected packages: pytz, sqlparse, django, uwsgi, decorator, pygments, backcall, ptyprocess, pexpect, six, wcwidth, prompt-toolkit, parso, jedi, ipython-genutils, traitlets, pickleshare, ipython, psycopg2-binary, varint, mmh3, imohash, attrs, incremental, constantly, zope.interface, PyHamcrest, Automat, idna, hyperlink, twisted, wrapt, crochet, pillow, numpy, opencv-python, text-unidecode, python-dateutil, Faker, factory-boy, django-js-asset, django-mptt, billiard, vine, zipp, importlib-metadata, amqp, kombu, celery, tqdm, certifi, urllib3, chardet, requests, proglog, imageio, imageio-ffmpeg, moviepy, pyyaml, attrdict, qbittorrent-api, future, ffmpeg-python
- Successfully installed Automat-0.7.0 Faker-2.0.1 PyHamcrest-1.9.0 amqp-2.5.1 attrdict-2.0.1 attrs-19.1.0 backcall-0.1.0 billiard-3.6.1.0 celery-4.3.0 certifi-2019.6.16 chardet-3.0.4 constantly-15.1.0 crochet-1.10.0 decorator-4.4.0 django-2.2.4 django-js-asset-1.2.2 django-mptt-0.10.0 factory-boy-2.12.0 ffmpeg-python-0.2.0 future-0.17.1 hyperlink-19.0.0 idna-2.8 imageio-2.5.0 imageio-ffmpeg-0.3.0 imohash-1.0.4 importlib-metadata-0.19 incremental-17.5.0 ipython-7.7.0 ipython-genutils-0.2.0 jedi-0.15.1 kombu-4.6.4 mmh3-2.5.1 moviepy-1.0.0 numpy-1.17.0 opencv-python-4.1.0.25 parso-0.5.1 pexpect-4.7.0 pickleshare-0.7.5 pillow-6.1.0 proglog-0.1.9 prompt-toolkit-2.0.9 psycopg2-binary-2.8.3 ptyprocess-0.6.0 pygments-2.4.2 python-dateutil-2.8.0 pytz-2019.2 pyyaml-5.1.2 qbittorrent-api-0.3.2 requests-2.22.0 six-1.12.0 sqlparse-0.3.0 text-unidecode-1.2 tqdm-4.34.0 traitlets-4.3.2 twisted-19.7.0 urllib3-1.24.3 uwsgi-2.0.18 varint-1.0.2 vine-1.3.0 wcwidth-0.1.7 wrapt-1.11.2 zipp-0.5.2 zope.interface-4.6.0
- Removing intermediate container 8e1a22af9210
- ---> daf475c7c7b5
- Step 6/9 : COPY svh .
- ---> 7973ccef03d0
- Step 7/9 : RUN mkdir /www/svh/svh/settings_local/ && touch /www/svh/svh/settings_local/__init__.py && chown www-data:www-data -R /www/ && dos2unix ./run_celery.sh
- ---> Running in 0dcb3ab6d927
- dos2unix: converting file ./run_celery.sh to Unix format...
- Removing intermediate container 0dcb3ab6d927
- ---> d87d8cd30255
- Step 8/9 : USER www-data
- ---> Running in f0dd1b2fb1b0
- Removing intermediate container f0dd1b2fb1b0
- ---> 6ade2a65d9a5
- Step 9/9 : ENTRYPOINT ["./run_celery.sh"]
- ---> Running in 7acda1b1dd57
- Removing intermediate container 7acda1b1dd57
- ---> 946f3c8173c5
- Successfully built 946f3c8173c5
- Successfully tagged svh_celery:latest
- Building uwsgi
- Step 1/9 : FROM python:3
- 3: Pulling from library/python
- Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
- Status: Image is up to date for python:3
- ---> e497dabd8450
- Step 2/9 : RUN apt-get update && apt-get install -y --no-install-recommends postgresql-client dos2unix && rm -rf /var/lib/apt/lists/*
- ---> Running in 8d1f2abf7816
- Get:1 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
- Get:2 http://deb.debian.org/debian buster InRelease [118 kB]
- Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
- Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [66.5 kB]
- Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB]
- Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [884 B]
- Fetched 8171 kB in 2s (4325 kB/s)
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following additional packages will be installed:
- postgresql-client-11 postgresql-client-common
- Suggested packages:
- postgresql-11 postgresql-doc-11
- Recommended packages:
- lsb-release
- The following NEW packages will be installed:
- dos2unix postgresql-client postgresql-client-11 postgresql-client-common
- 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
- Need to get 1926 kB of archives.
- After this operation, 7861 kB of additional disk space will be used.
- Get:1 http://deb.debian.org/debian buster/main amd64 dos2unix amd64 7.4.0-1 [391 kB]
- Get:2 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-client-11 amd64 11.5-1+deb10u1 [1390 kB]
- Get:3 http://deb.debian.org/debian buster/main amd64 postgresql-client-common all 200+deb10u1 [84.4 kB]
- Get:4 http://deb.debian.org/debian buster/main amd64 postgresql-client all 11+200+deb10u1 [60.4 kB]
- debconf: delaying package configuration, since apt-utils is not installed
- Fetched 1926 kB in 0s (39.5 MB/s)
- Selecting previously unselected package dos2unix.
- (Reading database ... 24544 files and directories currently installed.)
- Preparing to unpack .../dos2unix_7.4.0-1_amd64.deb ...
- Unpacking dos2unix (7.4.0-1) ...
- Selecting previously unselected package postgresql-client-common.
- Preparing to unpack .../postgresql-client-common_200+deb10u1_all.deb ...
- Unpacking postgresql-client-common (200+deb10u1) ...
- Selecting previously unselected package postgresql-client-11.
- Preparing to unpack .../postgresql-client-11_11.5-1+deb10u1_amd64.deb ...
- Unpacking postgresql-client-11 (11.5-1+deb10u1) ...
- Selecting previously unselected package postgresql-client.
- Preparing to unpack .../postgresql-client_11+200+deb10u1_all.deb ...
- Unpacking postgresql-client (11+200+deb10u1) ...
- Setting up postgresql-client-common (200+deb10u1) ...
- Setting up postgresql-client-11 (11.5-1+deb10u1) ...
- update-alternatives: using /usr/share/postgresql/11/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
- Setting up dos2unix (7.4.0-1) ...
- Setting up postgresql-client (11+200+deb10u1) ...
- Removing intermediate container 8d1f2abf7816
- ---> 178a4820d3cc
- Step 3/9 : COPY svh/requirements.txt ./
- ---> 83458edd9678
- Step 4/9 : RUN pip3 install -r requirements.txt --compile
- ---> Running in 82bbb8902973
- Collecting django (from -r requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/d6/57/66997ca6ef17d2d0f0ebcd860bc6778095ffee04077ca8985928175da358/Django-2.2.4-py3-none-any.whl (7.5MB)
- Collecting uwsgi (from -r requirements.txt (line 2))
- Downloading https://files.pythonhosted.org/packages/e7/1e/3dcca007f974fe4eb369bf1b8629d5e342bb3055e2001b2e5340aaefae7a/uwsgi-2.0.18.tar.gz (801kB)
- Collecting ipython (from -r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/f6/c4/a79582814bdfe92bfca4d286a729304ffdf13f5135132cfcaea13cf1b2b3/ipython-7.7.0-py3-none-any.whl (774kB)
- Collecting psycopg2-binary (from -r requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/f3/21/b7ccc8ae35e5b6ae62bfe47181353628bae52489c7798f00efd7916de543/psycopg2_binary-2.8.3-cp37-cp37m-manylinux1_x86_64.whl (2.9MB)
- Collecting imohash (from -r requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/72/5d/27347eaeedb44f5a5d965a096dd6177109550cc0e5918c3164e4b2bf754c/imohash-1.0.4-py2.py3-none-any.whl
- Collecting twisted (from -r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/84/af/d15d3686e56c704796b23b67552f3ac78b84652793091a7d7ac8bf2887d7/Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl (3.1MB)
- Collecting crochet (from -r requirements.txt (line 7))
- Downloading https://files.pythonhosted.org/packages/eb/8d/cdb5e6acae3574bb70d6e5db0ada41db3919f5ae0b786e32197d0d6d9884/crochet-1.10.0-py2.py3-none-any.whl
- Collecting pillow (from -r requirements.txt (line 8))
- Downloading https://files.pythonhosted.org/packages/a4/da/2bd281c875686230eabc13d20ab590ea617563b0e746abfb0698c4d5b645/Pillow-6.1.0-cp37-cp37m-manylinux1_x86_64.whl (2.1MB)
- Collecting opencv-python (from -r requirements.txt (line 9))
- Downloading https://files.pythonhosted.org/packages/de/52/61b9619a7a95a8d809515f68f1441224a07ce1873fd3af5e662851014a55/opencv_python-4.1.0.25-cp37-cp37m-manylinux1_x86_64.whl (26.6MB)
- Collecting factory_boy (from -r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/63/c3/e4d5ed760f09f5dfb6ebbc44e22801a5fa9fcad9158f5ec59d8304092833/factory_boy-2.12.0-py2.py3-none-any.whl
- Collecting django-mptt (from -r requirements.txt (line 11))
- Downloading https://files.pythonhosted.org/packages/98/9e/c648c86405cff26f14d1efff2fe4902b0aa1eba7839fdf653f1e8110f0ed/django_mptt-0.10.0-py2.py3-none-any.whl (105kB)
- Collecting celery (from -r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/5c/a1/a3dd9d8bfa09156ec2cba37f90accf35c0f4ecc3980d96cb4fb99e56504b/celery-4.3.0-py2.py3-none-any.whl (413kB)
- Collecting moviepy (from -r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/fb/32/a93f4af8b88985304a748ca0a66a64eb9fac53d0a9355ec33e713c4a3bf5/moviepy-1.0.0.tar.gz (398kB)
- Collecting pyyaml (from -r requirements.txt (line 14))
- Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
- Collecting qbittorrent-api (from -r requirements.txt (line 15))
- Downloading https://files.pythonhosted.org/packages/2b/56/5b79dc08257f12db583eda6a079aea5c94eb80b851a0a3e5f2fb05eef5ed/qbittorrent_api-0.3.2-py3-none-any.whl (45kB)
- Collecting ffmpeg-python (from -r requirements.txt (line 16))
- Downloading https://files.pythonhosted.org/packages/d7/0c/56be52741f75bad4dc6555991fabd2e07b432d333da82c11ad701123888a/ffmpeg_python-0.2.0-py3-none-any.whl
- Collecting sqlparse (from django->-r requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
- Collecting pytz (from django->-r requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB)
- Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.7/site-packages (from ipython->-r requirements.txt (line 3)) (41.1.0)
- Collecting pygments (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
- Collecting backcall (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
- Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl (337kB)
- Collecting jedi>=0.10 (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/55/54/da994f359e4e7da4776a200e76dbc85ba5fc319eefc22e33d55296d95a1d/jedi-0.15.1-py2.py3-none-any.whl (1.0MB)
- Collecting pexpect; sys_platform != "win32" (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/0e/3e/377007e3f36ec42f1b84ec322ee12141a9e10d808312e5738f52f80a232c/pexpect-4.7.0-py2.py3-none-any.whl (58kB)
- Collecting pickleshare (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
- Collecting traitlets>=4.2 (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
- Collecting decorator (from ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
- Collecting varint>=1.0.2 (from imohash->-r requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
- Collecting mmh3>=2.5.1 (from imohash->-r requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/fa/7e/3ddcab0a9fcea034212c02eb411433db9330e34d626360b97333368b4052/mmh3-2.5.1.tar.gz
- Collecting Automat>=0.3.0 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
- Collecting incremental>=16.10.1 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
- Collecting PyHamcrest>=1.9.0 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
- Collecting hyperlink>=17.1.1 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
- Collecting constantly>=15.1 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
- Collecting attrs>=17.4.0 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
- Collecting zope.interface>=4.4.2 (from twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/3a/b5/5cbafbe09bbfc242503b0cd9bcf9dee32458b3ca166f6a63cb7b4f465b60/zope.interface-4.6.0-cp37-cp37m-manylinux1_x86_64.whl (167kB)
- Collecting wrapt (from crochet->-r requirements.txt (line 7))
- Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
- Collecting numpy>=1.14.5 (from opencv-python->-r requirements.txt (line 9))
- Downloading https://files.pythonhosted.org/packages/05/4b/55cfbfd3e5e85016eeef9f21c0ec809d978706a0d60b62cc28aeec8c792f/numpy-1.17.0-cp37-cp37m-manylinux1_x86_64.whl (20.3MB)
- Collecting Faker>=0.7.0 (from factory_boy->-r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/67/ed/94a23058daff92545869848ccbcaeb826bc79c6ba4459c7df31ebe1f196d/Faker-2.0.1-py2.py3-none-any.whl (878kB)
- Collecting django-js-asset (from django-mptt->-r requirements.txt (line 11))
- Downloading https://files.pythonhosted.org/packages/aa/2d/98089cf51c8e83bc70723021390b94a3638a4a0ce30a47e2e70476b2095d/django_js_asset-1.2.2-py2.py3-none-any.whl
- Collecting kombu<5.0,>=4.4.0 (from celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/bb/22/58104fd214fb32008f2f4d64a1918c81e353f23e7beee9605674f9ecd6b2/kombu-4.6.4-py2.py3-none-any.whl (182kB)
- Collecting billiard<4.0,>=3.6.0 (from celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/9a/bb/2a016ac912fca48e06ff5a662407f3d1681aa47df97fb19feba7cc931ee1/billiard-3.6.1.0-py3-none-any.whl (89kB)
- Collecting vine>=1.3.0 (from celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/7f/60/82c03047396126c8331ceb64da1dc52d4f1317209f32e8fe286d0c07365a/vine-1.3.0-py2.py3-none-any.whl
- Collecting tqdm<5.0,>=4.11.2 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/a5/83/06029af22fe06b8a7be013aeae5e104b3ed26867e5d4ca91408b30aa602e/tqdm-4.34.0-py2.py3-none-any.whl (50kB)
- Collecting requests<3.0,>=2.8.1 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
- Collecting proglog<=1.0.0 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/fe/ab/4cb19b578e1364c0b2d6efd6521a8b4b4e5c4ae6528041d31a2a951dd991/proglog-0.1.9.tar.gz
- Collecting imageio<3.0,>=2.5 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f1482677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
- Collecting imageio_ffmpeg>=0.2.0 (from moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/1b/12/01126a2fb737b23461d7dadad3b8abd51ad6210f979ff05c6fa9812dfbbe/imageio_ffmpeg-0.3.0-py3-none-manylinux2010_x86_64.whl (22.2MB)
- Collecting attrdict<=2.0.1,>=2.0.0 (from qbittorrent-api->-r requirements.txt (line 15))
- Downloading https://files.pythonhosted.org/packages/ef/97/28fe7e68bc7adfce67d4339756e85e9fcf3c6fd7f0c0781695352b70472c/attrdict-2.0.1-py2.py3-none-any.whl
- Collecting urllib3<=1.24.3,>=1.24.2 (from qbittorrent-api->-r requirements.txt (line 15))
- Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
- Collecting future (from ffmpeg-python->-r requirements.txt (line 16))
- Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
- Collecting six>=1.9.0 (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
- Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
- Collecting parso>=0.5.0 (from jedi>=0.10->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/a3/bd/bf4e5bd01d79906e5b945a7af033154da49fd2b0d5b5c705a21330323305/parso-0.5.1-py2.py3-none-any.whl (95kB)
- Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
- Collecting ipython-genutils (from traitlets>=4.2->ipython->-r requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
- Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->-r requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
- Collecting python-dateutil>=2.4 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
- Collecting text-unidecode==1.2 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
- Downloading https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl (77kB)
- Collecting amqp<3.0,>=2.5.1 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/a1/ef/a62ff9dde89e6b75976a746aa5b828ccb3c839ac6fcdc283edd88d7cf90b/amqp-2.5.1-py2.py3-none-any.whl (49kB)
- Collecting importlib-metadata>=0.18 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl
- Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Collecting certifi>=2017.4.17 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
- Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
- Collecting zipp>=0.5 (from importlib-metadata>=0.18->kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
- Downloading https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
- Building wheels for collected packages: uwsgi, moviepy, pyyaml, backcall, varint, mmh3, wrapt, proglog, future
- Building wheel for uwsgi (setup.py): started
- Building wheel for uwsgi (setup.py): finished with status 'done'
- Created wheel for uwsgi: filename=uWSGI-2.0.18-cp37-cp37m-linux_x86_64.whl size=580184 sha256=c61bb0d0847fbec41a474e28278b4d61a9cc2dea51931fd19eee7dc87e6b6c30
- Stored in directory: /root/.cache/pip/wheels/2d/0c/b0/f3ba1bbce35c3766c9dac8c3d15d5431cac57e7a8c4111c268
- Building wheel for moviepy (setup.py): started
- Building wheel for moviepy (setup.py): finished with status 'done'
- Created wheel for moviepy: filename=moviepy-1.0.0-cp37-none-any.whl size=131367 sha256=624d08d667f6ba2a66f63109dcf742f6979be77f96da02a75320ccc96d53fe6d
- Stored in directory: /root/.cache/pip/wheels/52/e2/4c/f594a5945bc98e052ef248b46a0f1f7ea838b0b2a5f8895651
- Building wheel for pyyaml (setup.py): started
- Building wheel for pyyaml (setup.py): finished with status 'done'
- Created wheel for pyyaml: filename=PyYAML-5.1.2-cp37-cp37m-linux_x86_64.whl size=468694 sha256=7125858c6b5c9a3dec66a1480954e74d087f87e068b079dac3d967dd10f21e99
- Stored in directory: /root/.cache/pip/wheels/d9/45/dd/65f0b38450c47cf7e5312883deb97d065e030c5cca0a365030
- Building wheel for backcall (setup.py): started
- Building wheel for backcall (setup.py): finished with status 'done'
- Created wheel for backcall: filename=backcall-0.1.0-cp37-none-any.whl size=10414 sha256=d01e9a7ba766a68bede4025cca9a163fd6ac7d45a9a7bdbc6c18c4e2de6830c6
- Stored in directory: /root/.cache/pip/wheels/98/b0/dd/29e28ff615af3dda4c67cab719dd51357597eabff926976b45
- Building wheel for varint (setup.py): started
- Building wheel for varint (setup.py): finished with status 'done'
- Created wheel for varint: filename=varint-1.0.2-cp37-none-any.whl size=1980 sha256=7c48f6684cf2fb27d0fbf08a92e7c74105ac10e57988de63e9920bb5d0e7646a
- Stored in directory: /root/.cache/pip/wheels/87/62/fe/15e506bdde650fdd4e63d3eb91a1c3582ff1ee450e88e89d9e
- Building wheel for mmh3 (setup.py): started
- Building wheel for mmh3 (setup.py): finished with status 'done'
- Created wheel for mmh3: filename=mmh3-2.5.1-cp37-cp37m-linux_x86_64.whl size=48265 sha256=23e792818794ef8dd6584014027faffdba4be2a8883f57c9d7d49abddc502d60
- Stored in directory: /root/.cache/pip/wheels/38/b4/ea/6e4e321c625d3320c0c496bf4088371546d8fce5f1dd71b219
- Building wheel for wrapt (setup.py): started
- Building wheel for wrapt (setup.py): finished with status 'done'
- Created wheel for wrapt: filename=wrapt-1.11.2-cp37-cp37m-linux_x86_64.whl size=76128 sha256=43e171ff4d76eead59a2184705bd872e5a981ef255310ef40e330f0a763d0df4
- Stored in directory: /root/.cache/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
- Building wheel for proglog (setup.py): started
- Building wheel for proglog (setup.py): finished with status 'done'
- Created wheel for proglog: filename=proglog-0.1.9-cp37-none-any.whl size=6147 sha256=5e9dea7628ac0674ec6e5c72abe0643d962958d9a15511b8861dd4813c8125da
- Stored in directory: /root/.cache/pip/wheels/65/56/60/1d0306a8d90b188af393c1812ddb502a8821b70917f82dcc00
- Building wheel for future (setup.py): started
- Building wheel for future (setup.py): finished with status 'done'
- Created wheel for future: filename=future-0.17.1-cp37-none-any.whl size=488730 sha256=7b9bdf89fcf403bdaeea0b4037af75e60dd2094eb79dd7466741648ab732c6f6
- Stored in directory: /root/.cache/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
- Successfully built uwsgi moviepy pyyaml backcall varint mmh3 wrapt proglog future
- ERROR: qbittorrent-api 0.3.2 has requirement requests<=2.21.0,>=2.16.0, but you'll have requests 2.22.0 which is incompatible.
- Installing collected packages: sqlparse, pytz, django, uwsgi, pygments, backcall, six, wcwidth, prompt-toolkit, parso, jedi, ptyprocess, pexpect, pickleshare, ipython-genutils, decorator, traitlets, ipython, psycopg2-binary, varint, mmh3, imohash, attrs, Automat, incremental, PyHamcrest, idna, hyperlink, constantly, zope.interface, twisted, wrapt, crochet, pillow, numpy, opencv-python, python-dateutil, text-unidecode, Faker, factory-boy, django-js-asset, django-mptt, vine, amqp, zipp, importlib-metadata, kombu, billiard, celery, tqdm, chardet, certifi, urllib3, requests, proglog, imageio, imageio-ffmpeg, moviepy, pyyaml, attrdict, qbittorrent-api, future, ffmpeg-python
- Successfully installed Automat-0.7.0 Faker-2.0.1 PyHamcrest-1.9.0 amqp-2.5.1 attrdict-2.0.1 attrs-19.1.0 backcall-0.1.0 billiard-3.6.1.0 celery-4.3.0 certifi-2019.6.16 chardet-3.0.4 constantly-15.1.0 crochet-1.10.0 decorator-4.4.0 django-2.2.4 django-js-asset-1.2.2 django-mptt-0.10.0 factory-boy-2.12.0 ffmpeg-python-0.2.0 future-0.17.1 hyperlink-19.0.0 idna-2.8 imageio-2.5.0 imageio-ffmpeg-0.3.0 imohash-1.0.4 importlib-metadata-0.19 incremental-17.5.0 ipython-7.7.0 ipython-genutils-0.2.0 jedi-0.15.1 kombu-4.6.4 mmh3-2.5.1 moviepy-1.0.0 numpy-1.17.0 opencv-python-4.1.0.25 parso-0.5.1 pexpect-4.7.0 pickleshare-0.7.5 pillow-6.1.0 proglog-0.1.9 prompt-toolkit-2.0.9 psycopg2-binary-2.8.3 ptyprocess-0.6.0 pygments-2.4.2 python-dateutil-2.8.0 pytz-2019.2 pyyaml-5.1.2 qbittorrent-api-0.3.2 requests-2.22.0 six-1.12.0 sqlparse-0.3.0 text-unidecode-1.2 tqdm-4.34.0 traitlets-4.3.2 twisted-19.7.0 urllib3-1.24.3 uwsgi-2.0.18 varint-1.0.2 vine-1.3.0 wcwidth-0.1.7 wrapt-1.11.2 zipp-0.5.2 zope.interface-4.6.0
- Removing intermediate container 82bbb8902973
- ---> 058103d8b060
- Step 5/9 : COPY svh /www/svh
- ---> 6c3f4fc1928d
- Step 6/9 : WORKDIR /www/svh
- ---> Running in ae73a8a0733a
- Removing intermediate container ae73a8a0733a
- ---> 5e79f0dc9181
- Step 7/9 : RUN mkdir /www/svh/svh/settings_local/ && touch /www/svh/svh/settings_local/__init__.py && chown www-data:www-data -R /www && dos2unix ./run.sh
- ---> Running in 38934ffe2dd0
- dos2unix: converting file ./run.sh to Unix format...
- Removing intermediate container 38934ffe2dd0
- ---> 535514c02262
- Step 8/9 : USER www-data
- ---> Running in 285b118034a2
- Removing intermediate container 285b118034a2
- ---> a7e243a42265
- Step 9/9 : ENTRYPOINT ["./run.sh"]
- ---> Running in 94914dabc8e5
- Removing intermediate container 94914dabc8e5
- ---> afcf3d03f280
- Successfully built afcf3d03f280
- Successfully tagged svh_uwsgi:latest
- Building nginx
- Step 1/3 : FROM nginx:stable
- stable: Pulling from library/nginx
- 1ab2bdfe9778: Pull complete
- f50f9bfaef26: Pull complete
- eef791162233: Pull complete
- Digest: sha256:3c98df50eb7e634d9083e3fb96071eaa32f8dc794275f3e490a96529dc42d1eb
- Status: Downloaded newer image for nginx:stable
- ---> 41e97992fcd8
- Step 2/3 : COPY nginx.conf /etc/nginx/nginx.conf
- ---> 959144114a39
- Step 3/3 : COPY svh.conf /etc/nginx/conf.d/default.conf
- ---> 4a873ae0c8c4
- Successfully built 4a873ae0c8c4
- Successfully tagged svh_nginx:latest
- ERROR: Configuration for volume media specifies "device" driver_opt /www/svh/sources, but a volume with the same name uses a different "device" driver_opt (). If you wish to use the new configuration, please remove the existing volume "svh_media" first:
- $ docker volume rm svh_media
- root@instance-1:/home/djbios/SVH/docker# docker volume rm svh_media
- svh_media
- root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
- rabbit uses an image, skipping
- torrent uses an image, skipping
- Building postgres
- Step 1/2 : FROM postgres:9.6
- 9.6: Pulling from library/postgres
- Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
- Status: Image is up to date for postgres:9.6
- ---> f5548544c480
- Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
- ---> Using cache
- ---> 694e81d19ef3
- Successfully built 694e81d19ef3
- Successfully tagged svh_postgres:latest
- Building celery
- Step 1/9 : FROM python:3
- 3: Pulling from library/python
- Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
- Status: Image is up to date for python:3
- ---> e497dabd8450
- Step 2/9 : RUN apt-get update && apt-get install -y --no-install-recommends gettext graphviz postgresql-client dos2unix && rm -rf /var/lib/apt/lists/*
- ---> Using cache
- ---> e7f550674266
- Step 3/9 : WORKDIR /www/svh
- ---> Using cache
- ---> c928b69de731
- Step 4/9 : COPY svh/requirements.txt ./
- ---> Using cache
- ---> dba155671dde
- Step 5/9 : RUN pip3 install -r requirements.txt --compile
- ---> Using cache
- ---> daf475c7c7b5
- Step 6/9 : COPY svh .
- ---> Using cache
- ---> 7973ccef03d0
- Step 7/9 : RUN mkdir /www/svh/svh/settings_local/ && touch /www/svh/svh/settings_local/__init__.py && chown www-data:www-data -R /www/ && dos2unix ./run_celery.sh
- ---> Using cache
- ---> d87d8cd30255
- Step 8/9 : USER www-data
- ---> Using cache
- ---> 6ade2a65d9a5
- Step 9/9 : ENTRYPOINT ["./run_celery.sh"]
- ---> Using cache
- ---> 946f3c8173c5
- Successfully built 946f3c8173c5
- Successfully tagged svh_celery:latest
- Building uwsgi
- Step 1/9 : FROM python:3
- 3: Pulling from library/python
- Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
- Status: Image is up to date for python:3
- ---> e497dabd8450
- Step 2/9 : RUN apt-get update && apt-get install -y --no-install-recommends postgresql-client dos2unix && rm -rf /var/lib/apt/lists/*
- ---> Using cache
- ---> 178a4820d3cc
- Step 3/9 : COPY svh/requirements.txt ./
- ---> Using cache
- ---> 83458edd9678
- Step 4/9 : RUN pip3 install -r requirements.txt --compile
- ---> Using cache
- ---> 058103d8b060
- Step 5/9 : COPY svh /www/svh
- ---> Using cache
- ---> 6c3f4fc1928d
- Step 6/9 : WORKDIR /www/svh
- ---> Using cache
- ---> 5e79f0dc9181
- Step 7/9 : RUN mkdir /www/svh/svh/settings_local/ && touch /www/svh/svh/settings_local/__init__.py && chown www-data:www-data -R /www && dos2unix ./run.sh
- ---> Using cache
- ---> 535514c02262
- Step 8/9 : USER www-data
- ---> Using cache
- ---> a7e243a42265
- Step 9/9 : ENTRYPOINT ["./run.sh"]
- ---> Using cache
- ---> afcf3d03f280
- Successfully built afcf3d03f280
- Successfully tagged svh_uwsgi:latest
- Building nginx
- Step 1/3 : FROM nginx:stable
- stable: Pulling from library/nginx
- Digest: sha256:3c98df50eb7e634d9083e3fb96071eaa32f8dc794275f3e490a96529dc42d1eb
- Status: Image is up to date for nginx:stable
- ---> 41e97992fcd8
- Step 2/3 : COPY nginx.conf /etc/nginx/nginx.conf
- ---> Using cache
- ---> 959144114a39
- Step 3/3 : COPY svh.conf /etc/nginx/conf.d/default.conf
- ---> Using cache
- ---> 4a873ae0c8c4
- Successfully built 4a873ae0c8c4
- Successfully tagged svh_nginx:latest
- Creating volume "svh_media" with local driver
- Pulling rabbit (rabbitmq:)...
- latest: Pulling from library/rabbitmq
- 35c102085707: Pull complete
- 251f5509d51d: Pull complete
- 8e829fe70a46: Pull complete
- 6001e1789921: Pull complete
- 79bdb7145cce: Pull complete
- a53ba598956f: Pull complete
- 78be6aa88825: Pull complete
- 78743b5c9607: Pull complete
- af023e02a847: Pull complete
- 2259c0afa940: Pull complete
- Digest: sha256:eb9264306274d8df03e2a8496f3e74da59740fa5a363209d16b06949c49f192e
- Status: Downloaded newer image for rabbitmq:latest
- Pulling torrent (wernight/qbittorrent:)...
- latest: Pulling from wernight/qbittorrent
- 8e3ba11ec2a2: Pull complete
- 3cbbec862d05: Pull complete
- a094ddaaf297: Pull complete
- 8b82498cdc45: Pull complete
- b656ee51bbd9: Pull complete
- de98b4f6600e: Pull complete
- Digest: sha256:8da933529d6a5eb984affea3e4bc54c423b31432301b47885bb403fec0031cea
- Status: Downloaded newer image for wernight/qbittorrent:latest
- Creating svh_postgres_1 ... done
- Creating svh_torrent_1 ... done
- Creating svh_rabbit_1 ... done
- Creating svh_celery_1 ... done
- Creating svh_uwsgi_1 ... done
- Creating svh_nginx_1 ... done
- root@instance-1:/home/djbios/SVH/docker# wget http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
- --2019-08-21 08:11:05-- http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
- Resolving hldns.ru (hldns.ru)... 91.199.149.129
- Connecting to hldns.ru (hldns.ru)|91.199.149.129|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 12 [text/html]
- Saving to: ‘K6KW41U67PNJQCFAT93IJ256WJT0LP’
- K6KW41U67PNJQCFAT93IJ256WJT0L 100%[=================================================>] 12 --.-KB/s in 0s
- 2019-08-21 08:11:06 (1.07 MB/s) - ‘K6KW41U67PNJQCFAT93IJ256WJT0LP’ saved [12/12]
- root@instance-1:/home/djbios/SVH/docker# curl http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
- 101root@instance-1:/home/djbios/SVH/docker# curl http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
- 101root@instance-1:/home/djbios/SVH/docker# htop
- root@instance-1:/home/djbios/SVH/docker# docker stats
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.01% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.19% 112.5MiB / 7.296GiB 1.51% 38.7kB / 32.6kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.02% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.4kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.58% 80.71MiB / 7.296GiB 1.08% 38.3kB / 30.8kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.08% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.01% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.19% 112.5MiB / 7.296GiB 1.51% 38.7kB / 32.6kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.02% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.4kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.58% 80.71MiB / 7.296GiB 1.08% 38.3kB / 30.8kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.08% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.53% 112.5MiB / 7.296GiB 1.51% 38.8kB / 32.7kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.12% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.4kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.72% 80.71MiB / 7.296GiB 1.08% 38.5kB / 31kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.06% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.53% 112.5MiB / 7.296GiB 1.51% 38.8kB / 32.7kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.12% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.4kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.72% 80.71MiB / 7.296GiB 1.08% 38.5kB / 31kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.06% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.83% 112.5MiB / 7.296GiB 1.51% 39.4kB / 33.3kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.22% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.56% 80.71MiB / 7.296GiB 1.08% 39kB / 31.5kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.07% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.83% 112.5MiB / 7.296GiB 1.51% 39.4kB / 33.3kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.22% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.56% 80.71MiB / 7.296GiB 1.08% 39kB / 31.5kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.07% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.53% 112.5MiB / 7.296GiB 1.51% 39.4kB / 33.3kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.09% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.34% 80.71MiB / 7.296GiB 1.08% 39kB / 31.5kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.07% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.53% 112.5MiB / 7.296GiB 1.51% 39.4kB / 33.3kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.09% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.34% 80.71MiB / 7.296GiB 1.08% 39kB / 31.5kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.07% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.53% 112.5MiB / 7.296GiB 1.51% 39.4kB / 33.3kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.09% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.34% 80.71MiB / 7.296GiB 1.08% 39kB / 31.5kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.07% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.83% 112.5MiB / 7.296GiB 1.51% 39.9kB / 33.8kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.09% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.39% 80.71MiB / 7.296GiB 1.08% 39.5kB / 32.1kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.08% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
- 159cfb0b94d6 svh_nginx_1 0.00% 2.43MiB / 7.296GiB 0.03% 5.47kB / 0B 0B / 0B 2
- e4d497adcd96 svh_uwsgi_1 0.00% 0B / 0B 0.00% 0B / 0B 0B / 0B 0
- a5573381b75e svh_celery_1 0.83% 112.5MiB / 7.296GiB 1.51% 39.9kB / 33.8kB 0B / 24.6kB 7
- db72c1adb904 svh_torrent_1 0.09% 9.391MiB / 7.296GiB 0.13% 2.09MB / 72.5kB 0B / 12.3kB 14
- 9484e6337633 svh_rabbit_1 0.39% 80.71MiB / 7.296GiB 1.08% 39.5kB / 32.1kB 65.5kB / 483kB 88
- 639a4ff146f6 svh_postgres_1 0.08% 9.879MiB / 7.296GiB 0.13% 171kB / 164kB 27MB / 43.5MB 6
- ^C
- root@instance-1:/home/djbios/SVH/docker# docker logs
- K6KW41U67PNJQCFAT93IJ256WJT0LP docker-compose.windows.yml sftp_destination/
- celery/ docker-compose.yml uwsgi/
- deploy.sh nginx/
- deploy_win.ps1 postgres/
- root@instance-1:/home/djbios/SVH/docker# docker logs celery/Dockerfile ^C
- root@instance-1:/home/djbios/SVH/docker# sudo curl -L https://raw.githubusercontent.com/docker/compose/1.24.1/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 13258 100 13258 0 0 67642 0 --:--:-- --:--:-- --:--:-- 67299
- root@instance-1:/home/djbios/SVH/docker# apt isntall bash-completion
- E: Invalid operation isntall
- root@instance-1:/home/djbios/SVH/docker# apt install bash-completion
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- bash-completion
- 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
- Need to get 168 kB of archives.
- After this operation, 1394 kB of additional disk space will be used.
- Get:1 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 bash-completion all 1:2.8-1ubuntu1 [168 kB]
- Fetched 168 kB in 0s (1466 kB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package bash-completion.
- (Reading database ... 45972 files and directories currently installed.)
- Preparing to unpack .../bash-completion_1%3a2.8-1ubuntu1_all.deb ...
- Unpacking bash-completion (1:2.8-1ubuntu1) ...
- Setting up bash-completion (1:2.8-1ubuntu1) ...
- root@instance-1:/home/djbios/SVH/docker# exit
- djbios@instance-1:~$ sudo su
- root@instance-1:/home/djbios# docker logs
- .bash_logout .cache/ .profile SVH/
- .bashrc .gnupg/ .ssh/ get-docker.sh
- root@instance-1:/home/djbios# docker logs svh_Celery_1
- Error: No such container: svh_Celery_1
- root@instance-1:/home/djbios# docker logs svh_celery_1
- [2019-08-21 11:09:55,052: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 2.00 seconds...
- [2019-08-21 11:09:57,099: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 4.00 seconds...
- [2019-08-21 11:10:00,708: INFO/Beat] beat: Starting...
- [2019-08-21 11:10:01,131: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 6.00 seconds...
- [2019-08-21 11:10:07,169: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 8.00 seconds...
- [2019-08-21 11:10:15,205: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
- [2019-08-21 11:10:15,230: INFO/MainProcess] mingle: searching for neighbors
- [2019-08-21 11:10:16,296: INFO/MainProcess] mingle: all alone
- [2019-08-21 11:10:16,357: INFO/MainProcess] celery@a5573381b75e ready.
- root@instance-1:/home/djbios# ^C
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- root@instance-1:/home/djbios# chown -R www-data /var/lib/docker/volumes/
- 00a9f8edabb9bbb8036fe40aaa792ad1c36becf0f7832afbb02be2bcc6499e13/
- 909e1fc23cc71af9c062a95e9f92248f070e923315abcac81327dbbda9a1d00c/
- f98ae5bb4c1d1a12eb1aa49d7e41069b40c79b3406dc366e5f9b4d9f807c7fe6/
- metadata.db
- svh_db_data/
- svh_media/
- svh_rabbit/
- svh_settings/
- svh_static/
- root@instance-1:/home/djbios# chown -R www-data /var/lib/docker/volumes/svh_static/_data
- root@instance-1:/home/djbios# docker logs svh_celery_1
- [2019-08-21 11:09:55,052: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 2.00 seconds...
- [2019-08-21 11:09:57,099: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 4.00 seconds...
- [2019-08-21 11:10:00,708: INFO/Beat] beat: Starting...
- [2019-08-21 11:10:01,131: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 6.00 seconds...
- [2019-08-21 11:10:07,169: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 8.00 seconds...
- [2019-08-21 11:10:15,205: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
- [2019-08-21 11:10:15,230: INFO/MainProcess] mingle: searching for neighbors
- [2019-08-21 11:10:16,296: INFO/MainProcess] mingle: all alone
- [2019-08-21 11:10:16,357: INFO/MainProcess] celery@a5573381b75e ready.
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- root@instance-1:/home/djbios# docker restart svh_uwsgi_1
- svh_uwsgi_1
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- root@instance-1:/home/djbios# docker logs svh_nginx_1
- root@instance-1:/home/djbios# docker logs svh_nginx_1
- root@instance-1:/home/djbios# docker logs svh_nginx_1
- root@instance-1:/home/djbios# docker logs svh_nginx_1
- root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
- www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
- 'folder_traverser' 0.09 ms
- 'check_deleted_videosources' 15.09 ms
- 'update_video_sizes' 3.72 ms
- 'update_video_previews' 3.84 ms
- www-data@e4d497adcd96:/www/svh$ exit
- root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>rootdocker logs svh_uwsgi_1svh_uwsgi_1 bash
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# wget https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4 -o /www/svh/sources/
- wget: /www/svh/sources/: Is a directory
- root@instance-1:/home/djbios# wget https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4 -o /www/svh/sources/d
- root@instance-1:/home/djbios# ls /www/svh/sources/
- d lost+found
- root@instance-1:/home/djbios# mv /
- bin/ home/ lib32/ media/ root/ srv/ var/
- boot/ initrd.img lib64/ mnt/ run/ sys/ vmlinuz
- dev/ initrd.img.old libx32/ opt/ sbin/ tmp/ vmlinuz.old
- etc/ lib/ lost+found/ proc/ snap/ usr/ www/
- root@instance-1:/home/djbios# mv /www/svh/sources/d /www/svh/sources/d.mp4
- root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
- www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
- 'folder_traverser' 0.06 ms
- 'check_deleted_videosources' 16.34 ms
- 'update_video_sizes' 3.17 ms
- 'update_video_previews' 2.80 ms
- www-data@e4d497adcd96:/www/svh$ exit
- root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
- root@instance-1:/home/djbios# docker logs svh_uwsgi_1
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
- executor = MigrationExecutor(connection, self.migration_progress_callback)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
- self.loader = MigrationLoader(self.connection)
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
- self.build_graph()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
- self.applied_migrations = recorder.applied_migrations()
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
- if self.has_table():
- File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
- return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
- return self._cursor()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
- self.ensure_connection()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
- self.connection = self.get_new_connection(conn_params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
- connection = Database.connect(**conn_params)
- File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- django.db.utils.OperationalError: could not connect to server: Connection refused
- Is the server running on host "postgres" (172.18.0.2) and accepting
- TCP/IP connections on port 5432?
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- Applying svh.0001_initial... OK
- Applying svh.0002_auto_20181009_1857... OK
- Applying svh.0003_auto_20190423_1835... OK
- Applying svh.0004_auto_20190424_1312... OK
- Applying svh.0005_auto_20190424_1313... OK
- Applying svh.0006_auto_20190424_1326... OK
- Applying svh.0007_auto_20190426_1704... OK
- Applying svh.0008_videosource_folder... OK
- Applying svh.0009_preview... OK
- Applying svh.0010_auto_20190521_1814... OK
- Applying svh.0011_auto_20190615_1717... OK
- Applying svh.0012_videosource_published... OK
- Applying svh.0013_videofolder_deleted... OK
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- Traceback (most recent call last):
- File "manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
- collected = self.collect()
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
- handler(path, prefixed_path, storage)
- File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
- self.storage.save(prefixed_path, source_file)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
- return self._save(name, content)
- File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
- os.makedirs(directory)
- File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
- makedirs(head, exist_ok=exist_ok)
- File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
- mkdir(name, mode)
- PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, sessions, svh
- Running migrations:
- No migrations to apply.
- 122 static files copied to '/www/svh/static'.
- *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
- compiled with version: 8.3.0 on 21 August 2019 08:01:13
- os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
- nodename: e4d497adcd96
- machine: x86_64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 2
- current working directory: /www/svh
- detected binary path: /usr/local/bin/uwsgi
- chdir() to /www/svh/
- your memory page size is 4096 bytes
- detected max file descriptor number: 1048576
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
- Python version: 3.7.4 (default, Aug 14 2019, 12:09:51) [GCC 8.3.0]
- *** Python threads support is disabled. You can enable it with --enable-threads ***
- Python main interpreter initialized at 0x55d42852f120
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 291680 bytes (284 KB) for 3 cores
- *** Operational MODE: preforking ***
- ModuleNotFoundError: No module named 'wsgi'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 1)
- spawned uWSGI worker 1 (pid: 26, cores: 1)
- spawned uWSGI worker 2 (pid: 27, cores: 1)
- spawned uWSGI worker 3 (pid: 28, cores: 1)
- [pid: 28|app: 0|req: 1/1] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:17 2019] GET / => generated 26 bytes in 83 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 2/2] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:20 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 3/3] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:21 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 4/4] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:22 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 5/5] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:23 2019] GET / => generated 26 bytes in 14 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 1/6] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:51 2019] GET / => generated 26 bytes in 74 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 6/7] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:52 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 7/8] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:53 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 8/9] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:14:54 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 9/10] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:17:06 2019] GET / => generated 26 bytes in 13 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 28|app: 0|req: 10/11] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:17:07 2019] GET / => generated 26 bytes in 15 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- [pid: 27|app: 0|req: 2/12] 172.18.0.1 () {32 vars in 329 bytes} [Wed Aug 21 11:17:08 2019] GET / => generated 26 bytes in 16 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
- root@instance-1:/home/djbios# docker logs svh_nginx_1
- 172.18.0.1 - - [21/Aug/2019:08:14:17 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:20 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:21 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:22 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:23 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:51 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:52 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:53 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:14:54 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:17:06 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:17:07 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- 172.18.0.1 - - [21/Aug/2019:08:17:08 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
- root@instance-1:/home/djbios# docker logs svh_celery_1
- [2019-08-21 11:09:55,052: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 2.00 seconds...
- [2019-08-21 11:09:57,099: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 4.00 seconds...
- [2019-08-21 11:10:00,708: INFO/Beat] beat: Starting...
- [2019-08-21 11:10:01,131: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 6.00 seconds...
- [2019-08-21 11:10:07,169: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
- Trying again in 8.00 seconds...
- [2019-08-21 11:10:15,205: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
- [2019-08-21 11:10:15,230: INFO/MainProcess] mingle: searching for neighbors
- [2019-08-21 11:10:16,296: INFO/MainProcess] mingle: all alone
- [2019-08-21 11:10:16,357: INFO/MainProcess] celery@a5573381b75e ready.
- root@instance-1:/home/djbios# docker logs svh_postgres_1
- The files belonging to this database system will be owned by user "postgres".
- This user must also own the server process.
- The database cluster will be initialized with locale "en_US.utf8".
- The default database encoding has accordingly been set to "UTF8".
- The default text search configuration will be set to "english".
- Data page checksums are disabled.
- fixing permissions on existing directory /var/lib/postgresql/data ... ok
- creating subdirectories ... ok
- selecting default max_connections ... 100
- selecting default shared_buffers ... 128MB
- selecting default timezone ... Etc/UTC
- selecting dynamic shared memory implementation ... posix
- creating configuration files ... ok
- running bootstrap script ... ok
- performing post-bootstrap initialization ... ok
- syncing data to disk ... ok
- WARNING: enabling "trust" authentication for local connections
- You can change this by editing pg_hba.conf or using the option -A, or
- --auth-local and --auth-host, the next time you run initdb.
- Success. You can now start the database server using:
- pg_ctl -D /var/lib/postgresql/data -l logfile start
- ****************************************************
- WARNING: No password has been set for the database.
- This will allow anyone with access to the
- Postgres port to access your database. In
- Docker's default configuration, this is
- effectively any other container on the same
- system.
- Use "-e POSTGRES_PASSWORD=password" to set
- it in "docker run".
- ****************************************************
- waiting for server to start....LOG: database system was shut down at 2019-08-21 08:09:52 UTC
- LOG: MultiXact member wraparound protections are now enabled
- LOG: database system is ready to accept connections
- LOG: autovacuum launcher started
- done
- server started
- /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db-init.sql
- CREATE ROLE
- CREATE DATABASE
- GRANT
- CREATE DATABASE
- GRANT
- ALTER ROLE
- LOG: received fast shutdown request
- waiting for server to shut down...LOG: aborting any active transactions
- LOG: autovacuum launcher shutting down
- .LOG: shutting down
- LOG: database system is shut down
- done
- server stopped
- PostgreSQL init process complete; ready for start up.
- LOG: database system was shut down at 2019-08-21 08:09:55 UTC
- LOG: MultiXact member wraparound protections are now enabled
- LOG: database system is ready to accept connections
- LOG: autovacuum launcher started
- root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
- www-data@e4d497adcd96:/www/svh$ ./manage.py shell
- /usr/local/lib/python3.7/site-packages/IPython/paths.py:68: builtins.UserWarning: IPython parent '/var/www' is not a writable location, using a temp directory.
- Python 3.7.4 (default, Aug 14 2019, 12:09:51)
- Type 'copyright', 'credits' or 'license' for more information
- IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help.
- In [1]: from svh.models import *
- In [2]: VideoSource.objects.all()
- Out[2]: <QuerySet []>
- In [3]:
- Do you really want to exit ([y]/n)? y
- www-data@e4d497adcd96:/www/svh$ ls /www/svh/
- manage.py requirements.txt run_celery.sh svh/
- media/ run.sh static/
- www-data@e4d497adcd96:/www/svh$ ls /www/svh/media/
- d.mp4 lost+found/
- www-data@e4d497adcd96:/www/svh$ ls /www/svh/media/so
- ls: cannot access '/www/svh/media/so': No such file or directory
- www-data@e4d497adcd96:/www/svh$ ls /www/svh/media/^C
- www-data@e4d497adcd96:/www/svh$ exit
- root@instance-1:/home/djbios# mv /www/svh/sources/d /www/svh/sources/sources/d.mp4
- mv: cannot stat '/www/svh/sources/d': No such file or directory
- root@instance-1:/home/djbios# mv /www/svh/sources/d.mp4 /www/svh/sources/sources/d.mp4
- mv: cannot move '/www/svh/sources/d.mp4' to '/www/svh/sources/sources/d.mp4': No such file or directory
- root@instance-1:/home/djbios# mv /www/svh/sources/d.mp4 /www/svh/sources/sources/d.mp4
- mv: cannot move '/www/svh/sources/d.mp4' to '/www/svh/sources/sources/d.mp4': No such file or directory
- root@instance-1:/home/djbios# mkdir /www/svh/sources/sources
- root@instance-1:/home/djbios# mv /www/svh/sources/d.mp4 /www/svh/sources/sources/d.mp4
- root@instance-1:/home/djbios# chown -R www-data /var/lib/docker/volumes/svh_static/_data
- root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
- www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
- /www/svh/media/sources/d.mp4 fe01694579a6031b21d29dfd0065cdbc
- 'folder_traverser' 33.26 ms
- 'check_deleted_videosources' 4.43 ms
- 'update_video_sizes' 6.66 ms
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55bb188ab4c0] moov atom not found
- Traceback (most recent call last):
- File "./manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/www/svh/svh/management/commands/updatelibrary.py", line 9, in handle
- update_library()
- File "/usr/local/lib/python3.7/site-packages/celery/local.py", line 191, in __call__
- return self._get_current_object()(*a, **kw)
- File "/usr/local/lib/python3.7/site-packages/celery/app/task.py", line 394, in __call__
- return self.run(*args, **kwargs)
- File "/www/svh/svh/tasks.py", line 25, in update_library
- update_video_previews()
- File "/www/svh/svh/utils.py", line 27, in timed
- result = method(*args, **kw)
- File "/www/svh/svh/tasks.py", line 91, in update_video_previews
- generate_preview(vs)
- File "/www/svh/svh/utils.py", line 27, in timed
- result = method(*args, **kw)
- File "/www/svh/svh/tasks.py", line 117, in generate_preview
- frames = get_random_frames(smallestVideofile.path, 5)
- File "/www/svh/svh/tasks.py", line 102, in get_random_frames
- targets = random.sample(range(min(video_length, 25 * 5)), count) # todo gif length in settings
- File "/usr/local/lib/python3.7/random.py", line 321, in sample
- raise ValueError("Sample larger than population or is negative")
- ValueError: Sample larger than population or is negative
- www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
- /www/svh/media/sources/d.mp4 fe01694579a6031b21d29dfd0065cdbc
- 'folder_traverser' 21.00 ms
- 'check_deleted_videosources' 5.04 ms
- 'update_video_sizes' 4.98 ms
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x561921a13100] moov atom not found
- Traceback (most recent call last):
- File "./manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/www/svh/svh/management/commands/updatelibrary.py", line 9, in handle
- update_library()
- File "/usr/local/lib/python3.7/site-packages/celery/local.py", line 191, in __call__
- return self._get_current_object()(*a, **kw)
- File "/usr/local/lib/python3.7/site-packages/celery/app/task.py", line 394, in __call__
- return self.run(*args, **kwargs)
- File "/www/svh/svh/tasks.py", line 25, in update_library
- update_video_previews()
- File "/www/svh/svh/utils.py", line 27, in timed
- result = method(*args, **kw)
- File "/www/svh/svh/tasks.py", line 91, in update_video_previews
- generate_preview(vs)
- File "/www/svh/svh/utils.py", line 27, in timed
- result = method(*args, **kw)
- File "/www/svh/svh/tasks.py", line 117, in generate_preview
- frames = get_random_frames(smallestVideofile.path, 5)
- File "/www/svh/svh/tasks.py", line 102, in get_random_frames
- targets = random.sample(range(min(video_length, 25 * 5)), count) # todo gif length in settings
- File "/usr/local/lib/python3.7/random.py", line 321, in sample
- raise ValueError("Sample larger than population or is negative")
- ValueError: Sample larger than population or is negative
- www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
- /www/svh/media/sources/d.mp4 fe01694579a6031b21d29dfd0065cdbc
- 'folder_traverser' 21.99 ms
- 'check_deleted_videosources' 4.16 ms
- 'update_video_sizes' 4.90 ms
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5626384da9c0] moov atom not found
- Traceback (most recent call last):
- File "./manage.py", line 22, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/www/svh/svh/management/commands/updatelibrary.py", line 9, in handle
- update_library()
- File "/usr/local/lib/python3.7/site-packages/celery/local.py", line 191, in __call__
- return self._get_current_object()(*a, **kw)
- File "/usr/local/lib/python3.7/site-packages/celery/app/task.py", line 394, in __call__
- return self.run(*args, **kwargs)
- File "/www/svh/svh/tasks.py", line 25, in update_library
- update_video_previews()
- File "/www/svh/svh/utils.py", line 27, in timed
- result = method(*args, **kw)
- File "/www/svh/svh/tasks.py", line 91, in update_video_previews
- generate_preview(vs)
- File "/www/svh/svh/utils.py", line 27, in timed
- result = method(*args, **kw)
- File "/www/svh/svh/tasks.py", line 117, in generate_preview
- frames = get_random_frames(smallestVideofile.path, 5)
- File "/www/svh/svh/tasks.py", line 102, in get_random_frames
- targets = random.sample(range(min(video_length, 25 * 5)), count) # todo gif length in settings
- File "/usr/local/lib/python3.7/random.py", line 321, in sample
- raise ValueError("Sample larger than population or is negative")
- ValueError: Sample larger than population or is negative
- www-data@e4d497adcd96:/www/svh$ https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement