Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
886
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 463.24 KB | None | 0 0
  1. djbios@djbios-GL63-8RC:~$ 300*30
  2. 300*30: command not found
  3. djbios@djbios-GL63-8RC:~$ ipython
  4. Python 3.6.8 (default, Jan 14 2019, 11:02:34)
  5. Type 'copyright', 'credits' or 'license' for more information
  6. IPython 7.6.1 -- An enhanced Interactive Python. Type '?' for help.
  7.  
  8. In [1]: 300*60                                                                                                          
  9. Out[1]: 18000
  10.  
  11. In [2]: 300*60/12                                                                                                      
  12. Out[2]: 1500.0
  13.  
  14. In [3]: 300/12                                                                                                          
  15. Out[3]: 25.0
  16.  
  17. In [4]: 71*70                                                                                                          
  18. Out[4]: 4970
  19.  
  20. In [5]: 300/84                                                                                                          
  21. Out[5]: 3.5714285714285716
  22.  
  23. In [6]:                                                                                                                
  24. Do you really want to exit ([y]/n)? y
  25. djbios@djbios-GL63-8RC:~$ cat ~/.s
  26. .snxrc                     .ssh/                      .sudo_as_admin_successful  
  27. djbios@djbios-GL63-8RC:~$ cat ~/.ssh/
  28. id_ed25519/  id_rsa       id_rsa.pub   known_hosts  
  29. djbios@djbios-GL63-8RC:~$ cat ~/.ssh/id_rsa.pub
  30. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDY/NE3pDNdW/OD92X2TXv7oK6WE0u1u8VbjdfywSuXXJpVuXUfLYVM0HUYt9gLHuHeLoL1kGIl5b/dYMXP3oU+BZgBo48uAY44mhxeDVP5kHNAD5MrHhsX96GxEfn7reeqaKuuyZzQACW6CGkevOpGwtUmJMHhyhZRk1F4bg0DVp4zrd9zOu3e0jRml4XvoqMMNzNMzZMZg5YiV7GOjjOhGcGx9kvM0RbOPGYE9hs0pervsNgSU7GkM1sSK1/CVvTvLaN+q17jX4p5xIa7bbamSUWncjefU0h3uoNuvS1lxCDhwMlyiNbCKA+85OdsOLaA4WW13OKhyums1Cvdeciz djbios@djbios-GL63-8RC
  31. djbios@djbios-GL63-8RC:~$ ssh 35.204.56.15
  32. The authenticity of host '35.204.56.15 (35.204.56.15)' can't be established.
  33. ECDSA key fingerprint is SHA256:TEhIs+kUQF81a9L+dIZtIURcAp7Egt7ouQoYSOwH8IY.
  34. Are you sure you want to continue connecting (yes/no)? yes
  35. Warning: Permanently added '35.204.56.15' (ECDSA) to the list of known hosts.
  36. Welcome to Ubuntu 19.04 (GNU/Linux 5.0.0-1013-gcp x86_64)
  37.  
  38. * Documentation:  https://help.ubuntu.com
  39. * Management:     https://landscape.canonical.com
  40. * Support:        https://ubuntu.com/advantage
  41.  
  42. This system has been minimized by removing packages and content that are
  43. not required on a system that users do not log into.
  44.  
  45. To restore this content, you can run the 'unminimize' command.
  46.  
  47. 0 updates can be installed immediately.
  48. 0 of these updates are security updates.
  49.  
  50.  
  51. The programs included with the Ubuntu system are free software;
  52. the exact distribution terms for each program are described in the
  53. individual files in /usr/share/doc/*/copyright.
  54.  
  55. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  56. applicable law.
  57.  
  58. djbios@instance-1:~$ ls
  59. djbios@instance-1:~$ ls
  60. djbios@instance-1:~$ sudo apt install git
  61. Reading package lists... Done
  62. Building dependency tree      
  63. Reading state information... Done
  64. E: Unable to locate package git
  65. djbios@instance-1:~$ apt update
  66. Reading package lists... Done
  67. E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
  68. E: Unable to lock directory /var/lib/apt/lists/
  69. W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
  70. W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
  71. djbios@instance-1:~$ sudo su
  72. root@instance-1:/home/djbios# sudo apt install git
  73. Reading package lists... Done
  74. Building dependency tree      
  75. Reading state information... Done
  76. E: Unable to locate package git
  77. root@instance-1:/home/djbios# apt update
  78. Get:1 http://archive.canonical.com/ubuntu disco InRelease [10.9 kB]
  79. Get:2 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco InRelease [257 kB]
  80. Get:3 http://security.ubuntu.com/ubuntu disco-security InRelease [97.5 kB]
  81. Get:4 http://archive.canonical.com/ubuntu disco/partner amd64 Packages [1616 B]
  82. Get:5 http://archive.canonical.com/ubuntu disco/partner Translation-en [712 B]                                    
  83. Get:6 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates InRelease [97.5 kB]
  84. Get:7 http://security.ubuntu.com/ubuntu disco-security/main amd64 Packages [187 kB]
  85. Get:8 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports InRelease [88.8 kB]
  86. Get:9 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 Packages [995 kB]
  87. Get:10 http://security.ubuntu.com/ubuntu disco-security/main Translation-en [68.0 kB]
  88. Get:11 http://security.ubuntu.com/ubuntu disco-security/restricted amd64 Packages [3020 B]
  89. Get:12 http://security.ubuntu.com/ubuntu disco-security/restricted Translation-en [844 B]
  90. Get:13 http://security.ubuntu.com/ubuntu disco-security/universe amd64 Packages [244 kB]
  91. Get:14 http://security.ubuntu.com/ubuntu disco-security/universe Translation-en [68.5 kB]      
  92. Get:15 http://security.ubuntu.com/ubuntu disco-security/multiverse amd64 Packages [1172 B]      
  93. Get:16 http://security.ubuntu.com/ubuntu disco-security/multiverse Translation-en [632 B]
  94. Get:17 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main Translation-en [509 kB]
  95. Get:18 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/restricted amd64 Packages [14.0 kB]
  96. Get:19 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/restricted Translation-en [4960 B]
  97. Get:20 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/universe amd64 Packages [9065 kB]
  98. Get:21 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/universe Translation-en [5251 kB]
  99. Get:22 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/multiverse amd64 Packages [157 kB]
  100. Get:23 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/multiverse Translation-en [112 kB]
  101. Get:24 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages [248 kB]
  102. Get:25 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/main Translation-en [95.2 kB]
  103. Get:26 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/restricted amd64 Packages [3416 B]
  104. Get:27 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/restricted Translation-en [884 B]
  105. Get:28 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/universe amd64 Packages [292 kB]
  106. Get:29 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/universe Translation-en [96.3 kB]
  107. Get:30 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/multiverse amd64 Packages [1172 B]
  108. Get:31 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-updates/multiverse Translation-en [632 B]
  109. Get:32 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/main amd64 Packages [1220 B]
  110. Get:33 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/main Translation-en [684 B]
  111. Get:34 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/universe amd64 Packages [3420 B]
  112. Get:35 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco-backports/universe Translation-en [1532 B]
  113. Fetched 18.0 MB in 4s (4359 kB/s)                                
  114. Reading package lists... Done
  115. Building dependency tree      
  116. Reading state information... Done
  117. 2 packages can be upgraded. Run 'apt list --upgradable' to see them.
  118. root@instance-1:/home/djbios# sudo apt install git
  119. Reading package lists... Done
  120. Building dependency tree      
  121. Reading state information... Done
  122. The following additional packages will be installed:
  123.  git-man less libcurl3-gnutls liberror-perl
  124. Suggested packages:
  125.  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
  126. The following NEW packages will be installed:
  127.  git git-man less libcurl3-gnutls liberror-perl
  128. 0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
  129. Need to get 5311 kB of archives.
  130. After this operation, 34.9 MB of additional disk space will be used.
  131. Do you want to continue? [Y/n] y
  132. Get:1 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 less amd64 487-0.1build1 [112 kB]
  133. 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]
  134. Get:3 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 liberror-perl all 0.17027-2 [26.6 kB]
  135. 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]
  136. Get:5 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 git amd64 1:2.20.1-2ubuntu1 [4107 kB]
  137. Fetched 5311 kB in 0s (31.8 MB/s)
  138. debconf: delaying package configuration, since apt-utils is not installed
  139. Selecting previously unselected package less.
  140. (Reading database ... 44548 files and directories currently installed.)
  141. Preparing to unpack .../less_487-0.1build1_amd64.deb ...
  142. Unpacking less (487-0.1build1) ...
  143. Selecting previously unselected package libcurl3-gnutls:amd64.
  144. Preparing to unpack .../libcurl3-gnutls_7.64.0-2ubuntu1.1_amd64.deb ...
  145. Unpacking libcurl3-gnutls:amd64 (7.64.0-2ubuntu1.1) ...
  146. Selecting previously unselected package liberror-perl.
  147. Preparing to unpack .../liberror-perl_0.17027-2_all.deb ...
  148. Unpacking liberror-perl (0.17027-2) ...
  149. Selecting previously unselected package git-man.
  150. Preparing to unpack .../git-man_1%3a2.20.1-2ubuntu1_all.deb ...
  151. Unpacking git-man (1:2.20.1-2ubuntu1) ...
  152. Selecting previously unselected package git.
  153. Preparing to unpack .../git_1%3a2.20.1-2ubuntu1_amd64.deb ...
  154. Unpacking git (1:2.20.1-2ubuntu1) ...
  155. Setting up less (487-0.1build1) ...
  156. debconf: unable to initialize frontend: Dialog
  157. 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.)
  158. debconf: falling back to frontend: Readline
  159. Setting up libcurl3-gnutls:amd64 (7.64.0-2ubuntu1.1) ...
  160. Setting up liberror-perl (0.17027-2) ...
  161. Setting up git-man (1:2.20.1-2ubuntu1) ...
  162. Setting up git (1:2.20.1-2ubuntu1) ...
  163. Processing triggers for libc-bin (2.29-0ubuntu2) ...
  164. Processing triggers for mime-support (3.60ubuntu1) ...
  165. root@instance-1:/home/djbios# curl -fsSL https://get.docker.com -o get-docker.sh
  166. root@instance-1:/home/djbios# sudo sh get-docker.sh
  167. # Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a
  168. + sh -c apt-get update -qq >/dev/null
  169. + sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
  170. debconf: delaying package configuration, since apt-utils is not installed
  171. + sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
  172. Warning: apt-key output should not be parsed (stdout is not a terminal)
  173. + sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable" > /etc/apt/sources.list.d/docker.list
  174. + sh -c apt-get update -qq >/dev/null
  175. + [ -n  ]
  176. + sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
  177. debconf: delaying package configuration, since apt-utils is not installed
  178. + sh -c docker version
  179. Client: Docker Engine - Community
  180. Version:           19.03.1
  181. API version:       1.40
  182. Go version:        go1.12.5
  183. Git commit:        74b1e89
  184. Built:             Thu Jul 25 21:21:22 2019
  185. OS/Arch:           linux/amd64
  186. Experimental:      false
  187.  
  188. Server: Docker Engine - Community
  189. Engine:
  190.  Version:          19.03.1
  191.  API version:      1.40 (minimum version 1.12)
  192.  Go version:       go1.12.5
  193.  Git commit:       74b1e89
  194.  Built:            Thu Jul 25 21:19:53 2019
  195.  OS/Arch:          linux/amd64
  196.  Experimental:     false
  197. containerd:
  198.  Version:          1.2.6
  199.  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
  200. runc:
  201.  Version:          1.0.0-rc8
  202.  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
  203. docker-init:
  204.  Version:          0.18.0
  205.  GitCommit:        fec3683
  206. If you would like to use Docker as a non-root user, you should now consider
  207. adding your user to the "docker" group with something like:
  208.  
  209.  sudo usermod -aG docker your-user
  210.  
  211. Remember that you will have to log out and back in for this to take effect!
  212.  
  213. WARNING: Adding a user to the "docker" group will grant the ability to run
  214.         containers which can be used to obtain root privileges on the
  215.         docker host.
  216.         Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
  217.         for more information.
  218. root@instance-1:/home/djbios# sudo usermod -aG docker djbios
  219. 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
  220.  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  221.                                 Dload  Upload   Total   Spent    Left  Speed
  222. 100   617    0   617    0     0   2730      0 --:--:-- --:--:-- --:--:--  2730
  223. 100 15.4M  100 15.4M    0     0  8885k      0  0:00:01  0:00:01 --:--:-- 19.6M
  224. root@instance-1:/home/djbios# sudo chmod +x /usr/local/bin/docker-compose
  225. root@instance-1:/home/djbios# it clone https://github.com/djbios/SVH
  226. bash: it: command not found
  227. root@instance-1:/home/djbios# git clone https://github.com/djbios/SVH
  228. Cloning into 'SVH'...
  229. remote: Enumerating objects: 79, done.
  230. remote: Counting objects: 100% (79/79), done.
  231. remote: Compressing objects: 100% (48/48), done.
  232. remote: Total 931 (delta 26), reused 58 (delta 24), pack-reused 852
  233. Receiving objects: 100% (931/931), 153.23 KiB | 825.00 KiB/s, done.
  234. Resolving deltas: 100% (540/540), done.
  235. root@instance-1:/home/djbios# cd SVH/
  236. root@instance-1:/home/djbios/SVH# ls
  237. LICENSE  README.md  docker  svh
  238. root@instance-1:/home/djbios/SVH# cd docker/
  239. root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
  240. WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
  241. rabbit uses an image, skipping
  242. torrent uses an image, skipping
  243. Building postgres
  244. Step 1/2 : FROM postgres:9.6
  245. 9.6: Pulling from library/postgres
  246. 9fc222b64b0a: Pull complete
  247. 38296355136d: Pull complete
  248. 2809e135bbdb: Pull complete
  249. 77907400401d: Pull complete
  250. 1f8ceea7d21e: Pull complete
  251. 1ede1f2cb1b8: Pull complete
  252. dcfbc2751885: Pull complete
  253. 8379f81b7622: Pull complete
  254. 45521ea9bda2: Extracting [===========================================>       ]  42.47MB/49.33MB
  255. a0a3e8955df2: Download complete
  256. a98b58c8b258: Download complete
  257. 45521ea9bda2: Pull complete
  258. a0a3e8955df2: Pull complete
  259. a98b58c8b258: Pull complete
  260. 17e525318f9d: Pull complete
  261. ee5a9b48f1cf: Pull complete
  262. 5539d0e063c4: Pull complete
  263. Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
  264. Status: Downloaded newer image for postgres:9.6
  265. ---> f5548544c480
  266. Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
  267. ---> 694e81d19ef3
  268.  
  269. Successfully built 694e81d19ef3
  270. Successfully tagged svh_postgres:latest
  271. Building celery
  272. Step 1/9 : FROM python:3
  273. 3: Pulling from library/python
  274. 4ae16bd47783: Pull complete
  275. bbab4ec87ac4: Pull complete
  276. 2ea1f7804402: Pull complete
  277. 96465440c208: Pull complete
  278. 6ac892e64b94: Extracting [=================================================> ]  189.4MB/192.3MB
  279. 5b3ec9e84adf: Download complete
  280. 317202007d7c: Download complete
  281. ba1ee226143f: Download complete
  282. cba5f4ed3782: Download complete
  283. ^CERROR: Aborting.
  284. ^C
  285. root@instance-1:/home/djbios/SVH/docker# fdisk -l
  286. Disk /dev/loop0: 88.7 MiB, 92983296 bytes, 181608 sectors
  287. Units: sectors of 1 * 512 = 512 bytes
  288. Sector size (logical/physical): 512 bytes / 512 bytes
  289. I/O size (minimum/optimal): 512 bytes / 512 bytes
  290.  
  291.  
  292. Disk /dev/loop1: 60.5 MiB, 63447040 bytes, 123920 sectors
  293. Units: sectors of 1 * 512 = 512 bytes
  294. Sector size (logical/physical): 512 bytes / 512 bytes
  295. I/O size (minimum/optimal): 512 bytes / 512 bytes
  296.  
  297.  
  298. Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors
  299. Disk model: PersistentDisk  
  300. Units: sectors of 1 * 512 = 512 bytes
  301. Sector size (logical/physical): 512 bytes / 4096 bytes
  302. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  303. Disklabel type: gpt
  304. Disk identifier: F3214D29-87A3-46C2-B5E8-B00D962B3196
  305.  
  306. Device      Start      End  Sectors  Size Type
  307. /dev/sda1  227328 20971486 20744159  9.9G Linux filesystem
  308. /dev/sda14   2048    10239     8192    4M BIOS boot
  309. /dev/sda15  10240   227327   217088  106M EFI System
  310.  
  311. Partition table entries are not in disk order.
  312.  
  313.  
  314. Disk /dev/sdb: 500 GiB, 536870912000 bytes, 1048576000 sectors
  315. Disk model: PersistentDisk  
  316. Units: sectors of 1 * 512 = 512 bytes
  317. Sector size (logical/physical): 512 bytes / 4096 bytes
  318. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  319. root@instance-1:/home/djbios/SVH/docker# fdisk /dev/sdb
  320.  
  321. Welcome to fdisk (util-linux 2.33.1).
  322. Changes will remain in memory only, until you decide to write them.
  323. Be careful before using the write command.
  324.  
  325. Device does not contain a recognized partition table.
  326. Created a new DOS disklabel with disk identifier 0xa96bdb12.
  327.  
  328. Command (m for help): p
  329. Disk /dev/sdb: 500 GiB, 536870912000 bytes, 1048576000 sectors
  330. Disk model: PersistentDisk  
  331. Units: sectors of 1 * 512 = 512 bytes
  332. Sector size (logical/physical): 512 bytes / 4096 bytes
  333. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  334. Disklabel type: dos
  335. Disk identifier: 0xa96bdb12
  336.  
  337. Command (m for help): n
  338. Partition type
  339.   p   primary (0 primary, 0 extended, 4 free)
  340.   e   extended (container for logical partitions)
  341. Select (default p): p
  342. Partition number (1-4, default 1): 1
  343. First sector (2048-1048575999, default 2048):
  344. Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-1048575999, default 1048575999):
  345.  
  346. Created a new partition 1 of type 'Linux' and of size 500 GiB.
  347.  
  348. Command (m for help): w
  349. The partition table has been altered.
  350. Calling ioctl() to re-read partition table.
  351. Syncing disks.
  352.  
  353. root@instance-1:/home/djbios/SVH/docker# mount /dev/sd
  354. sda    sda1   sda14  sda15  sdb    sdb1  
  355. root@instance-1:/home/djbios/SVH/docker# mount /dev/sd
  356. sda    sda1   sda14  sda15  sdb    sdb1  
  357. root@instance-1:/home/djbios/SVH/docker# mount /dev/sdb1 /www/svh/sources
  358. mount: /www/svh/sources: mount point does not exist.
  359. root@instance-1:/home/djbios/SVH/docker# mkdir /www/svh
  360. mkdir: cannot create directory ‘/www/svh’: No such file or directory
  361. root@instance-1:/home/djbios/SVH/docker# mkdir /www/
  362. root@instance-1:/home/djbios/SVH/docker# mkdir /www/svh
  363. root@instance-1:/home/djbios/SVH/docker# mkdir /www/svh/sources
  364. root@instance-1:/home/djbios/SVH/docker# mount /dev/sdb1 /www/svh/sources
  365. mount: /www/svh/sources: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
  366. root@instance-1:/home/djbios/SVH/docker# mkf
  367. mkfifo       mkfs.bfs     mkfs.cramfs  mkfs.ext3    mkfs.minix  
  368. mkfs         mkfs.btrfs   mkfs.ext2    mkfs.ext4    mkfs.xfs    
  369. root@instance-1:/home/djbios/SVH/docker# mkf
  370. mkfifo       mkfs.bfs     mkfs.cramfs  mkfs.ext3    mkfs.minix  
  371. mkfs         mkfs.btrfs   mkfs.ext2    mkfs.ext4    mkfs.xfs    
  372. root@instance-1:/home/djbios/SVH/docker# mkfs.ext3 /dev/sdb1
  373. mke2fs 1.44.6 (5-Mar-2019)
  374. Discarding device blocks: done                            
  375. Creating filesystem with 131071744 4k blocks and 32768000 inodes
  376. Filesystem UUID: 306c3552-d7df-4792-a5e7-0a22906a907c
  377. Superblock backups stored on blocks:
  378.     32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
  379.     4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
  380.     102400000
  381.  
  382. Allocating group tables: done                            
  383. Writing inode tables: done                            
  384. Creating journal (262144 blocks): done
  385. Writing superblocks and filesystem accounting information: done    
  386.  
  387. root@instance-1:/home/djbios/SVH/docker# mount /dev/sdb1 /www/svh/sources
  388. root@instance-1:/home/djbios/SVH/docker# sudo nano /etc/fstab
  389. sudo: nano: command not found
  390. root@instance-1:/home/djbios/SVH/docker# apt install nano
  391. Reading package lists... Done
  392. Building dependency tree      
  393. Reading state information... Done
  394. Suggested packages:
  395.  spell
  396. The following NEW packages will be installed:
  397.  nano
  398. 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
  399. Need to get 237 kB of archives.
  400. After this operation, 799 kB of additional disk space will be used.
  401. Get:1 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 nano amd64 3.2-2 [237 kB]
  402. Fetched 237 kB in 0s (1686 kB/s)
  403. debconf: delaying package configuration, since apt-utils is not installed
  404. Selecting previously unselected package nano.
  405. (Reading database ... 45905 files and directories currently installed.)
  406. Preparing to unpack .../archives/nano_3.2-2_amd64.deb ...
  407. Unpacking nano (3.2-2) ...
  408. Setting up nano (3.2-2) ...
  409. update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode
  410. 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
  411. update-alternatives: using /bin/nano to provide /usr/bin/pico (pico) in auto mode
  412. 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
  413. root@instance-1:/home/djbios/SVH/docker# sudo nano /etc/fstab
  414. root@instance-1:/home/djbios/SVH/docker# chown -R www-data /www/svh/sources
  415. root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
  416. WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
  417. rabbit uses an image, skipping
  418. torrent uses an image, skipping
  419. Building postgres
  420. Step 1/2 : FROM postgres:9.6
  421. 9.6: Pulling from library/postgres
  422. Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
  423. Status: Image is up to date for postgres:9.6
  424. ---> f5548544c480
  425. Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
  426. ---> Using cache
  427. ---> 694e81d19ef3
  428.  
  429. Successfully built 694e81d19ef3
  430. Successfully tagged svh_postgres:latest
  431. Building celery
  432. ^CERROR: Aborting.
  433. ^CTraceback (most recent call last):
  434.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 442, in get_code
  435.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod02_archive.py", line 366, in extract
  436. KeyboardInterrupt
  437.  
  438. During handling of the above exception, another exception occurred:
  439.  
  440. Traceback (most recent call last):
  441.  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  442.  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  443.  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  444.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  445.  File "site-packages/docker/__init__.py", line 2, in <module>
  446.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  447.  File "site-packages/docker/api/__init__.py", line 2, in <module>
  448.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  449.  File "site-packages/docker/api/client.py", line 5, in <module>
  450.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  451.  File "site-packages/requests/__init__.py", line 114, in <module>
  452.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  453.  File "site-packages/requests/models.py", line 28, in <module>
  454.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 611, in exec_module
  455.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 444, in get_code
  456. ImportError: Loader FrozenImporter cannot handle module requests.auth
  457.  
  458. During handling of the above exception, another exception occurred:
  459.  
  460. Traceback (most recent call last):
  461.  File "bin/docker-compose", line 5, in <module>
  462.  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  463.  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  464.  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  465.  File "/code/.tox/py36/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  466.  File "compose/cli/main.py", line 17, in <module>
  467.  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  468.  File "<frozen importlib._bootstrap>", line 152, in __exit__
  469.  File "<frozen importlib._bootstrap>", line 106, in release
  470. KeyboardInterrupt
  471. [4288] Failed to execute script docker-compose
  472. root@instance-1:/home/djbios/SVH/docker# cat ./docker-compose.
  473. cat: ./docker-compose.: No such file or directory
  474. root@instance-1:/home/djbios/SVH/docker# cat ./docker-compose.
  475. docker-compose.windows.yml  docker-compose.yml          
  476. root@instance-1:/home/djbios/SVH/docker# cat ./docker-compose.yml
  477. version: '3.3'
  478.  
  479. services:
  480.  
  481. # Proxypass nginx server
  482.  nginx:
  483.    build:
  484.      context: nginx
  485.    volumes:
  486.      - media:/www/svh/media/
  487.      - static:/www/svh/static
  488.    links:
  489.      - uwsgi
  490.    depends_on:
  491.      - uwsgi
  492.    restart: always
  493.    ports:
  494.      - 80:80
  495. #    command: [nginx-debug, '-g', 'daemon off;']
  496.  
  497.  
  498. # Python web server
  499.  uwsgi:
  500.    build:
  501.      context: ../
  502.      dockerfile: docker/uwsgi/Dockerfile
  503.    volumes:
  504.    - settings:/www/svh/svh/settings_local/
  505.    - media:/www/svh/media/
  506.    - static:/www/svh/static
  507.    depends_on:
  508.    - postgres
  509.    links:
  510.    - postgres
  511.    restart: always
  512.    ports:
  513.    - 127.0.0.1:9001:9000
  514.  
  515.  
  516. # Celery for long running background tasks
  517.  celery:
  518.    build:
  519.      context: ..
  520.      dockerfile: docker/celery/Dockerfile
  521.    volumes:
  522.      - settings:/www/svh/svh/settings_local/
  523.      - media:/www/svh/media/
  524.    depends_on:
  525.      - postgres
  526.    links:
  527.      - postgres
  528.    restart: always
  529.  
  530.  
  531. # PostgreSQL database
  532.  postgres:
  533.    build:
  534.      context: postgres
  535.    volumes:
  536.    - db_data:/var/lib/postgresql/data/
  537.    restart: always
  538.    ports:
  539.      - 127.0.0.1:5432:5432
  540.  
  541. # RabbitMQ for celery
  542.  rabbit:
  543.    image: rabbitmq
  544.    volumes:
  545.      - rabbit:/var/lib/rabbitmq
  546.    restart: always
  547.    ports:
  548.      - 127.0.0.1:5672:5672
  549.  
  550. # Torrent service
  551.  torrent:
  552.    image: wernight/qbittorrent
  553.    volumes:
  554.      - media:/www/svh/media
  555.    restart: always
  556.    ports:
  557.      - 127.0.0.1:8080:8080
  558.      - 6881:6881
  559.      - 6881:6881/udp
  560.  
  561. volumes:
  562.  db_data: {}
  563.  media:
  564.    driver: local
  565.    driver_opts:
  566.      type: none
  567.      device: ${MEDIA_PATH}
  568.      o: bind
  569.  settings: {}
  570.  rabbit: {}
  571.  static: {}
  572. root@instance-1:/home/djbios/SVH/docker# git pull
  573. Already up to date.
  574. root@instance-1:/home/djbios/SVH/docker# cat ./deploy
  575. cat: ./deploy: No such file or directory
  576. root@instance-1:/home/djbios/SVH/docker# cat ./deploy.sh
  577. #!/usr/bin/env bash
  578. # On clean machine install:
  579. # sudo apt install git
  580. # curl -fsSL https://get.docker.com -o get-docker.sh
  581. # sudo sh get-docker.sh
  582. # 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
  583. # sudo chmod +x /usr/local/bin/docker-compose
  584. # git clone https://github.com/djbios/SVH
  585. cd "$(dirname "$0")"
  586.  
  587. : ${MEDIA_PATH:=/www/svh/media}
  588.  
  589. docker-compose -p svh build --pull
  590. docker-compose -p svh up -d --remove-orphansroot@instance-1:/home/djbios/SVH/docker#
  591. root@instance-1:/home/djbios/SVH/docker#
  592. root@instance-1:/home/djbios/SVH/docker# : ${MEDIA_PATH:=/www/svh/media}
  593. root@instance-1:/home/djbios/SVH/docker# $MEDIA_PATH
  594. bash: /www/svh/media: No such file or directory
  595. root@instance-1:/home/djbios/SVH/docker# cat ./deploy.sh
  596. #!/usr/bin/env bash
  597. # On clean machine install:
  598. # sudo apt install git
  599. # curl -fsSL https://get.docker.com -o get-docker.sh
  600. # sudo sh get-docker.sh
  601. # 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
  602. # sudo chmod +x /usr/local/bin/docker-compose
  603. # git clone https://github.com/djbios/SVH
  604. cd "$(dirname "$0")"
  605.  
  606. : ${MEDIA_PATH:=/www/svh/media}
  607.  
  608. docker-compose -p svh build --pull
  609. docker-compose -p svh up -d --remove-orphansroot@instance-1:/home/djbios/SVH/docker# ./deploy.sh
  610. WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
  611. rabbit uses an image, skipping
  612. torrent uses an image, skipping
  613. Building postgres
  614. Step 1/2 : FROM postgres:9.6
  615. 9.6: Pulling from library/postgres
  616. Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
  617. Status: Image is up to date for postgres:9.6
  618. ---> f5548544c480
  619. Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
  620. ---> Using cache
  621. ---> 694e81d19ef3
  622.  
  623. Successfully built 694e81d19ef3
  624. Successfully tagged svh_postgres:latest
  625. Building celery
  626. Step 1/9 : FROM python:3
  627. ^CERROR: Aborting.
  628. WARNING: The MEDIA_PATH variable is not set. Defaulting to a blank string.
  629. Creating network "svh_default" with the default driver
  630. Creating volume "svh_db_data" with default driver
  631. Creating volume "svh_media" with local driver
  632. Creating volume "svh_settings" with default driver
  633. Creating volume "svh_rabbit" with default driver
  634. Creating volume "svh_static" with default driver
  635. Building celery
  636. Step 1/9 : FROM python:3
  637. ^CERROR: Aborting.
  638. root@instance-1:/home/djbios/SVH/docker# ^C
  639. root@instance-1:/home/djbios/SVH/docker# $MEDIA_PATH
  640. bash: /www/svh/media: No such file or directory
  641. root@instance-1:/home/djbios/SVH/docker# export MEDIA_PATH=/www/svh/sources
  642. root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
  643. rabbit uses an image, skipping
  644. torrent uses an image, skipping
  645. Building postgres
  646. Step 1/2 : FROM postgres:9.6
  647. 9.6: Pulling from library/postgres
  648. Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
  649. Status: Image is up to date for postgres:9.6
  650. ---> f5548544c480
  651. Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
  652. ---> Using cache
  653. ---> 694e81d19ef3
  654.  
  655. Successfully built 694e81d19ef3
  656. Successfully tagged svh_postgres:latest
  657. Building celery
  658. Step 1/9 : FROM python:3
  659. ^CERROR: Aborting.
  660. 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:
  661. $ docker volume rm svh_media
  662. root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
  663. rabbit uses an image, skipping
  664. torrent uses an image, skipping
  665. Building postgres
  666. Step 1/2 : FROM postgres:9.6
  667. 9.6: Pulling from library/postgres
  668. Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
  669. Status: Image is up to date for postgres:9.6
  670. ---> f5548544c480
  671. Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
  672. ---> Using cache
  673. ---> 694e81d19ef3
  674.  
  675. Successfully built 694e81d19ef3
  676. Successfully tagged svh_postgres:latest
  677. Building celery
  678. Step 1/9 : FROM python:3
  679. 3: Pulling from library/python
  680. 4ae16bd47783: Pull complete
  681. bbab4ec87ac4: Pull complete
  682. 2ea1f7804402: Pull complete
  683. 96465440c208: Pull complete
  684. 6ac892e64b94: Pull complete
  685. 5b3ec9e84adf: Pull complete
  686. 317202007d7c: Pull complete
  687. ba1ee226143f: Pull complete
  688. cba5f4ed3782: Pull complete
  689. Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
  690. Status: Downloaded newer image for python:3
  691. ---> e497dabd8450
  692. 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/*
  693. ---> Running in eb6169d49f35
  694. Get:1 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
  695. Get:2 http://deb.debian.org/debian buster InRelease [118 kB]
  696. Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
  697. Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [66.5 kB]
  698. Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB]
  699. Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [884 B]
  700. Fetched 8171 kB in 2s (4370 kB/s)
  701. Reading package lists...
  702. Reading package lists...
  703. Building dependency tree...
  704. Reading state information...
  705. The following additional packages will be installed:
  706.  gettext-base libcdt5 libcgraph6 libgd3 libgts-0.7-5 libgvc6 libgvpr2
  707.  liblab-gamut1 libpathplan4 libxaw7 libxdot4 libxmu6 libxpm4
  708.  postgresql-client-11 postgresql-client-common
  709. Suggested packages:
  710.  gettext-doc autopoint libasprintf-dev libgettextpo-dev gsfonts graphviz-doc
  711.  libgd-tools postgresql-11 postgresql-doc-11
  712. Recommended packages:
  713.  fonts-liberation libgts-bin lsb-release
  714. The following NEW packages will be installed:
  715.  dos2unix gettext gettext-base graphviz libcdt5 libcgraph6 libgd3
  716.  libgts-0.7-5 libgvc6 libgvpr2 liblab-gamut1 libpathplan4 libxaw7 libxdot4
  717.  libxmu6 libxpm4 postgresql-client postgresql-client-11
  718.  postgresql-client-common
  719. 0 upgraded, 19 newly installed, 0 to remove and 1 not upgraded.
  720. Need to get 5894 kB of archives.
  721. After this operation, 25.2 MB of additional disk space will be used.
  722. Get:1 http://deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB]
  723. Get:2 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-client-11 amd64 11.5-1+deb10u1 [1390 kB]
  724. Get:3 http://deb.debian.org/debian buster/main amd64 dos2unix amd64 7.4.0-1 [391 kB]
  725. Get:4 http://deb.debian.org/debian buster/main amd64 gettext amd64 0.19.8.1-9 [1303 kB]
  726. Get:5 http://deb.debian.org/debian buster/main amd64 libcdt5 amd64 2.40.1-6 [60.6 kB]
  727. Get:6 http://deb.debian.org/debian buster/main amd64 libcgraph6 amd64 2.40.1-6 [84.1 kB]
  728. Get:7 http://deb.debian.org/debian buster/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB]
  729. Get:8 http://deb.debian.org/debian buster/main amd64 libgd3 amd64 2.2.5-5.2 [136 kB]
  730. Get:9 http://deb.debian.org/debian buster/main amd64 libgts-0.7-5 amd64 0.7.6+darcs121130-4 [158 kB]
  731. Get:10 http://deb.debian.org/debian buster/main amd64 libpathplan4 amd64 2.40.1-6 [63.5 kB]
  732. Get:11 http://deb.debian.org/debian buster/main amd64 libxdot4 amd64 2.40.1-6 [56.9 kB]
  733. Get:12 http://deb.debian.org/debian buster/main amd64 libgvc6 amd64 2.40.1-6 [646 kB]
  734. Get:13 http://deb.debian.org/debian buster/main amd64 libgvpr2 amd64 2.40.1-6 [213 kB]
  735. Get:14 http://deb.debian.org/debian buster/main amd64 liblab-gamut1 amd64 2.40.1-6 [220 kB]
  736. Get:15 http://deb.debian.org/debian buster/main amd64 libxmu6 amd64 2:1.1.2-2+b3 [60.8 kB]
  737. Get:16 http://deb.debian.org/debian buster/main amd64 libxaw7 amd64 2:1.0.13-1+b2 [201 kB]
  738. Get:17 http://deb.debian.org/debian buster/main amd64 graphviz amd64 2.40.1-6 [594 kB]
  739. Get:18 http://deb.debian.org/debian buster/main amd64 postgresql-client-common all 200+deb10u1 [84.4 kB]
  740. Get:19 http://deb.debian.org/debian buster/main amd64 postgresql-client all 11+200+deb10u1 [60.4 kB]
  741. debconf: delaying package configuration, since apt-utils is not installed
  742. Fetched 5894 kB in 0s (51.9 MB/s)
  743. Selecting previously unselected package gettext-base.
  744. (Reading database ... 24544 files and directories currently installed.)
  745. Preparing to unpack .../00-gettext-base_0.19.8.1-9_amd64.deb ...
  746. Unpacking gettext-base (0.19.8.1-9) ...
  747. Selecting previously unselected package dos2unix.
  748. Preparing to unpack .../01-dos2unix_7.4.0-1_amd64.deb ...
  749. Unpacking dos2unix (7.4.0-1) ...
  750. Selecting previously unselected package gettext.
  751. Preparing to unpack .../02-gettext_0.19.8.1-9_amd64.deb ...
  752. Unpacking gettext (0.19.8.1-9) ...
  753. Selecting previously unselected package libcdt5.
  754. Preparing to unpack .../03-libcdt5_2.40.1-6_amd64.deb ...
  755. Unpacking libcdt5 (2.40.1-6) ...
  756. Selecting previously unselected package libcgraph6.
  757. Preparing to unpack .../04-libcgraph6_2.40.1-6_amd64.deb ...
  758. Unpacking libcgraph6 (2.40.1-6) ...
  759. Selecting previously unselected package libxpm4:amd64.
  760. Preparing to unpack .../05-libxpm4_1%3a3.5.12-1_amd64.deb ...
  761. Unpacking libxpm4:amd64 (1:3.5.12-1) ...
  762. Selecting previously unselected package libgd3:amd64.
  763. Preparing to unpack .../06-libgd3_2.2.5-5.2_amd64.deb ...
  764. Unpacking libgd3:amd64 (2.2.5-5.2) ...
  765. Selecting previously unselected package libgts-0.7-5:amd64.
  766. Preparing to unpack .../07-libgts-0.7-5_0.7.6+darcs121130-4_amd64.deb ...
  767. Unpacking libgts-0.7-5:amd64 (0.7.6+darcs121130-4) ...
  768. Selecting previously unselected package libpathplan4.
  769. Preparing to unpack .../08-libpathplan4_2.40.1-6_amd64.deb ...
  770. Unpacking libpathplan4 (2.40.1-6) ...
  771. Selecting previously unselected package libxdot4.
  772. Preparing to unpack .../09-libxdot4_2.40.1-6_amd64.deb ...
  773. Unpacking libxdot4 (2.40.1-6) ...
  774. Selecting previously unselected package libgvc6.
  775. Preparing to unpack .../10-libgvc6_2.40.1-6_amd64.deb ...
  776. Unpacking libgvc6 (2.40.1-6) ...
  777. Selecting previously unselected package libgvpr2.
  778. Preparing to unpack .../11-libgvpr2_2.40.1-6_amd64.deb ...
  779. Unpacking libgvpr2 (2.40.1-6) ...
  780. Selecting previously unselected package liblab-gamut1.
  781. Preparing to unpack .../12-liblab-gamut1_2.40.1-6_amd64.deb ...
  782. Unpacking liblab-gamut1 (2.40.1-6) ...
  783. Selecting previously unselected package libxmu6:amd64.
  784. Preparing to unpack .../13-libxmu6_2%3a1.1.2-2+b3_amd64.deb ...
  785. Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ...
  786. Selecting previously unselected package libxaw7:amd64.
  787. Preparing to unpack .../14-libxaw7_2%3a1.0.13-1+b2_amd64.deb ...
  788. Unpacking libxaw7:amd64 (2:1.0.13-1+b2) ...
  789. Selecting previously unselected package graphviz.
  790. Preparing to unpack .../15-graphviz_2.40.1-6_amd64.deb ...
  791. Unpacking graphviz (2.40.1-6) ...
  792. Selecting previously unselected package postgresql-client-common.
  793. Preparing to unpack .../16-postgresql-client-common_200+deb10u1_all.deb ...
  794. Unpacking postgresql-client-common (200+deb10u1) ...
  795. Selecting previously unselected package postgresql-client-11.
  796. Preparing to unpack .../17-postgresql-client-11_11.5-1+deb10u1_amd64.deb ...
  797. Unpacking postgresql-client-11 (11.5-1+deb10u1) ...
  798. Selecting previously unselected package postgresql-client.
  799. Preparing to unpack .../18-postgresql-client_11+200+deb10u1_all.deb ...
  800. Unpacking postgresql-client (11+200+deb10u1) ...
  801. Setting up postgresql-client-common (200+deb10u1) ...
  802. Setting up libxdot4 (2.40.1-6) ...
  803. Setting up libxmu6:amd64 (2:1.1.2-2+b3) ...
  804. Setting up libxpm4:amd64 (1:3.5.12-1) ...
  805. Setting up liblab-gamut1 (2.40.1-6) ...
  806. Setting up gettext-base (0.19.8.1-9) ...
  807. Setting up libxaw7:amd64 (2:1.0.13-1+b2) ...
  808. Setting up libgts-0.7-5:amd64 (0.7.6+darcs121130-4) ...
  809. Setting up postgresql-client-11 (11.5-1+deb10u1) ...
  810. 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
  811. Setting up libpathplan4 (2.40.1-6) ...
  812. Setting up libgd3:amd64 (2.2.5-5.2) ...
  813. Setting up libcdt5 (2.40.1-6) ...
  814. Setting up libcgraph6 (2.40.1-6) ...
  815. Setting up dos2unix (7.4.0-1) ...
  816. Setting up gettext (0.19.8.1-9) ...
  817. Setting up postgresql-client (11+200+deb10u1) ...
  818. Setting up libgvc6 (2.40.1-6) ...
  819. Setting up libgvpr2 (2.40.1-6) ...
  820. Setting up graphviz (2.40.1-6) ...
  821. Processing triggers for libc-bin (2.28-10) ...
  822. Removing intermediate container eb6169d49f35
  823. ---> e7f550674266
  824. Step 3/9 : WORKDIR /www/svh
  825. ---> Running in 618cb98dd458
  826. Removing intermediate container 618cb98dd458
  827. ---> c928b69de731
  828. Step 4/9 : COPY svh/requirements.txt ./
  829. ---> dba155671dde
  830. Step 5/9 : RUN pip3 install -r requirements.txt --compile
  831. ---> Running in 8e1a22af9210
  832. Collecting django (from -r requirements.txt (line 1))
  833.  Downloading https://files.pythonhosted.org/packages/d6/57/66997ca6ef17d2d0f0ebcd860bc6778095ffee04077ca8985928175da358/Django-2.2.4-py3-none-any.whl (7.5MB)
  834. Collecting uwsgi (from -r requirements.txt (line 2))
  835.  Downloading https://files.pythonhosted.org/packages/e7/1e/3dcca007f974fe4eb369bf1b8629d5e342bb3055e2001b2e5340aaefae7a/uwsgi-2.0.18.tar.gz (801kB)
  836. Collecting ipython (from -r requirements.txt (line 3))
  837.  Downloading https://files.pythonhosted.org/packages/f6/c4/a79582814bdfe92bfca4d286a729304ffdf13f5135132cfcaea13cf1b2b3/ipython-7.7.0-py3-none-any.whl (774kB)
  838. Collecting psycopg2-binary (from -r requirements.txt (line 4))
  839.  Downloading https://files.pythonhosted.org/packages/f3/21/b7ccc8ae35e5b6ae62bfe47181353628bae52489c7798f00efd7916de543/psycopg2_binary-2.8.3-cp37-cp37m-manylinux1_x86_64.whl (2.9MB)
  840. Collecting imohash (from -r requirements.txt (line 5))
  841.  Downloading https://files.pythonhosted.org/packages/72/5d/27347eaeedb44f5a5d965a096dd6177109550cc0e5918c3164e4b2bf754c/imohash-1.0.4-py2.py3-none-any.whl
  842. Collecting twisted (from -r requirements.txt (line 6))
  843.  Downloading https://files.pythonhosted.org/packages/84/af/d15d3686e56c704796b23b67552f3ac78b84652793091a7d7ac8bf2887d7/Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl (3.1MB)
  844. Collecting crochet (from -r requirements.txt (line 7))
  845.  Downloading https://files.pythonhosted.org/packages/eb/8d/cdb5e6acae3574bb70d6e5db0ada41db3919f5ae0b786e32197d0d6d9884/crochet-1.10.0-py2.py3-none-any.whl
  846. Collecting pillow (from -r requirements.txt (line 8))
  847.  Downloading https://files.pythonhosted.org/packages/a4/da/2bd281c875686230eabc13d20ab590ea617563b0e746abfb0698c4d5b645/Pillow-6.1.0-cp37-cp37m-manylinux1_x86_64.whl (2.1MB)
  848. Collecting opencv-python (from -r requirements.txt (line 9))
  849.  Downloading https://files.pythonhosted.org/packages/de/52/61b9619a7a95a8d809515f68f1441224a07ce1873fd3af5e662851014a55/opencv_python-4.1.0.25-cp37-cp37m-manylinux1_x86_64.whl (26.6MB)
  850. Collecting factory_boy (from -r requirements.txt (line 10))
  851.  Downloading https://files.pythonhosted.org/packages/63/c3/e4d5ed760f09f5dfb6ebbc44e22801a5fa9fcad9158f5ec59d8304092833/factory_boy-2.12.0-py2.py3-none-any.whl
  852. Collecting django-mptt (from -r requirements.txt (line 11))
  853.  Downloading https://files.pythonhosted.org/packages/98/9e/c648c86405cff26f14d1efff2fe4902b0aa1eba7839fdf653f1e8110f0ed/django_mptt-0.10.0-py2.py3-none-any.whl (105kB)
  854. Collecting celery (from -r requirements.txt (line 12))
  855.  Downloading https://files.pythonhosted.org/packages/5c/a1/a3dd9d8bfa09156ec2cba37f90accf35c0f4ecc3980d96cb4fb99e56504b/celery-4.3.0-py2.py3-none-any.whl (413kB)
  856. Collecting moviepy (from -r requirements.txt (line 13))
  857.  Downloading https://files.pythonhosted.org/packages/fb/32/a93f4af8b88985304a748ca0a66a64eb9fac53d0a9355ec33e713c4a3bf5/moviepy-1.0.0.tar.gz (398kB)
  858. Collecting pyyaml (from -r requirements.txt (line 14))
  859.  Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
  860. Collecting qbittorrent-api (from -r requirements.txt (line 15))
  861.  Downloading https://files.pythonhosted.org/packages/2b/56/5b79dc08257f12db583eda6a079aea5c94eb80b851a0a3e5f2fb05eef5ed/qbittorrent_api-0.3.2-py3-none-any.whl (45kB)
  862. Collecting ffmpeg-python (from -r requirements.txt (line 16))
  863.  Downloading https://files.pythonhosted.org/packages/d7/0c/56be52741f75bad4dc6555991fabd2e07b432d333da82c11ad701123888a/ffmpeg_python-0.2.0-py3-none-any.whl
  864. Collecting pytz (from django->-r requirements.txt (line 1))
  865.  Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB)
  866. Collecting sqlparse (from django->-r requirements.txt (line 1))
  867.  Downloading https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
  868. Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.7/site-packages (from ipython->-r requirements.txt (line 3)) (41.1.0)
  869. Collecting decorator (from ipython->-r requirements.txt (line 3))
  870.  Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
  871. Collecting pygments (from ipython->-r requirements.txt (line 3))
  872.  Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
  873. Collecting backcall (from ipython->-r requirements.txt (line 3))
  874.  Downloading https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
  875. Collecting pexpect; sys_platform != "win32" (from ipython->-r requirements.txt (line 3))
  876.  Downloading https://files.pythonhosted.org/packages/0e/3e/377007e3f36ec42f1b84ec322ee12141a9e10d808312e5738f52f80a232c/pexpect-4.7.0-py2.py3-none-any.whl (58kB)
  877. Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython->-r requirements.txt (line 3))
  878.  Downloading https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl (337kB)
  879. Collecting jedi>=0.10 (from ipython->-r requirements.txt (line 3))
  880.  Downloading https://files.pythonhosted.org/packages/55/54/da994f359e4e7da4776a200e76dbc85ba5fc319eefc22e33d55296d95a1d/jedi-0.15.1-py2.py3-none-any.whl (1.0MB)
  881. Collecting traitlets>=4.2 (from ipython->-r requirements.txt (line 3))
  882.  Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
  883. Collecting pickleshare (from ipython->-r requirements.txt (line 3))
  884.  Downloading https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
  885. Collecting varint>=1.0.2 (from imohash->-r requirements.txt (line 5))
  886.  Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
  887. Collecting mmh3>=2.5.1 (from imohash->-r requirements.txt (line 5))
  888.  Downloading https://files.pythonhosted.org/packages/fa/7e/3ddcab0a9fcea034212c02eb411433db9330e34d626360b97333368b4052/mmh3-2.5.1.tar.gz
  889. Collecting attrs>=17.4.0 (from twisted->-r requirements.txt (line 6))
  890.  Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
  891. Collecting incremental>=16.10.1 (from twisted->-r requirements.txt (line 6))
  892.  Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
  893. Collecting constantly>=15.1 (from twisted->-r requirements.txt (line 6))
  894.  Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
  895. Collecting zope.interface>=4.4.2 (from twisted->-r requirements.txt (line 6))
  896.  Downloading https://files.pythonhosted.org/packages/3a/b5/5cbafbe09bbfc242503b0cd9bcf9dee32458b3ca166f6a63cb7b4f465b60/zope.interface-4.6.0-cp37-cp37m-manylinux1_x86_64.whl (167kB)
  897. Collecting PyHamcrest>=1.9.0 (from twisted->-r requirements.txt (line 6))
  898.  Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
  899. Collecting Automat>=0.3.0 (from twisted->-r requirements.txt (line 6))
  900.  Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
  901. Collecting hyperlink>=17.1.1 (from twisted->-r requirements.txt (line 6))
  902.  Downloading https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
  903. Collecting wrapt (from crochet->-r requirements.txt (line 7))
  904.  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
  905. Collecting numpy>=1.14.5 (from opencv-python->-r requirements.txt (line 9))
  906.  Downloading https://files.pythonhosted.org/packages/05/4b/55cfbfd3e5e85016eeef9f21c0ec809d978706a0d60b62cc28aeec8c792f/numpy-1.17.0-cp37-cp37m-manylinux1_x86_64.whl (20.3MB)
  907. Collecting Faker>=0.7.0 (from factory_boy->-r requirements.txt (line 10))
  908.  Downloading https://files.pythonhosted.org/packages/67/ed/94a23058daff92545869848ccbcaeb826bc79c6ba4459c7df31ebe1f196d/Faker-2.0.1-py2.py3-none-any.whl (878kB)
  909. Collecting django-js-asset (from django-mptt->-r requirements.txt (line 11))
  910.  Downloading https://files.pythonhosted.org/packages/aa/2d/98089cf51c8e83bc70723021390b94a3638a4a0ce30a47e2e70476b2095d/django_js_asset-1.2.2-py2.py3-none-any.whl
  911. Collecting billiard<4.0,>=3.6.0 (from celery->-r requirements.txt (line 12))
  912.  Downloading https://files.pythonhosted.org/packages/9a/bb/2a016ac912fca48e06ff5a662407f3d1681aa47df97fb19feba7cc931ee1/billiard-3.6.1.0-py3-none-any.whl (89kB)
  913. Collecting vine>=1.3.0 (from celery->-r requirements.txt (line 12))
  914.  Downloading https://files.pythonhosted.org/packages/7f/60/82c03047396126c8331ceb64da1dc52d4f1317209f32e8fe286d0c07365a/vine-1.3.0-py2.py3-none-any.whl
  915. Collecting kombu<5.0,>=4.4.0 (from celery->-r requirements.txt (line 12))
  916.  Downloading https://files.pythonhosted.org/packages/bb/22/58104fd214fb32008f2f4d64a1918c81e353f23e7beee9605674f9ecd6b2/kombu-4.6.4-py2.py3-none-any.whl (182kB)
  917. Collecting tqdm<5.0,>=4.11.2 (from moviepy->-r requirements.txt (line 13))
  918.  Downloading https://files.pythonhosted.org/packages/a5/83/06029af22fe06b8a7be013aeae5e104b3ed26867e5d4ca91408b30aa602e/tqdm-4.34.0-py2.py3-none-any.whl (50kB)
  919. Collecting requests<3.0,>=2.8.1 (from moviepy->-r requirements.txt (line 13))
  920.  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
  921. Collecting proglog<=1.0.0 (from moviepy->-r requirements.txt (line 13))
  922.  Downloading https://files.pythonhosted.org/packages/fe/ab/4cb19b578e1364c0b2d6efd6521a8b4b4e5c4ae6528041d31a2a951dd991/proglog-0.1.9.tar.gz
  923. Collecting imageio<3.0,>=2.5 (from moviepy->-r requirements.txt (line 13))
  924.  Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f1482677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
  925. Collecting imageio_ffmpeg>=0.2.0 (from moviepy->-r requirements.txt (line 13))
  926.  Downloading https://files.pythonhosted.org/packages/1b/12/01126a2fb737b23461d7dadad3b8abd51ad6210f979ff05c6fa9812dfbbe/imageio_ffmpeg-0.3.0-py3-none-manylinux2010_x86_64.whl (22.2MB)
  927. Collecting urllib3<=1.24.3,>=1.24.2 (from qbittorrent-api->-r requirements.txt (line 15))
  928.  Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
  929. Collecting attrdict<=2.0.1,>=2.0.0 (from qbittorrent-api->-r requirements.txt (line 15))
  930.  Downloading https://files.pythonhosted.org/packages/ef/97/28fe7e68bc7adfce67d4339756e85e9fcf3c6fd7f0c0781695352b70472c/attrdict-2.0.1-py2.py3-none-any.whl
  931. Collecting future (from ffmpeg-python->-r requirements.txt (line 16))
  932.  Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
  933. Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython->-r requirements.txt (line 3))
  934.  Downloading https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
  935. Collecting six>=1.9.0 (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
  936.  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
  937. Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
  938.  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
  939. Collecting parso>=0.5.0 (from jedi>=0.10->ipython->-r requirements.txt (line 3))
  940.  Downloading https://files.pythonhosted.org/packages/a3/bd/bf4e5bd01d79906e5b945a7af033154da49fd2b0d5b5c705a21330323305/parso-0.5.1-py2.py3-none-any.whl (95kB)
  941. Collecting ipython-genutils (from traitlets>=4.2->ipython->-r requirements.txt (line 3))
  942.  Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
  943. Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->-r requirements.txt (line 6))
  944.  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
  945. Collecting text-unidecode==1.2 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
  946.  Downloading https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl (77kB)
  947. Collecting python-dateutil>=2.4 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
  948.  Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
  949. Collecting importlib-metadata>=0.18 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
  950.  Downloading https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl
  951. Collecting amqp<3.0,>=2.5.1 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
  952.  Downloading https://files.pythonhosted.org/packages/a1/ef/a62ff9dde89e6b75976a746aa5b828ccb3c839ac6fcdc283edd88d7cf90b/amqp-2.5.1-py2.py3-none-any.whl (49kB)
  953. Collecting certifi>=2017.4.17 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
  954.  Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
  955. Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
  956.  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
  957. Collecting zipp>=0.5 (from importlib-metadata>=0.18->kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
  958.  Downloading https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
  959. Building wheels for collected packages: uwsgi, moviepy, pyyaml, backcall, varint, mmh3, wrapt, proglog, future
  960.  Building wheel for uwsgi (setup.py): started
  961.  Building wheel for uwsgi (setup.py): finished with status 'done'
  962.  Created wheel for uwsgi: filename=uWSGI-2.0.18-cp37-cp37m-linux_x86_64.whl size=580185 sha256=e31a4d88c9dca6fdd7ee5bc04037537f67e70d91b820a2e108a0ac1b3d5652f7
  963.  Stored in directory: /root/.cache/pip/wheels/2d/0c/b0/f3ba1bbce35c3766c9dac8c3d15d5431cac57e7a8c4111c268
  964.  Building wheel for moviepy (setup.py): started
  965.  Building wheel for moviepy (setup.py): finished with status 'done'
  966.  Created wheel for moviepy: filename=moviepy-1.0.0-cp37-none-any.whl size=131367 sha256=e1d83ea11888abbc52e7f1ebf97936e571207231edcd850917b5290f11550e38
  967.  Stored in directory: /root/.cache/pip/wheels/52/e2/4c/f594a5945bc98e052ef248b46a0f1f7ea838b0b2a5f8895651
  968.  Building wheel for pyyaml (setup.py): started
  969.  Building wheel for pyyaml (setup.py): finished with status 'done'
  970.  Created wheel for pyyaml: filename=PyYAML-5.1.2-cp37-cp37m-linux_x86_64.whl size=468684 sha256=d927950bcb37b121536466dabc0153247233946a44f88bb637e1d079911539e8
  971.  Stored in directory: /root/.cache/pip/wheels/d9/45/dd/65f0b38450c47cf7e5312883deb97d065e030c5cca0a365030
  972.  Building wheel for backcall (setup.py): started
  973.  Building wheel for backcall (setup.py): finished with status 'done'
  974.  Created wheel for backcall: filename=backcall-0.1.0-cp37-none-any.whl size=10414 sha256=0463f1047b398b23a83824c6aa57fea576aee68a5b834bfbfd02da1e790e9750
  975.  Stored in directory: /root/.cache/pip/wheels/98/b0/dd/29e28ff615af3dda4c67cab719dd51357597eabff926976b45
  976.  Building wheel for varint (setup.py): started
  977.  Building wheel for varint (setup.py): finished with status 'done'
  978.  Created wheel for varint: filename=varint-1.0.2-cp37-none-any.whl size=1980 sha256=0e0328791925de6ffbdbfe1130fa3530bf4cab74f548887c515fbe0e6970376f
  979.  Stored in directory: /root/.cache/pip/wheels/87/62/fe/15e506bdde650fdd4e63d3eb91a1c3582ff1ee450e88e89d9e
  980.  Building wheel for mmh3 (setup.py): started
  981.  Building wheel for mmh3 (setup.py): finished with status 'done'
  982.  Created wheel for mmh3: filename=mmh3-2.5.1-cp37-cp37m-linux_x86_64.whl size=48270 sha256=2e9f1d6dcd25fdbcabf4b5429bca1bfefe15a36a7be5bf228b678fec0eb75a3f
  983.  Stored in directory: /root/.cache/pip/wheels/38/b4/ea/6e4e321c625d3320c0c496bf4088371546d8fce5f1dd71b219
  984.  Building wheel for wrapt (setup.py): started
  985.  Building wheel for wrapt (setup.py): finished with status 'done'
  986.  Created wheel for wrapt: filename=wrapt-1.11.2-cp37-cp37m-linux_x86_64.whl size=76137 sha256=1894e915db41f120652bfb1bbf77fa934a5fdf2a2d5c714853cc472430e2f0ea
  987.  Stored in directory: /root/.cache/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
  988.  Building wheel for proglog (setup.py): started
  989.  Building wheel for proglog (setup.py): finished with status 'done'
  990.  Created wheel for proglog: filename=proglog-0.1.9-cp37-none-any.whl size=6147 sha256=851238cc917926af7a227462df653d150441c1e6722e9e092ea73c8a7057362e
  991.  Stored in directory: /root/.cache/pip/wheels/65/56/60/1d0306a8d90b188af393c1812ddb502a8821b70917f82dcc00
  992.  Building wheel for future (setup.py): started
  993.  Building wheel for future (setup.py): finished with status 'done'
  994.  Created wheel for future: filename=future-0.17.1-cp37-none-any.whl size=488730 sha256=da893283c81d3510e35a0d132502b100a5b39ed01fcdf0cba21a64261d70d8ea
  995.  Stored in directory: /root/.cache/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
  996. Successfully built uwsgi moviepy pyyaml backcall varint mmh3 wrapt proglog future
  997. 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.
  998. 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
  999. 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
  1000. Removing intermediate container 8e1a22af9210
  1001.  ---> daf475c7c7b5
  1002. Step 6/9 : COPY svh .
  1003.  ---> 7973ccef03d0
  1004. 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
  1005.  ---> Running in 0dcb3ab6d927
  1006. dos2unix: converting file ./run_celery.sh to Unix format...
  1007. Removing intermediate container 0dcb3ab6d927
  1008.  ---> d87d8cd30255
  1009. Step 8/9 : USER www-data
  1010.  ---> Running in f0dd1b2fb1b0
  1011. Removing intermediate container f0dd1b2fb1b0
  1012.  ---> 6ade2a65d9a5
  1013. Step 9/9 : ENTRYPOINT ["./run_celery.sh"]
  1014.  ---> Running in 7acda1b1dd57
  1015. Removing intermediate container 7acda1b1dd57
  1016.  ---> 946f3c8173c5
  1017.  
  1018. Successfully built 946f3c8173c5
  1019. Successfully tagged svh_celery:latest
  1020. Building uwsgi
  1021. Step 1/9 : FROM python:3
  1022. 3: Pulling from library/python
  1023. Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
  1024. Status: Image is up to date for python:3
  1025.  ---> e497dabd8450
  1026. Step 2/9 : RUN apt-get update && apt-get install -y --no-install-recommends     postgresql-client dos2unix  && rm -rf /var/lib/apt/lists/*
  1027.  ---> Running in 8d1f2abf7816
  1028. Get:1 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
  1029. Get:2 http://deb.debian.org/debian buster InRelease [118 kB]
  1030. Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
  1031. Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [66.5 kB]
  1032. Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB]
  1033. Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [884 B]
  1034. Fetched 8171 kB in 2s (4325 kB/s)
  1035. Reading package lists...
  1036. Reading package lists...
  1037. Building dependency tree...
  1038. Reading state information...
  1039. The following additional packages will be installed:
  1040.   postgresql-client-11 postgresql-client-common
  1041. Suggested packages:
  1042.   postgresql-11 postgresql-doc-11
  1043. Recommended packages:
  1044.   lsb-release
  1045. The following NEW packages will be installed:
  1046.   dos2unix postgresql-client postgresql-client-11 postgresql-client-common
  1047. 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
  1048. Need to get 1926 kB of archives.
  1049. After this operation, 7861 kB of additional disk space will be used.
  1050. Get:1 http://deb.debian.org/debian buster/main amd64 dos2unix amd64 7.4.0-1 [391 kB]
  1051. Get:2 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-client-11 amd64 11.5-1+deb10u1 [1390 kB]
  1052. Get:3 http://deb.debian.org/debian buster/main amd64 postgresql-client-common all 200+deb10u1 [84.4 kB]
  1053. Get:4 http://deb.debian.org/debian buster/main amd64 postgresql-client all 11+200+deb10u1 [60.4 kB]
  1054. debconf: delaying package configuration, since apt-utils is not installed
  1055. Fetched 1926 kB in 0s (39.5 MB/s)
  1056. Selecting previously unselected package dos2unix.
  1057. (Reading database ... 24544 files and directories currently installed.)
  1058. Preparing to unpack .../dos2unix_7.4.0-1_amd64.deb ...
  1059. Unpacking dos2unix (7.4.0-1) ...
  1060. Selecting previously unselected package postgresql-client-common.
  1061. Preparing to unpack .../postgresql-client-common_200+deb10u1_all.deb ...
  1062. Unpacking postgresql-client-common (200+deb10u1) ...
  1063. Selecting previously unselected package postgresql-client-11.
  1064. Preparing to unpack .../postgresql-client-11_11.5-1+deb10u1_amd64.deb ...
  1065. Unpacking postgresql-client-11 (11.5-1+deb10u1) ...
  1066. Selecting previously unselected package postgresql-client.
  1067. Preparing to unpack .../postgresql-client_11+200+deb10u1_all.deb ...
  1068. Unpacking postgresql-client (11+200+deb10u1) ...
  1069. Setting up postgresql-client-common (200+deb10u1) ...
  1070. Setting up postgresql-client-11 (11.5-1+deb10u1) ...
  1071. 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
  1072. Setting up dos2unix (7.4.0-1) ...
  1073. Setting up postgresql-client (11+200+deb10u1) ...
  1074. Removing intermediate container 8d1f2abf7816
  1075.  ---> 178a4820d3cc
  1076. Step 3/9 : COPY svh/requirements.txt ./
  1077.  ---> 83458edd9678
  1078. Step 4/9 : RUN pip3 install -r requirements.txt --compile
  1079.  ---> Running in 82bbb8902973
  1080. Collecting django (from -r requirements.txt (line 1))
  1081.   Downloading https://files.pythonhosted.org/packages/d6/57/66997ca6ef17d2d0f0ebcd860bc6778095ffee04077ca8985928175da358/Django-2.2.4-py3-none-any.whl (7.5MB)
  1082. Collecting uwsgi (from -r requirements.txt (line 2))
  1083.   Downloading https://files.pythonhosted.org/packages/e7/1e/3dcca007f974fe4eb369bf1b8629d5e342bb3055e2001b2e5340aaefae7a/uwsgi-2.0.18.tar.gz (801kB)
  1084. Collecting ipython (from -r requirements.txt (line 3))
  1085.   Downloading https://files.pythonhosted.org/packages/f6/c4/a79582814bdfe92bfca4d286a729304ffdf13f5135132cfcaea13cf1b2b3/ipython-7.7.0-py3-none-any.whl (774kB)
  1086. Collecting psycopg2-binary (from -r requirements.txt (line 4))
  1087.   Downloading https://files.pythonhosted.org/packages/f3/21/b7ccc8ae35e5b6ae62bfe47181353628bae52489c7798f00efd7916de543/psycopg2_binary-2.8.3-cp37-cp37m-manylinux1_x86_64.whl (2.9MB)
  1088. Collecting imohash (from -r requirements.txt (line 5))
  1089.   Downloading https://files.pythonhosted.org/packages/72/5d/27347eaeedb44f5a5d965a096dd6177109550cc0e5918c3164e4b2bf754c/imohash-1.0.4-py2.py3-none-any.whl
  1090. Collecting twisted (from -r requirements.txt (line 6))
  1091.   Downloading https://files.pythonhosted.org/packages/84/af/d15d3686e56c704796b23b67552f3ac78b84652793091a7d7ac8bf2887d7/Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl (3.1MB)
  1092. Collecting crochet (from -r requirements.txt (line 7))
  1093.   Downloading https://files.pythonhosted.org/packages/eb/8d/cdb5e6acae3574bb70d6e5db0ada41db3919f5ae0b786e32197d0d6d9884/crochet-1.10.0-py2.py3-none-any.whl
  1094. Collecting pillow (from -r requirements.txt (line 8))
  1095.   Downloading https://files.pythonhosted.org/packages/a4/da/2bd281c875686230eabc13d20ab590ea617563b0e746abfb0698c4d5b645/Pillow-6.1.0-cp37-cp37m-manylinux1_x86_64.whl (2.1MB)
  1096. Collecting opencv-python (from -r requirements.txt (line 9))
  1097.   Downloading https://files.pythonhosted.org/packages/de/52/61b9619a7a95a8d809515f68f1441224a07ce1873fd3af5e662851014a55/opencv_python-4.1.0.25-cp37-cp37m-manylinux1_x86_64.whl (26.6MB)
  1098. Collecting factory_boy (from -r requirements.txt (line 10))
  1099.   Downloading https://files.pythonhosted.org/packages/63/c3/e4d5ed760f09f5dfb6ebbc44e22801a5fa9fcad9158f5ec59d8304092833/factory_boy-2.12.0-py2.py3-none-any.whl
  1100. Collecting django-mptt (from -r requirements.txt (line 11))
  1101.   Downloading https://files.pythonhosted.org/packages/98/9e/c648c86405cff26f14d1efff2fe4902b0aa1eba7839fdf653f1e8110f0ed/django_mptt-0.10.0-py2.py3-none-any.whl (105kB)
  1102. Collecting celery (from -r requirements.txt (line 12))
  1103.   Downloading https://files.pythonhosted.org/packages/5c/a1/a3dd9d8bfa09156ec2cba37f90accf35c0f4ecc3980d96cb4fb99e56504b/celery-4.3.0-py2.py3-none-any.whl (413kB)
  1104. Collecting moviepy (from -r requirements.txt (line 13))
  1105.   Downloading https://files.pythonhosted.org/packages/fb/32/a93f4af8b88985304a748ca0a66a64eb9fac53d0a9355ec33e713c4a3bf5/moviepy-1.0.0.tar.gz (398kB)
  1106. Collecting pyyaml (from -r requirements.txt (line 14))
  1107.   Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
  1108. Collecting qbittorrent-api (from -r requirements.txt (line 15))
  1109.   Downloading https://files.pythonhosted.org/packages/2b/56/5b79dc08257f12db583eda6a079aea5c94eb80b851a0a3e5f2fb05eef5ed/qbittorrent_api-0.3.2-py3-none-any.whl (45kB)
  1110. Collecting ffmpeg-python (from -r requirements.txt (line 16))
  1111.   Downloading https://files.pythonhosted.org/packages/d7/0c/56be52741f75bad4dc6555991fabd2e07b432d333da82c11ad701123888a/ffmpeg_python-0.2.0-py3-none-any.whl
  1112. Collecting sqlparse (from django->-r requirements.txt (line 1))
  1113.   Downloading https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
  1114. Collecting pytz (from django->-r requirements.txt (line 1))
  1115.   Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB)
  1116. Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.7/site-packages (from ipython->-r requirements.txt (line 3)) (41.1.0)
  1117. Collecting pygments (from ipython->-r requirements.txt (line 3))
  1118.   Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
  1119. Collecting backcall (from ipython->-r requirements.txt (line 3))
  1120.   Downloading https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
  1121. Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython->-r requirements.txt (line 3))
  1122.   Downloading https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl (337kB)
  1123. Collecting jedi>=0.10 (from ipython->-r requirements.txt (line 3))
  1124.   Downloading https://files.pythonhosted.org/packages/55/54/da994f359e4e7da4776a200e76dbc85ba5fc319eefc22e33d55296d95a1d/jedi-0.15.1-py2.py3-none-any.whl (1.0MB)
  1125. Collecting pexpect; sys_platform != "win32" (from ipython->-r requirements.txt (line 3))
  1126.   Downloading https://files.pythonhosted.org/packages/0e/3e/377007e3f36ec42f1b84ec322ee12141a9e10d808312e5738f52f80a232c/pexpect-4.7.0-py2.py3-none-any.whl (58kB)
  1127. Collecting pickleshare (from ipython->-r requirements.txt (line 3))
  1128.   Downloading https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
  1129. Collecting traitlets>=4.2 (from ipython->-r requirements.txt (line 3))
  1130.   Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
  1131. Collecting decorator (from ipython->-r requirements.txt (line 3))
  1132.   Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
  1133. Collecting varint>=1.0.2 (from imohash->-r requirements.txt (line 5))
  1134.   Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
  1135. Collecting mmh3>=2.5.1 (from imohash->-r requirements.txt (line 5))
  1136.   Downloading https://files.pythonhosted.org/packages/fa/7e/3ddcab0a9fcea034212c02eb411433db9330e34d626360b97333368b4052/mmh3-2.5.1.tar.gz
  1137. Collecting Automat>=0.3.0 (from twisted->-r requirements.txt (line 6))
  1138.   Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
  1139. Collecting incremental>=16.10.1 (from twisted->-r requirements.txt (line 6))
  1140.   Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
  1141. Collecting PyHamcrest>=1.9.0 (from twisted->-r requirements.txt (line 6))
  1142.   Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
  1143. Collecting hyperlink>=17.1.1 (from twisted->-r requirements.txt (line 6))
  1144.   Downloading https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
  1145. Collecting constantly>=15.1 (from twisted->-r requirements.txt (line 6))
  1146.   Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
  1147. Collecting attrs>=17.4.0 (from twisted->-r requirements.txt (line 6))
  1148.   Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
  1149. Collecting zope.interface>=4.4.2 (from twisted->-r requirements.txt (line 6))
  1150.   Downloading https://files.pythonhosted.org/packages/3a/b5/5cbafbe09bbfc242503b0cd9bcf9dee32458b3ca166f6a63cb7b4f465b60/zope.interface-4.6.0-cp37-cp37m-manylinux1_x86_64.whl (167kB)
  1151. Collecting wrapt (from crochet->-r requirements.txt (line 7))
  1152.   Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
  1153. Collecting numpy>=1.14.5 (from opencv-python->-r requirements.txt (line 9))
  1154.   Downloading https://files.pythonhosted.org/packages/05/4b/55cfbfd3e5e85016eeef9f21c0ec809d978706a0d60b62cc28aeec8c792f/numpy-1.17.0-cp37-cp37m-manylinux1_x86_64.whl (20.3MB)
  1155. Collecting Faker>=0.7.0 (from factory_boy->-r requirements.txt (line 10))
  1156.   Downloading https://files.pythonhosted.org/packages/67/ed/94a23058daff92545869848ccbcaeb826bc79c6ba4459c7df31ebe1f196d/Faker-2.0.1-py2.py3-none-any.whl (878kB)
  1157. Collecting django-js-asset (from django-mptt->-r requirements.txt (line 11))
  1158.   Downloading https://files.pythonhosted.org/packages/aa/2d/98089cf51c8e83bc70723021390b94a3638a4a0ce30a47e2e70476b2095d/django_js_asset-1.2.2-py2.py3-none-any.whl
  1159. Collecting kombu<5.0,>=4.4.0 (from celery->-r requirements.txt (line 12))
  1160.   Downloading https://files.pythonhosted.org/packages/bb/22/58104fd214fb32008f2f4d64a1918c81e353f23e7beee9605674f9ecd6b2/kombu-4.6.4-py2.py3-none-any.whl (182kB)
  1161. Collecting billiard<4.0,>=3.6.0 (from celery->-r requirements.txt (line 12))
  1162.   Downloading https://files.pythonhosted.org/packages/9a/bb/2a016ac912fca48e06ff5a662407f3d1681aa47df97fb19feba7cc931ee1/billiard-3.6.1.0-py3-none-any.whl (89kB)
  1163. Collecting vine>=1.3.0 (from celery->-r requirements.txt (line 12))
  1164.   Downloading https://files.pythonhosted.org/packages/7f/60/82c03047396126c8331ceb64da1dc52d4f1317209f32e8fe286d0c07365a/vine-1.3.0-py2.py3-none-any.whl
  1165. Collecting tqdm<5.0,>=4.11.2 (from moviepy->-r requirements.txt (line 13))
  1166.   Downloading https://files.pythonhosted.org/packages/a5/83/06029af22fe06b8a7be013aeae5e104b3ed26867e5d4ca91408b30aa602e/tqdm-4.34.0-py2.py3-none-any.whl (50kB)
  1167. Collecting requests<3.0,>=2.8.1 (from moviepy->-r requirements.txt (line 13))
  1168.   Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
  1169. Collecting proglog<=1.0.0 (from moviepy->-r requirements.txt (line 13))
  1170.   Downloading https://files.pythonhosted.org/packages/fe/ab/4cb19b578e1364c0b2d6efd6521a8b4b4e5c4ae6528041d31a2a951dd991/proglog-0.1.9.tar.gz
  1171. Collecting imageio<3.0,>=2.5 (from moviepy->-r requirements.txt (line 13))
  1172.   Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f1482677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
  1173. Collecting imageio_ffmpeg>=0.2.0 (from moviepy->-r requirements.txt (line 13))
  1174.   Downloading https://files.pythonhosted.org/packages/1b/12/01126a2fb737b23461d7dadad3b8abd51ad6210f979ff05c6fa9812dfbbe/imageio_ffmpeg-0.3.0-py3-none-manylinux2010_x86_64.whl (22.2MB)
  1175. Collecting attrdict<=2.0.1,>=2.0.0 (from qbittorrent-api->-r requirements.txt (line 15))
  1176.   Downloading https://files.pythonhosted.org/packages/ef/97/28fe7e68bc7adfce67d4339756e85e9fcf3c6fd7f0c0781695352b70472c/attrdict-2.0.1-py2.py3-none-any.whl
  1177. Collecting urllib3<=1.24.3,>=1.24.2 (from qbittorrent-api->-r requirements.txt (line 15))
  1178.   Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
  1179. Collecting future (from ffmpeg-python->-r requirements.txt (line 16))
  1180.   Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
  1181. Collecting six>=1.9.0 (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
  1182.   Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
  1183. Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython->-r requirements.txt (line 3))
  1184.   Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
  1185. Collecting parso>=0.5.0 (from jedi>=0.10->ipython->-r requirements.txt (line 3))
  1186.   Downloading https://files.pythonhosted.org/packages/a3/bd/bf4e5bd01d79906e5b945a7af033154da49fd2b0d5b5c705a21330323305/parso-0.5.1-py2.py3-none-any.whl (95kB)
  1187. Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython->-r requirements.txt (line 3))
  1188.   Downloading https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
  1189. Collecting ipython-genutils (from traitlets>=4.2->ipython->-r requirements.txt (line 3))
  1190.   Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
  1191. Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->-r requirements.txt (line 6))
  1192.   Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
  1193. Collecting python-dateutil>=2.4 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
  1194.   Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
  1195. Collecting text-unidecode==1.2 (from Faker>=0.7.0->factory_boy->-r requirements.txt (line 10))
  1196.   Downloading https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl (77kB)
  1197. Collecting amqp<3.0,>=2.5.1 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
  1198.   Downloading https://files.pythonhosted.org/packages/a1/ef/a62ff9dde89e6b75976a746aa5b828ccb3c839ac6fcdc283edd88d7cf90b/amqp-2.5.1-py2.py3-none-any.whl (49kB)
  1199. Collecting importlib-metadata>=0.18 (from kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
  1200.   Downloading https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl
  1201. Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
  1202.   Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
  1203. Collecting certifi>=2017.4.17 (from requests<3.0,>=2.8.1->moviepy->-r requirements.txt (line 13))
  1204.   Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
  1205. Collecting zipp>=0.5 (from importlib-metadata>=0.18->kombu<5.0,>=4.4.0->celery->-r requirements.txt (line 12))
  1206.   Downloading https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
  1207. Building wheels for collected packages: uwsgi, moviepy, pyyaml, backcall, varint, mmh3, wrapt, proglog, future
  1208.   Building wheel for uwsgi (setup.py): started
  1209.   Building wheel for uwsgi (setup.py): finished with status 'done'
  1210.   Created wheel for uwsgi: filename=uWSGI-2.0.18-cp37-cp37m-linux_x86_64.whl size=580184 sha256=c61bb0d0847fbec41a474e28278b4d61a9cc2dea51931fd19eee7dc87e6b6c30
  1211.   Stored in directory: /root/.cache/pip/wheels/2d/0c/b0/f3ba1bbce35c3766c9dac8c3d15d5431cac57e7a8c4111c268
  1212.   Building wheel for moviepy (setup.py): started
  1213.   Building wheel for moviepy (setup.py): finished with status 'done'
  1214.   Created wheel for moviepy: filename=moviepy-1.0.0-cp37-none-any.whl size=131367 sha256=624d08d667f6ba2a66f63109dcf742f6979be77f96da02a75320ccc96d53fe6d
  1215.   Stored in directory: /root/.cache/pip/wheels/52/e2/4c/f594a5945bc98e052ef248b46a0f1f7ea838b0b2a5f8895651
  1216.   Building wheel for pyyaml (setup.py): started
  1217.   Building wheel for pyyaml (setup.py): finished with status 'done'
  1218.   Created wheel for pyyaml: filename=PyYAML-5.1.2-cp37-cp37m-linux_x86_64.whl size=468694 sha256=7125858c6b5c9a3dec66a1480954e74d087f87e068b079dac3d967dd10f21e99
  1219.   Stored in directory: /root/.cache/pip/wheels/d9/45/dd/65f0b38450c47cf7e5312883deb97d065e030c5cca0a365030
  1220.   Building wheel for backcall (setup.py): started
  1221.   Building wheel for backcall (setup.py): finished with status 'done'
  1222.   Created wheel for backcall: filename=backcall-0.1.0-cp37-none-any.whl size=10414 sha256=d01e9a7ba766a68bede4025cca9a163fd6ac7d45a9a7bdbc6c18c4e2de6830c6
  1223.   Stored in directory: /root/.cache/pip/wheels/98/b0/dd/29e28ff615af3dda4c67cab719dd51357597eabff926976b45
  1224.   Building wheel for varint (setup.py): started
  1225.   Building wheel for varint (setup.py): finished with status 'done'
  1226.   Created wheel for varint: filename=varint-1.0.2-cp37-none-any.whl size=1980 sha256=7c48f6684cf2fb27d0fbf08a92e7c74105ac10e57988de63e9920bb5d0e7646a
  1227.   Stored in directory: /root/.cache/pip/wheels/87/62/fe/15e506bdde650fdd4e63d3eb91a1c3582ff1ee450e88e89d9e
  1228.   Building wheel for mmh3 (setup.py): started
  1229.   Building wheel for mmh3 (setup.py): finished with status 'done'
  1230.   Created wheel for mmh3: filename=mmh3-2.5.1-cp37-cp37m-linux_x86_64.whl size=48265 sha256=23e792818794ef8dd6584014027faffdba4be2a8883f57c9d7d49abddc502d60
  1231.   Stored in directory: /root/.cache/pip/wheels/38/b4/ea/6e4e321c625d3320c0c496bf4088371546d8fce5f1dd71b219
  1232.   Building wheel for wrapt (setup.py): started
  1233.   Building wheel for wrapt (setup.py): finished with status 'done'
  1234.   Created wheel for wrapt: filename=wrapt-1.11.2-cp37-cp37m-linux_x86_64.whl size=76128 sha256=43e171ff4d76eead59a2184705bd872e5a981ef255310ef40e330f0a763d0df4
  1235.   Stored in directory: /root/.cache/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
  1236.   Building wheel for proglog (setup.py): started
  1237.   Building wheel for proglog (setup.py): finished with status 'done'
  1238.   Created wheel for proglog: filename=proglog-0.1.9-cp37-none-any.whl size=6147 sha256=5e9dea7628ac0674ec6e5c72abe0643d962958d9a15511b8861dd4813c8125da
  1239.   Stored in directory: /root/.cache/pip/wheels/65/56/60/1d0306a8d90b188af393c1812ddb502a8821b70917f82dcc00
  1240.   Building wheel for future (setup.py): started
  1241.   Building wheel for future (setup.py): finished with status 'done'
  1242.   Created wheel for future: filename=future-0.17.1-cp37-none-any.whl size=488730 sha256=7b9bdf89fcf403bdaeea0b4037af75e60dd2094eb79dd7466741648ab732c6f6
  1243.   Stored in directory: /root/.cache/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
  1244. Successfully built uwsgi moviepy pyyaml backcall varint mmh3 wrapt proglog future
  1245. 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.
  1246. 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
  1247. 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
  1248. Removing intermediate container 82bbb8902973
  1249. ---> 058103d8b060
  1250. Step 5/9 : COPY svh /www/svh
  1251. ---> 6c3f4fc1928d
  1252. Step 6/9 : WORKDIR /www/svh
  1253. ---> Running in ae73a8a0733a
  1254. Removing intermediate container ae73a8a0733a
  1255. ---> 5e79f0dc9181
  1256. 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
  1257. ---> Running in 38934ffe2dd0
  1258. dos2unix: converting file ./run.sh to Unix format...
  1259. Removing intermediate container 38934ffe2dd0
  1260. ---> 535514c02262
  1261. Step 8/9 : USER www-data
  1262. ---> Running in 285b118034a2
  1263. Removing intermediate container 285b118034a2
  1264. ---> a7e243a42265
  1265. Step 9/9 : ENTRYPOINT ["./run.sh"]
  1266. ---> Running in 94914dabc8e5
  1267. Removing intermediate container 94914dabc8e5
  1268. ---> afcf3d03f280
  1269.  
  1270. Successfully built afcf3d03f280
  1271. Successfully tagged svh_uwsgi:latest
  1272. Building nginx
  1273. Step 1/3 : FROM nginx:stable
  1274. stable: Pulling from library/nginx
  1275. 1ab2bdfe9778: Pull complete
  1276. f50f9bfaef26: Pull complete
  1277. eef791162233: Pull complete
  1278. Digest: sha256:3c98df50eb7e634d9083e3fb96071eaa32f8dc794275f3e490a96529dc42d1eb
  1279. Status: Downloaded newer image for nginx:stable
  1280. ---> 41e97992fcd8
  1281. Step 2/3 : COPY nginx.conf /etc/nginx/nginx.conf
  1282. ---> 959144114a39
  1283. Step 3/3 : COPY svh.conf /etc/nginx/conf.d/default.conf
  1284. ---> 4a873ae0c8c4
  1285.  
  1286. Successfully built 4a873ae0c8c4
  1287. Successfully tagged svh_nginx:latest
  1288. 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:
  1289. $ docker volume rm svh_media
  1290. root@instance-1:/home/djbios/SVH/docker# docker volume rm svh_media
  1291. svh_media
  1292. root@instance-1:/home/djbios/SVH/docker# ./deploy.sh
  1293. rabbit uses an image, skipping
  1294. torrent uses an image, skipping
  1295. Building postgres
  1296. Step 1/2 : FROM postgres:9.6
  1297. 9.6: Pulling from library/postgres
  1298. Digest: sha256:02880c07626d6fca68bfa5aaaef0f5883b4362ea329f3b33381a079938c9d597
  1299. Status: Image is up to date for postgres:9.6
  1300. ---> f5548544c480
  1301. Step 2/2 : COPY db-init.sql /docker-entrypoint-initdb.d/
  1302. ---> Using cache
  1303. ---> 694e81d19ef3
  1304.  
  1305. Successfully built 694e81d19ef3
  1306. Successfully tagged svh_postgres:latest
  1307. Building celery
  1308. Step 1/9 : FROM python:3
  1309. 3: Pulling from library/python
  1310. Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
  1311. Status: Image is up to date for python:3
  1312. ---> e497dabd8450
  1313. 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/*
  1314. ---> Using cache
  1315. ---> e7f550674266
  1316. Step 3/9 : WORKDIR /www/svh
  1317. ---> Using cache
  1318. ---> c928b69de731
  1319. Step 4/9 : COPY svh/requirements.txt ./
  1320. ---> Using cache
  1321. ---> dba155671dde
  1322. Step 5/9 : RUN pip3 install -r requirements.txt --compile
  1323. ---> Using cache
  1324. ---> daf475c7c7b5
  1325. Step 6/9 : COPY svh .
  1326. ---> Using cache
  1327. ---> 7973ccef03d0
  1328. 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
  1329. ---> Using cache
  1330. ---> d87d8cd30255
  1331. Step 8/9 : USER www-data
  1332. ---> Using cache
  1333. ---> 6ade2a65d9a5
  1334. Step 9/9 : ENTRYPOINT ["./run_celery.sh"]
  1335. ---> Using cache
  1336. ---> 946f3c8173c5
  1337.  
  1338. Successfully built 946f3c8173c5
  1339. Successfully tagged svh_celery:latest
  1340. Building uwsgi
  1341. Step 1/9 : FROM python:3
  1342. 3: Pulling from library/python
  1343. Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
  1344. Status: Image is up to date for python:3
  1345. ---> e497dabd8450
  1346. Step 2/9 : RUN apt-get update && apt-get install -y --no-install-recommends     postgresql-client dos2unix  && rm -rf /var/lib/apt/lists/*
  1347. ---> Using cache
  1348. ---> 178a4820d3cc
  1349. Step 3/9 : COPY svh/requirements.txt ./
  1350. ---> Using cache
  1351. ---> 83458edd9678
  1352. Step 4/9 : RUN pip3 install -r requirements.txt --compile
  1353. ---> Using cache
  1354. ---> 058103d8b060
  1355. Step 5/9 : COPY svh /www/svh
  1356. ---> Using cache
  1357. ---> 6c3f4fc1928d
  1358. Step 6/9 : WORKDIR /www/svh
  1359. ---> Using cache
  1360. ---> 5e79f0dc9181
  1361. 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
  1362. ---> Using cache
  1363. ---> 535514c02262
  1364. Step 8/9 : USER www-data
  1365. ---> Using cache
  1366. ---> a7e243a42265
  1367. Step 9/9 : ENTRYPOINT ["./run.sh"]
  1368. ---> Using cache
  1369. ---> afcf3d03f280
  1370.  
  1371. Successfully built afcf3d03f280
  1372. Successfully tagged svh_uwsgi:latest
  1373. Building nginx
  1374. Step 1/3 : FROM nginx:stable
  1375. stable: Pulling from library/nginx
  1376. Digest: sha256:3c98df50eb7e634d9083e3fb96071eaa32f8dc794275f3e490a96529dc42d1eb
  1377. Status: Image is up to date for nginx:stable
  1378. ---> 41e97992fcd8
  1379. Step 2/3 : COPY nginx.conf /etc/nginx/nginx.conf
  1380. ---> Using cache
  1381. ---> 959144114a39
  1382. Step 3/3 : COPY svh.conf /etc/nginx/conf.d/default.conf
  1383. ---> Using cache
  1384. ---> 4a873ae0c8c4
  1385.  
  1386. Successfully built 4a873ae0c8c4
  1387. Successfully tagged svh_nginx:latest
  1388. Creating volume "svh_media" with local driver
  1389. Pulling rabbit (rabbitmq:)...
  1390. latest: Pulling from library/rabbitmq
  1391. 35c102085707: Pull complete
  1392. 251f5509d51d: Pull complete
  1393. 8e829fe70a46: Pull complete
  1394. 6001e1789921: Pull complete
  1395. 79bdb7145cce: Pull complete
  1396. a53ba598956f: Pull complete
  1397. 78be6aa88825: Pull complete
  1398. 78743b5c9607: Pull complete
  1399. af023e02a847: Pull complete
  1400. 2259c0afa940: Pull complete
  1401. Digest: sha256:eb9264306274d8df03e2a8496f3e74da59740fa5a363209d16b06949c49f192e
  1402. Status: Downloaded newer image for rabbitmq:latest
  1403. Pulling torrent (wernight/qbittorrent:)...
  1404. latest: Pulling from wernight/qbittorrent
  1405. 8e3ba11ec2a2: Pull complete
  1406. 3cbbec862d05: Pull complete
  1407. a094ddaaf297: Pull complete
  1408. 8b82498cdc45: Pull complete
  1409. b656ee51bbd9: Pull complete
  1410. de98b4f6600e: Pull complete
  1411. Digest: sha256:8da933529d6a5eb984affea3e4bc54c423b31432301b47885bb403fec0031cea
  1412. Status: Downloaded newer image for wernight/qbittorrent:latest
  1413. Creating svh_postgres_1 ... done
  1414. Creating svh_torrent_1  ... done
  1415. Creating svh_rabbit_1   ... done
  1416. Creating svh_celery_1   ... done
  1417. Creating svh_uwsgi_1    ... done
  1418. Creating svh_nginx_1    ... done
  1419. root@instance-1:/home/djbios/SVH/docker# wget http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
  1420. --2019-08-21 08:11:05--  http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
  1421. Resolving hldns.ru (hldns.ru)... 91.199.149.129
  1422. Connecting to hldns.ru (hldns.ru)|91.199.149.129|:80... connected.
  1423. HTTP request sent, awaiting response... 200 OK
  1424. Length: 12 [text/html]
  1425. Saving to: ‘K6KW41U67PNJQCFAT93IJ256WJT0LP’
  1426.  
  1427. K6KW41U67PNJQCFAT93IJ256WJT0L 100%[=================================================>]      12  --.-KB/s    in 0s      
  1428.  
  1429. 2019-08-21 08:11:06 (1.07 MB/s) - ‘K6KW41U67PNJQCFAT93IJ256WJT0LP’ saved [12/12]
  1430.  
  1431. root@instance-1:/home/djbios/SVH/docker# curl http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
  1432. 101root@instance-1:/home/djbios/SVH/docker# curl http://hldns.ru/update/K6KW41U67PNJQCFAT93IJ256WJT0LP
  1433. 101root@instance-1:/home/djbios/SVH/docker# htop
  1434. root@instance-1:/home/djbios/SVH/docker# docker stats
  1435.  
  1436. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1437. 159cfb0b94d6        svh_nginx_1         0.01%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1438. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1439. a5573381b75e        svh_celery_1        0.19%               112.5MiB / 7.296GiB   1.51%               38.7kB / 32.6kB     0B / 24.6kB         7
  1440. db72c1adb904        svh_torrent_1       0.02%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.4kB     0B / 12.3kB         14
  1441. 9484e6337633        svh_rabbit_1        0.58%               80.71MiB / 7.296GiB   1.08%               38.3kB / 30.8kB     65.5kB / 483kB      88
  1442. 639a4ff146f6        svh_postgres_1      0.08%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1454. 159cfb0b94d6        svh_nginx_1         0.01%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1455. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1456. a5573381b75e        svh_celery_1        0.19%               112.5MiB / 7.296GiB   1.51%               38.7kB / 32.6kB     0B / 24.6kB         7
  1457. db72c1adb904        svh_torrent_1       0.02%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.4kB     0B / 12.3kB         14
  1458. 9484e6337633        svh_rabbit_1        0.58%               80.71MiB / 7.296GiB   1.08%               38.3kB / 30.8kB     65.5kB / 483kB      88
  1459. 639a4ff146f6        svh_postgres_1      0.08%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1471. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1472. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1473. a5573381b75e        svh_celery_1        0.53%               112.5MiB / 7.296GiB   1.51%               38.8kB / 32.7kB     0B / 24.6kB         7
  1474. db72c1adb904        svh_torrent_1       0.12%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.4kB     0B / 12.3kB         14
  1475. 9484e6337633        svh_rabbit_1        0.72%               80.71MiB / 7.296GiB   1.08%               38.5kB / 31kB       65.5kB / 483kB      88
  1476. 639a4ff146f6        svh_postgres_1      0.06%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1488. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1489. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1490. a5573381b75e        svh_celery_1        0.53%               112.5MiB / 7.296GiB   1.51%               38.8kB / 32.7kB     0B / 24.6kB         7
  1491. db72c1adb904        svh_torrent_1       0.12%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.4kB     0B / 12.3kB         14
  1492. 9484e6337633        svh_rabbit_1        0.72%               80.71MiB / 7.296GiB   1.08%               38.5kB / 31kB       65.5kB / 483kB      88
  1493. 639a4ff146f6        svh_postgres_1      0.06%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1505. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1506. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1507. a5573381b75e        svh_celery_1        0.83%               112.5MiB / 7.296GiB   1.51%               39.4kB / 33.3kB     0B / 24.6kB         7
  1508. db72c1adb904        svh_torrent_1       0.22%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1509. 9484e6337633        svh_rabbit_1        0.56%               80.71MiB / 7.296GiB   1.08%               39kB / 31.5kB       65.5kB / 483kB      88
  1510. 639a4ff146f6        svh_postgres_1      0.07%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1522. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1523. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1524. a5573381b75e        svh_celery_1        0.83%               112.5MiB / 7.296GiB   1.51%               39.4kB / 33.3kB     0B / 24.6kB         7
  1525. db72c1adb904        svh_torrent_1       0.22%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1526. 9484e6337633        svh_rabbit_1        0.56%               80.71MiB / 7.296GiB   1.08%               39kB / 31.5kB       65.5kB / 483kB      88
  1527. 639a4ff146f6        svh_postgres_1      0.07%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1539. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1540. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1541. a5573381b75e        svh_celery_1        0.53%               112.5MiB / 7.296GiB   1.51%               39.4kB / 33.3kB     0B / 24.6kB         7
  1542. db72c1adb904        svh_torrent_1       0.09%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1543. 9484e6337633        svh_rabbit_1        0.34%               80.71MiB / 7.296GiB   1.08%               39kB / 31.5kB       65.5kB / 483kB      88
  1544. 639a4ff146f6        svh_postgres_1      0.07%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1556. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1557. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1558. a5573381b75e        svh_celery_1        0.53%               112.5MiB / 7.296GiB   1.51%               39.4kB / 33.3kB     0B / 24.6kB         7
  1559. db72c1adb904        svh_torrent_1       0.09%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1560. 9484e6337633        svh_rabbit_1        0.34%               80.71MiB / 7.296GiB   1.08%               39kB / 31.5kB       65.5kB / 483kB      88
  1561. 639a4ff146f6        svh_postgres_1      0.07%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1573. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1574. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1575. a5573381b75e        svh_celery_1        0.53%               112.5MiB / 7.296GiB   1.51%               39.4kB / 33.3kB     0B / 24.6kB         7
  1576. db72c1adb904        svh_torrent_1       0.09%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1577. 9484e6337633        svh_rabbit_1        0.34%               80.71MiB / 7.296GiB   1.08%               39kB / 31.5kB       65.5kB / 483kB      88
  1578. 639a4ff146f6        svh_postgres_1      0.07%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1590. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1591. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1592. a5573381b75e        svh_celery_1        0.83%               112.5MiB / 7.296GiB   1.51%               39.9kB / 33.8kB     0B / 24.6kB         7
  1593. db72c1adb904        svh_torrent_1       0.09%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1594. 9484e6337633        svh_rabbit_1        0.39%               80.71MiB / 7.296GiB   1.08%               39.5kB / 32.1kB     65.5kB / 483kB      88
  1595. 639a4ff146f6        svh_postgres_1      0.08%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606. CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
  1607. 159cfb0b94d6        svh_nginx_1         0.00%               2.43MiB / 7.296GiB    0.03%               5.47kB / 0B         0B / 0B             2
  1608. e4d497adcd96        svh_uwsgi_1         0.00%               0B / 0B               0.00%               0B / 0B             0B / 0B             0
  1609. a5573381b75e        svh_celery_1        0.83%               112.5MiB / 7.296GiB   1.51%               39.9kB / 33.8kB     0B / 24.6kB         7
  1610. db72c1adb904        svh_torrent_1       0.09%               9.391MiB / 7.296GiB   0.13%               2.09MB / 72.5kB     0B / 12.3kB         14
  1611. 9484e6337633        svh_rabbit_1        0.39%               80.71MiB / 7.296GiB   1.08%               39.5kB / 32.1kB     65.5kB / 483kB      88
  1612. 639a4ff146f6        svh_postgres_1      0.08%               9.879MiB / 7.296GiB   0.13%               171kB / 164kB       27MB / 43.5MB       6
  1613. ^C
  1614. root@instance-1:/home/djbios/SVH/docker# docker logs
  1615. K6KW41U67PNJQCFAT93IJ256WJT0LP  docker-compose.windows.yml      sftp_destination/
  1616. celery/                         docker-compose.yml              uwsgi/
  1617. deploy.sh                       nginx/                          
  1618. deploy_win.ps1                  postgres/                      
  1619. root@instance-1:/home/djbios/SVH/docker# docker logs celery/Dockerfile ^C
  1620. 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
  1621.  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  1622.                                 Dload  Upload   Total   Spent    Left  Speed
  1623. 100 13258  100 13258    0     0  67642      0 --:--:-- --:--:-- --:--:-- 67299
  1624. root@instance-1:/home/djbios/SVH/docker# apt isntall bash-completion
  1625. E: Invalid operation isntall
  1626. root@instance-1:/home/djbios/SVH/docker# apt install bash-completion
  1627. Reading package lists... Done
  1628. Building dependency tree      
  1629. Reading state information... Done
  1630. The following NEW packages will be installed:
  1631.  bash-completion
  1632. 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
  1633. Need to get 168 kB of archives.
  1634. After this operation, 1394 kB of additional disk space will be used.
  1635. Get:1 http://europe-west4-a.gce.clouds.archive.ubuntu.com/ubuntu disco/main amd64 bash-completion all 1:2.8-1ubuntu1 [168 kB]
  1636. Fetched 168 kB in 0s (1466 kB/s)      
  1637. debconf: delaying package configuration, since apt-utils is not installed
  1638. Selecting previously unselected package bash-completion.
  1639. (Reading database ... 45972 files and directories currently installed.)
  1640. Preparing to unpack .../bash-completion_1%3a2.8-1ubuntu1_all.deb ...
  1641. Unpacking bash-completion (1:2.8-1ubuntu1) ...
  1642. Setting up bash-completion (1:2.8-1ubuntu1) ...
  1643. root@instance-1:/home/djbios/SVH/docker# exit
  1644. djbios@instance-1:~$ sudo su
  1645. root@instance-1:/home/djbios# docker logs
  1646. .bash_logout   .cache/        .profile       SVH/          
  1647. .bashrc        .gnupg/        .ssh/          get-docker.sh  
  1648. root@instance-1:/home/djbios# docker logs svh_Celery_1
  1649. Error: No such container: svh_Celery_1
  1650. root@instance-1:/home/djbios# docker logs svh_celery_1
  1651. [2019-08-21 11:09:55,052: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  1652. Trying again in 2.00 seconds...
  1653.  
  1654. [2019-08-21 11:09:57,099: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  1655. Trying again in 4.00 seconds...
  1656.  
  1657. [2019-08-21 11:10:00,708: INFO/Beat] beat: Starting...
  1658. [2019-08-21 11:10:01,131: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  1659. Trying again in 6.00 seconds...
  1660.  
  1661. [2019-08-21 11:10:07,169: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  1662. Trying again in 8.00 seconds...
  1663.  
  1664. [2019-08-21 11:10:15,205: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
  1665. [2019-08-21 11:10:15,230: INFO/MainProcess] mingle: searching for neighbors
  1666. [2019-08-21 11:10:16,296: INFO/MainProcess] mingle: all alone
  1667. [2019-08-21 11:10:16,357: INFO/MainProcess] celery@a5573381b75e ready.
  1668. root@instance-1:/home/djbios# ^C
  1669. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  1670. Traceback (most recent call last):
  1671.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  1672.    self.connect()
  1673.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  1674.    self.connection = self.get_new_connection(conn_params)
  1675.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  1676.    connection = Database.connect(**conn_params)
  1677.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  1678.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1679. psycopg2.OperationalError: could not connect to server: Connection refused
  1680.     Is the server running on host "postgres" (172.18.0.2) and accepting
  1681.     TCP/IP connections on port 5432?
  1682.  
  1683.  
  1684. The above exception was the direct cause of the following exception:
  1685.  
  1686. Traceback (most recent call last):
  1687.  File "manage.py", line 22, in <module>
  1688.    execute_from_command_line(sys.argv)
  1689.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1690.    utility.execute()
  1691.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1692.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1693.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1694.    self.execute(*args, **cmd_options)
  1695.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1696.    output = self.handle(*args, **options)
  1697.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  1698.    res = handle_func(*args, **kwargs)
  1699.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  1700.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  1701.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  1702.    self.loader = MigrationLoader(self.connection)
  1703.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  1704.    self.build_graph()
  1705.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  1706.    self.applied_migrations = recorder.applied_migrations()
  1707.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  1708.    if self.has_table():
  1709.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  1710.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  1711.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  1712.    return self._cursor()
  1713.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  1714.    self.ensure_connection()
  1715.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  1716.    self.connect()
  1717.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  1718.    raise dj_exc_value.with_traceback(traceback) from exc_value
  1719.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  1720.    self.connect()
  1721.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  1722.    self.connection = self.get_new_connection(conn_params)
  1723.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  1724.    connection = Database.connect(**conn_params)
  1725.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  1726.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1727. django.db.utils.OperationalError: could not connect to server: Connection refused
  1728.     Is the server running on host "postgres" (172.18.0.2) and accepting
  1729.     TCP/IP connections on port 5432?
  1730.  
  1731. Operations to perform:
  1732.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1733. Running migrations:
  1734.  Applying contenttypes.0001_initial... OK
  1735.  Applying auth.0001_initial... OK
  1736.  Applying admin.0001_initial... OK
  1737.  Applying admin.0002_logentry_remove_auto_add... OK
  1738.  Applying admin.0003_logentry_add_action_flag_choices... OK
  1739.  Applying contenttypes.0002_remove_content_type_name... OK
  1740.  Applying auth.0002_alter_permission_name_max_length... OK
  1741.  Applying auth.0003_alter_user_email_max_length... OK
  1742.  Applying auth.0004_alter_user_username_opts... OK
  1743.  Applying auth.0005_alter_user_last_login_null... OK
  1744.  Applying auth.0006_require_contenttypes_0002... OK
  1745.  Applying auth.0007_alter_validators_add_error_messages... OK
  1746.  Applying auth.0008_alter_user_username_max_length... OK
  1747.  Applying auth.0009_alter_user_last_name_max_length... OK
  1748.  Applying auth.0010_alter_group_name_max_length... OK
  1749.  Applying auth.0011_update_proxy_permissions... OK
  1750.  Applying sessions.0001_initial... OK
  1751.  Applying svh.0001_initial... OK
  1752.  Applying svh.0002_auto_20181009_1857... OK
  1753.  Applying svh.0003_auto_20190423_1835... OK
  1754.  Applying svh.0004_auto_20190424_1312... OK
  1755.  Applying svh.0005_auto_20190424_1313... OK
  1756.  Applying svh.0006_auto_20190424_1326... OK
  1757.  Applying svh.0007_auto_20190426_1704... OK
  1758.  Applying svh.0008_videosource_folder... OK
  1759.  Applying svh.0009_preview... OK
  1760.  Applying svh.0010_auto_20190521_1814... OK
  1761.  Applying svh.0011_auto_20190615_1717... OK
  1762.  Applying svh.0012_videosource_published... OK
  1763.  Applying svh.0013_videofolder_deleted... OK
  1764. Traceback (most recent call last):
  1765.  File "manage.py", line 22, in <module>
  1766.    execute_from_command_line(sys.argv)
  1767.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1768.    utility.execute()
  1769.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1770.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1771.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1772.    self.execute(*args, **cmd_options)
  1773.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1774.    output = self.handle(*args, **options)
  1775.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1776.    collected = self.collect()
  1777.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1778.    handler(path, prefixed_path, storage)
  1779.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1780.    self.storage.save(prefixed_path, source_file)
  1781.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1782.    return self._save(name, content)
  1783.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1784.    os.makedirs(directory)
  1785.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1786.    makedirs(head, exist_ok=exist_ok)
  1787.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1788.    mkdir(name, mode)
  1789. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1790. Operations to perform:
  1791.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1792. Running migrations:
  1793.  No migrations to apply.
  1794. Traceback (most recent call last):
  1795.  File "manage.py", line 22, in <module>
  1796.    execute_from_command_line(sys.argv)
  1797.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1798.    utility.execute()
  1799.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1800.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1801.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1802.    self.execute(*args, **cmd_options)
  1803.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1804.    output = self.handle(*args, **options)
  1805.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1806.    collected = self.collect()
  1807.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1808.    handler(path, prefixed_path, storage)
  1809.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1810.    self.storage.save(prefixed_path, source_file)
  1811.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1812.    return self._save(name, content)
  1813.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1814.    os.makedirs(directory)
  1815.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1816.    makedirs(head, exist_ok=exist_ok)
  1817.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1818.    mkdir(name, mode)
  1819. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1820. Operations to perform:
  1821.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1822. Running migrations:
  1823.  No migrations to apply.
  1824. Traceback (most recent call last):
  1825.  File "manage.py", line 22, in <module>
  1826.    execute_from_command_line(sys.argv)
  1827.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1828.    utility.execute()
  1829.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1830.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1831.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1832.    self.execute(*args, **cmd_options)
  1833.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1834.    output = self.handle(*args, **options)
  1835.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1836.    collected = self.collect()
  1837.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1838.    handler(path, prefixed_path, storage)
  1839.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1840.    self.storage.save(prefixed_path, source_file)
  1841.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1842.    return self._save(name, content)
  1843.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1844.    os.makedirs(directory)
  1845.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1846.    makedirs(head, exist_ok=exist_ok)
  1847.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1848.    mkdir(name, mode)
  1849. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1850. Operations to perform:
  1851.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1852. Running migrations:
  1853.  No migrations to apply.
  1854. Traceback (most recent call last):
  1855.  File "manage.py", line 22, in <module>
  1856.    execute_from_command_line(sys.argv)
  1857.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1858.    utility.execute()
  1859.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1860.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1861.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1862.    self.execute(*args, **cmd_options)
  1863.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1864.    output = self.handle(*args, **options)
  1865.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1866.    collected = self.collect()
  1867.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1868.    handler(path, prefixed_path, storage)
  1869.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1870.    self.storage.save(prefixed_path, source_file)
  1871.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1872.    return self._save(name, content)
  1873.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1874.    os.makedirs(directory)
  1875.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1876.    makedirs(head, exist_ok=exist_ok)
  1877.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1878.    mkdir(name, mode)
  1879. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1880. Operations to perform:
  1881.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1882. Running migrations:
  1883.  No migrations to apply.
  1884. Traceback (most recent call last):
  1885.  File "manage.py", line 22, in <module>
  1886.    execute_from_command_line(sys.argv)
  1887.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1888.    utility.execute()
  1889.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1890.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1891.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1892.    self.execute(*args, **cmd_options)
  1893.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1894.    output = self.handle(*args, **options)
  1895.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1896.    collected = self.collect()
  1897.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1898.    handler(path, prefixed_path, storage)
  1899.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1900.    self.storage.save(prefixed_path, source_file)
  1901.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1902.    return self._save(name, content)
  1903.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1904.    os.makedirs(directory)
  1905.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1906.    makedirs(head, exist_ok=exist_ok)
  1907.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1908.    mkdir(name, mode)
  1909. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1910. Operations to perform:
  1911.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1912. Running migrations:
  1913.  No migrations to apply.
  1914. Traceback (most recent call last):
  1915.  File "manage.py", line 22, in <module>
  1916.    execute_from_command_line(sys.argv)
  1917.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1918.    utility.execute()
  1919.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1920.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1921.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1922.    self.execute(*args, **cmd_options)
  1923.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1924.    output = self.handle(*args, **options)
  1925.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1926.    collected = self.collect()
  1927.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1928.    handler(path, prefixed_path, storage)
  1929.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1930.    self.storage.save(prefixed_path, source_file)
  1931.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1932.    return self._save(name, content)
  1933.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1934.    os.makedirs(directory)
  1935.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1936.    makedirs(head, exist_ok=exist_ok)
  1937.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1938.    mkdir(name, mode)
  1939. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1940. Operations to perform:
  1941.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1942. Running migrations:
  1943.  No migrations to apply.
  1944. Traceback (most recent call last):
  1945.  File "manage.py", line 22, in <module>
  1946.    execute_from_command_line(sys.argv)
  1947.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1948.    utility.execute()
  1949.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1950.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1951.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1952.    self.execute(*args, **cmd_options)
  1953.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1954.    output = self.handle(*args, **options)
  1955.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1956.    collected = self.collect()
  1957.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1958.    handler(path, prefixed_path, storage)
  1959.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1960.    self.storage.save(prefixed_path, source_file)
  1961.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1962.    return self._save(name, content)
  1963.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1964.    os.makedirs(directory)
  1965.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1966.    makedirs(head, exist_ok=exist_ok)
  1967.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1968.    mkdir(name, mode)
  1969. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  1970. Operations to perform:
  1971.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  1972. Running migrations:
  1973.  No migrations to apply.
  1974. Traceback (most recent call last):
  1975.  File "manage.py", line 22, in <module>
  1976.    execute_from_command_line(sys.argv)
  1977.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  1978.    utility.execute()
  1979.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  1980.    self.fetch_command(subcommand).run_from_argv(self.argv)
  1981.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  1982.    self.execute(*args, **cmd_options)
  1983.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  1984.    output = self.handle(*args, **options)
  1985.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  1986.    collected = self.collect()
  1987.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  1988.    handler(path, prefixed_path, storage)
  1989.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  1990.    self.storage.save(prefixed_path, source_file)
  1991.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  1992.    return self._save(name, content)
  1993.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  1994.    os.makedirs(directory)
  1995.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  1996.    makedirs(head, exist_ok=exist_ok)
  1997.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  1998.    mkdir(name, mode)
  1999. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2000. Operations to perform:
  2001.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2002. Running migrations:
  2003.  No migrations to apply.
  2004. Traceback (most recent call last):
  2005.  File "manage.py", line 22, in <module>
  2006.    execute_from_command_line(sys.argv)
  2007.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2008.    utility.execute()
  2009.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2010.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2011.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2012.    self.execute(*args, **cmd_options)
  2013.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2014.    output = self.handle(*args, **options)
  2015.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2016.    collected = self.collect()
  2017.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2018.    handler(path, prefixed_path, storage)
  2019.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2020.    self.storage.save(prefixed_path, source_file)
  2021.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2022.    return self._save(name, content)
  2023.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2024.    os.makedirs(directory)
  2025.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2026.    makedirs(head, exist_ok=exist_ok)
  2027.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2028.    mkdir(name, mode)
  2029. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2030. Operations to perform:
  2031.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2032. Running migrations:
  2033.  No migrations to apply.
  2034. Traceback (most recent call last):
  2035.  File "manage.py", line 22, in <module>
  2036.    execute_from_command_line(sys.argv)
  2037.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2038.    utility.execute()
  2039.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2040.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2041.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2042.    self.execute(*args, **cmd_options)
  2043.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2044.    output = self.handle(*args, **options)
  2045.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2046.    collected = self.collect()
  2047.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2048.    handler(path, prefixed_path, storage)
  2049.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2050.    self.storage.save(prefixed_path, source_file)
  2051.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2052.    return self._save(name, content)
  2053.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2054.    os.makedirs(directory)
  2055.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2056.    makedirs(head, exist_ok=exist_ok)
  2057.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2058.    mkdir(name, mode)
  2059. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2060. root@instance-1:/home/djbios# chown -R www-data /var/lib/docker/volumes/
  2061. 00a9f8edabb9bbb8036fe40aaa792ad1c36becf0f7832afbb02be2bcc6499e13/
  2062. 909e1fc23cc71af9c062a95e9f92248f070e923315abcac81327dbbda9a1d00c/
  2063. f98ae5bb4c1d1a12eb1aa49d7e41069b40c79b3406dc366e5f9b4d9f807c7fe6/
  2064. metadata.db
  2065. svh_db_data/
  2066. svh_media/
  2067. svh_rabbit/
  2068. svh_settings/
  2069. svh_static/
  2070. root@instance-1:/home/djbios# chown -R www-data /var/lib/docker/volumes/svh_static/_data
  2071. root@instance-1:/home/djbios# docker logs svh_celery_1
  2072. [2019-08-21 11:09:55,052: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  2073. Trying again in 2.00 seconds...
  2074.  
  2075. [2019-08-21 11:09:57,099: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  2076. Trying again in 4.00 seconds...
  2077.  
  2078. [2019-08-21 11:10:00,708: INFO/Beat] beat: Starting...
  2079. [2019-08-21 11:10:01,131: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  2080. Trying again in 6.00 seconds...
  2081.  
  2082. [2019-08-21 11:10:07,169: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  2083. Trying again in 8.00 seconds...
  2084.  
  2085. [2019-08-21 11:10:15,205: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
  2086. [2019-08-21 11:10:15,230: INFO/MainProcess] mingle: searching for neighbors
  2087. [2019-08-21 11:10:16,296: INFO/MainProcess] mingle: all alone
  2088. [2019-08-21 11:10:16,357: INFO/MainProcess] celery@a5573381b75e ready.
  2089. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  2090. Traceback (most recent call last):
  2091.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2092.    self.connect()
  2093.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  2094.    self.connection = self.get_new_connection(conn_params)
  2095.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  2096.    connection = Database.connect(**conn_params)
  2097.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  2098.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  2099. psycopg2.OperationalError: could not connect to server: Connection refused
  2100.     Is the server running on host "postgres" (172.18.0.2) and accepting
  2101.     TCP/IP connections on port 5432?
  2102.  
  2103.  
  2104. The above exception was the direct cause of the following exception:
  2105.  
  2106. Traceback (most recent call last):
  2107.  File "manage.py", line 22, in <module>
  2108.    execute_from_command_line(sys.argv)
  2109.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2110.    utility.execute()
  2111.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2112.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2113.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2114.    self.execute(*args, **cmd_options)
  2115.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2116.    output = self.handle(*args, **options)
  2117.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  2118.    res = handle_func(*args, **kwargs)
  2119.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  2120.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  2121.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  2122.    self.loader = MigrationLoader(self.connection)
  2123.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  2124.    self.build_graph()
  2125.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  2126.    self.applied_migrations = recorder.applied_migrations()
  2127.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  2128.    if self.has_table():
  2129.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  2130.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  2131.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  2132.    return self._cursor()
  2133.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  2134.    self.ensure_connection()
  2135.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2136.    self.connect()
  2137.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  2138.    raise dj_exc_value.with_traceback(traceback) from exc_value
  2139.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2140.    self.connect()
  2141.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  2142.    self.connection = self.get_new_connection(conn_params)
  2143.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  2144.    connection = Database.connect(**conn_params)
  2145.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  2146.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  2147. django.db.utils.OperationalError: could not connect to server: Connection refused
  2148.     Is the server running on host "postgres" (172.18.0.2) and accepting
  2149.     TCP/IP connections on port 5432?
  2150.  
  2151. Operations to perform:
  2152.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2153. Running migrations:
  2154.  Applying contenttypes.0001_initial... OK
  2155.  Applying auth.0001_initial... OK
  2156.  Applying admin.0001_initial... OK
  2157.  Applying admin.0002_logentry_remove_auto_add... OK
  2158.  Applying admin.0003_logentry_add_action_flag_choices... OK
  2159.  Applying contenttypes.0002_remove_content_type_name... OK
  2160.  Applying auth.0002_alter_permission_name_max_length... OK
  2161.  Applying auth.0003_alter_user_email_max_length... OK
  2162.  Applying auth.0004_alter_user_username_opts... OK
  2163.  Applying auth.0005_alter_user_last_login_null... OK
  2164.  Applying auth.0006_require_contenttypes_0002... OK
  2165.  Applying auth.0007_alter_validators_add_error_messages... OK
  2166.  Applying auth.0008_alter_user_username_max_length... OK
  2167.  Applying auth.0009_alter_user_last_name_max_length... OK
  2168.  Applying auth.0010_alter_group_name_max_length... OK
  2169.  Applying auth.0011_update_proxy_permissions... OK
  2170.  Applying sessions.0001_initial... OK
  2171.  Applying svh.0001_initial... OK
  2172.  Applying svh.0002_auto_20181009_1857... OK
  2173.  Applying svh.0003_auto_20190423_1835... OK
  2174.  Applying svh.0004_auto_20190424_1312... OK
  2175.  Applying svh.0005_auto_20190424_1313... OK
  2176.  Applying svh.0006_auto_20190424_1326... OK
  2177.  Applying svh.0007_auto_20190426_1704... OK
  2178.  Applying svh.0008_videosource_folder... OK
  2179.  Applying svh.0009_preview... OK
  2180.  Applying svh.0010_auto_20190521_1814... OK
  2181.  Applying svh.0011_auto_20190615_1717... OK
  2182.  Applying svh.0012_videosource_published... OK
  2183.  Applying svh.0013_videofolder_deleted... OK
  2184. Traceback (most recent call last):
  2185.  File "manage.py", line 22, in <module>
  2186.    execute_from_command_line(sys.argv)
  2187.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2188.    utility.execute()
  2189.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2190.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2191.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2192.    self.execute(*args, **cmd_options)
  2193.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2194.    output = self.handle(*args, **options)
  2195.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2196.    collected = self.collect()
  2197.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2198.    handler(path, prefixed_path, storage)
  2199.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2200.    self.storage.save(prefixed_path, source_file)
  2201.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2202.    return self._save(name, content)
  2203.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2204.    os.makedirs(directory)
  2205.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2206.    makedirs(head, exist_ok=exist_ok)
  2207.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2208.    mkdir(name, mode)
  2209. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2210. Operations to perform:
  2211.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2212. Running migrations:
  2213.  No migrations to apply.
  2214. Traceback (most recent call last):
  2215.  File "manage.py", line 22, in <module>
  2216.    execute_from_command_line(sys.argv)
  2217.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2218.    utility.execute()
  2219.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2220.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2221.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2222.    self.execute(*args, **cmd_options)
  2223.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2224.    output = self.handle(*args, **options)
  2225.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2226.    collected = self.collect()
  2227.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2228.    handler(path, prefixed_path, storage)
  2229.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2230.    self.storage.save(prefixed_path, source_file)
  2231.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2232.    return self._save(name, content)
  2233.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2234.    os.makedirs(directory)
  2235.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2236.    makedirs(head, exist_ok=exist_ok)
  2237.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2238.    mkdir(name, mode)
  2239. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2240. Operations to perform:
  2241.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2242. Running migrations:
  2243.  No migrations to apply.
  2244. Traceback (most recent call last):
  2245.  File "manage.py", line 22, in <module>
  2246.    execute_from_command_line(sys.argv)
  2247.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2248.    utility.execute()
  2249.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2250.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2251.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2252.    self.execute(*args, **cmd_options)
  2253.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2254.    output = self.handle(*args, **options)
  2255.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2256.    collected = self.collect()
  2257.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2258.    handler(path, prefixed_path, storage)
  2259.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2260.    self.storage.save(prefixed_path, source_file)
  2261.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2262.    return self._save(name, content)
  2263.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2264.    os.makedirs(directory)
  2265.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2266.    makedirs(head, exist_ok=exist_ok)
  2267.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2268.    mkdir(name, mode)
  2269. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2270. Operations to perform:
  2271.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2272. Running migrations:
  2273.  No migrations to apply.
  2274. Traceback (most recent call last):
  2275.  File "manage.py", line 22, in <module>
  2276.    execute_from_command_line(sys.argv)
  2277.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2278.    utility.execute()
  2279.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2280.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2281.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2282.    self.execute(*args, **cmd_options)
  2283.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2284.    output = self.handle(*args, **options)
  2285.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2286.    collected = self.collect()
  2287.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2288.    handler(path, prefixed_path, storage)
  2289.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2290.    self.storage.save(prefixed_path, source_file)
  2291.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2292.    return self._save(name, content)
  2293.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2294.    os.makedirs(directory)
  2295.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2296.    makedirs(head, exist_ok=exist_ok)
  2297.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2298.    mkdir(name, mode)
  2299. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2300. Operations to perform:
  2301.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2302. Running migrations:
  2303.  No migrations to apply.
  2304. Traceback (most recent call last):
  2305.  File "manage.py", line 22, in <module>
  2306.    execute_from_command_line(sys.argv)
  2307.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2308.    utility.execute()
  2309.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2310.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2311.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2312.    self.execute(*args, **cmd_options)
  2313.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2314.    output = self.handle(*args, **options)
  2315.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2316.    collected = self.collect()
  2317.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2318.    handler(path, prefixed_path, storage)
  2319.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2320.    self.storage.save(prefixed_path, source_file)
  2321.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2322.    return self._save(name, content)
  2323.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2324.    os.makedirs(directory)
  2325.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2326.    makedirs(head, exist_ok=exist_ok)
  2327.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2328.    mkdir(name, mode)
  2329. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2330. Operations to perform:
  2331.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2332. Running migrations:
  2333.  No migrations to apply.
  2334. Traceback (most recent call last):
  2335.  File "manage.py", line 22, in <module>
  2336.    execute_from_command_line(sys.argv)
  2337.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2338.    utility.execute()
  2339.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2340.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2341.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2342.    self.execute(*args, **cmd_options)
  2343.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2344.    output = self.handle(*args, **options)
  2345.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2346.    collected = self.collect()
  2347.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2348.    handler(path, prefixed_path, storage)
  2349.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2350.    self.storage.save(prefixed_path, source_file)
  2351.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2352.    return self._save(name, content)
  2353.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2354.    os.makedirs(directory)
  2355.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2356.    makedirs(head, exist_ok=exist_ok)
  2357.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2358.    mkdir(name, mode)
  2359. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2360. Operations to perform:
  2361.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2362. Running migrations:
  2363.  No migrations to apply.
  2364. Traceback (most recent call last):
  2365.  File "manage.py", line 22, in <module>
  2366.    execute_from_command_line(sys.argv)
  2367.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2368.    utility.execute()
  2369.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2370.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2371.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2372.    self.execute(*args, **cmd_options)
  2373.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2374.    output = self.handle(*args, **options)
  2375.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2376.    collected = self.collect()
  2377.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2378.    handler(path, prefixed_path, storage)
  2379.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2380.    self.storage.save(prefixed_path, source_file)
  2381.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2382.    return self._save(name, content)
  2383.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2384.    os.makedirs(directory)
  2385.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2386.    makedirs(head, exist_ok=exist_ok)
  2387.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2388.    mkdir(name, mode)
  2389. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2390. Operations to perform:
  2391.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2392. Running migrations:
  2393.  No migrations to apply.
  2394. Traceback (most recent call last):
  2395.  File "manage.py", line 22, in <module>
  2396.    execute_from_command_line(sys.argv)
  2397.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2398.    utility.execute()
  2399.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2400.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2401.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2402.    self.execute(*args, **cmd_options)
  2403.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2404.    output = self.handle(*args, **options)
  2405.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2406.    collected = self.collect()
  2407.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2408.    handler(path, prefixed_path, storage)
  2409.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2410.    self.storage.save(prefixed_path, source_file)
  2411.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2412.    return self._save(name, content)
  2413.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2414.    os.makedirs(directory)
  2415.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2416.    makedirs(head, exist_ok=exist_ok)
  2417.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2418.    mkdir(name, mode)
  2419. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2420. Operations to perform:
  2421.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2422. Running migrations:
  2423.  No migrations to apply.
  2424. Traceback (most recent call last):
  2425.  File "manage.py", line 22, in <module>
  2426.    execute_from_command_line(sys.argv)
  2427.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2428.    utility.execute()
  2429.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2430.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2431.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2432.    self.execute(*args, **cmd_options)
  2433.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2434.    output = self.handle(*args, **options)
  2435.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2436.    collected = self.collect()
  2437.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2438.    handler(path, prefixed_path, storage)
  2439.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2440.    self.storage.save(prefixed_path, source_file)
  2441.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2442.    return self._save(name, content)
  2443.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2444.    os.makedirs(directory)
  2445.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2446.    makedirs(head, exist_ok=exist_ok)
  2447.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2448.    mkdir(name, mode)
  2449. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2450. Operations to perform:
  2451.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2452. Running migrations:
  2453.  No migrations to apply.
  2454. Traceback (most recent call last):
  2455.  File "manage.py", line 22, in <module>
  2456.    execute_from_command_line(sys.argv)
  2457.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2458.    utility.execute()
  2459.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2460.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2461.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2462.    self.execute(*args, **cmd_options)
  2463.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2464.    output = self.handle(*args, **options)
  2465.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2466.    collected = self.collect()
  2467.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2468.    handler(path, prefixed_path, storage)
  2469.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2470.    self.storage.save(prefixed_path, source_file)
  2471.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2472.    return self._save(name, content)
  2473.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2474.    os.makedirs(directory)
  2475.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2476.    makedirs(head, exist_ok=exist_ok)
  2477.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2478.    mkdir(name, mode)
  2479. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2480. Operations to perform:
  2481.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2482. Running migrations:
  2483.  No migrations to apply.
  2484. Traceback (most recent call last):
  2485.  File "manage.py", line 22, in <module>
  2486.    execute_from_command_line(sys.argv)
  2487.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2488.    utility.execute()
  2489.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2490.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2491.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2492.    self.execute(*args, **cmd_options)
  2493.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2494.    output = self.handle(*args, **options)
  2495.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2496.    collected = self.collect()
  2497.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2498.    handler(path, prefixed_path, storage)
  2499.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2500.    self.storage.save(prefixed_path, source_file)
  2501.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2502.    return self._save(name, content)
  2503.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2504.    os.makedirs(directory)
  2505.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2506.    makedirs(head, exist_ok=exist_ok)
  2507.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2508.    mkdir(name, mode)
  2509. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2510. root@instance-1:/home/djbios# docker restart svh_uwsgi_1
  2511. svh_uwsgi_1
  2512. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  2513. Traceback (most recent call last):
  2514.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2515.    self.connect()
  2516.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  2517.    self.connection = self.get_new_connection(conn_params)
  2518.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  2519.    connection = Database.connect(**conn_params)
  2520.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  2521.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  2522. psycopg2.OperationalError: could not connect to server: Connection refused
  2523.     Is the server running on host "postgres" (172.18.0.2) and accepting
  2524.     TCP/IP connections on port 5432?
  2525.  
  2526.  
  2527. The above exception was the direct cause of the following exception:
  2528.  
  2529. Traceback (most recent call last):
  2530.  File "manage.py", line 22, in <module>
  2531.    execute_from_command_line(sys.argv)
  2532.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2533.    utility.execute()
  2534.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2535.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2536.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2537.    self.execute(*args, **cmd_options)
  2538.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2539.    output = self.handle(*args, **options)
  2540.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  2541.    res = handle_func(*args, **kwargs)
  2542.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  2543.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  2544.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  2545.    self.loader = MigrationLoader(self.connection)
  2546.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  2547.    self.build_graph()
  2548.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  2549.    self.applied_migrations = recorder.applied_migrations()
  2550.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  2551.    if self.has_table():
  2552.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  2553.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  2554.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  2555.    return self._cursor()
  2556.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  2557.    self.ensure_connection()
  2558.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2559.    self.connect()
  2560.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  2561.    raise dj_exc_value.with_traceback(traceback) from exc_value
  2562.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2563.    self.connect()
  2564.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  2565.    self.connection = self.get_new_connection(conn_params)
  2566.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  2567.    connection = Database.connect(**conn_params)
  2568.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  2569.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  2570. django.db.utils.OperationalError: could not connect to server: Connection refused
  2571.     Is the server running on host "postgres" (172.18.0.2) and accepting
  2572.     TCP/IP connections on port 5432?
  2573.  
  2574. Operations to perform:
  2575.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2576. Running migrations:
  2577.  Applying contenttypes.0001_initial... OK
  2578.  Applying auth.0001_initial... OK
  2579.  Applying admin.0001_initial... OK
  2580.  Applying admin.0002_logentry_remove_auto_add... OK
  2581.  Applying admin.0003_logentry_add_action_flag_choices... OK
  2582.  Applying contenttypes.0002_remove_content_type_name... OK
  2583.  Applying auth.0002_alter_permission_name_max_length... OK
  2584.  Applying auth.0003_alter_user_email_max_length... OK
  2585.  Applying auth.0004_alter_user_username_opts... OK
  2586.  Applying auth.0005_alter_user_last_login_null... OK
  2587.  Applying auth.0006_require_contenttypes_0002... OK
  2588.  Applying auth.0007_alter_validators_add_error_messages... OK
  2589.  Applying auth.0008_alter_user_username_max_length... OK
  2590.  Applying auth.0009_alter_user_last_name_max_length... OK
  2591.  Applying auth.0010_alter_group_name_max_length... OK
  2592.  Applying auth.0011_update_proxy_permissions... OK
  2593.  Applying sessions.0001_initial... OK
  2594.  Applying svh.0001_initial... OK
  2595.  Applying svh.0002_auto_20181009_1857... OK
  2596.  Applying svh.0003_auto_20190423_1835... OK
  2597.  Applying svh.0004_auto_20190424_1312... OK
  2598.  Applying svh.0005_auto_20190424_1313... OK
  2599.  Applying svh.0006_auto_20190424_1326... OK
  2600.  Applying svh.0007_auto_20190426_1704... OK
  2601.  Applying svh.0008_videosource_folder... OK
  2602.  Applying svh.0009_preview... OK
  2603.  Applying svh.0010_auto_20190521_1814... OK
  2604.  Applying svh.0011_auto_20190615_1717... OK
  2605.  Applying svh.0012_videosource_published... OK
  2606.  Applying svh.0013_videofolder_deleted... OK
  2607. Traceback (most recent call last):
  2608.  File "manage.py", line 22, in <module>
  2609.    execute_from_command_line(sys.argv)
  2610.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2611.    utility.execute()
  2612.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2613.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2614.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2615.    self.execute(*args, **cmd_options)
  2616.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2617.    output = self.handle(*args, **options)
  2618.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2619.    collected = self.collect()
  2620.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2621.    handler(path, prefixed_path, storage)
  2622.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2623.    self.storage.save(prefixed_path, source_file)
  2624.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2625.    return self._save(name, content)
  2626.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2627.    os.makedirs(directory)
  2628.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2629.    makedirs(head, exist_ok=exist_ok)
  2630.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2631.    mkdir(name, mode)
  2632. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2633. Operations to perform:
  2634.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2635. Running migrations:
  2636.  No migrations to apply.
  2637. Traceback (most recent call last):
  2638.  File "manage.py", line 22, in <module>
  2639.    execute_from_command_line(sys.argv)
  2640.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2641.    utility.execute()
  2642.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2643.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2644.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2645.    self.execute(*args, **cmd_options)
  2646.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2647.    output = self.handle(*args, **options)
  2648.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2649.    collected = self.collect()
  2650.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2651.    handler(path, prefixed_path, storage)
  2652.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2653.    self.storage.save(prefixed_path, source_file)
  2654.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2655.    return self._save(name, content)
  2656.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2657.    os.makedirs(directory)
  2658.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2659.    makedirs(head, exist_ok=exist_ok)
  2660.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2661.    mkdir(name, mode)
  2662. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2663. Operations to perform:
  2664.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2665. Running migrations:
  2666.  No migrations to apply.
  2667. Traceback (most recent call last):
  2668.  File "manage.py", line 22, in <module>
  2669.    execute_from_command_line(sys.argv)
  2670.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2671.    utility.execute()
  2672.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2673.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2674.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2675.    self.execute(*args, **cmd_options)
  2676.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2677.    output = self.handle(*args, **options)
  2678.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2679.    collected = self.collect()
  2680.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2681.    handler(path, prefixed_path, storage)
  2682.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2683.    self.storage.save(prefixed_path, source_file)
  2684.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2685.    return self._save(name, content)
  2686.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2687.    os.makedirs(directory)
  2688.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2689.    makedirs(head, exist_ok=exist_ok)
  2690.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2691.    mkdir(name, mode)
  2692. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2693. Operations to perform:
  2694.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2695. Running migrations:
  2696.  No migrations to apply.
  2697. Traceback (most recent call last):
  2698.  File "manage.py", line 22, in <module>
  2699.    execute_from_command_line(sys.argv)
  2700.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2701.    utility.execute()
  2702.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2703.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2704.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2705.    self.execute(*args, **cmd_options)
  2706.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2707.    output = self.handle(*args, **options)
  2708.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2709.    collected = self.collect()
  2710.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2711.    handler(path, prefixed_path, storage)
  2712.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2713.    self.storage.save(prefixed_path, source_file)
  2714.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2715.    return self._save(name, content)
  2716.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2717.    os.makedirs(directory)
  2718.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2719.    makedirs(head, exist_ok=exist_ok)
  2720.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2721.    mkdir(name, mode)
  2722. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2723. Operations to perform:
  2724.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2725. Running migrations:
  2726.  No migrations to apply.
  2727. Traceback (most recent call last):
  2728.  File "manage.py", line 22, in <module>
  2729.    execute_from_command_line(sys.argv)
  2730.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2731.    utility.execute()
  2732.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2733.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2734.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2735.    self.execute(*args, **cmd_options)
  2736.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2737.    output = self.handle(*args, **options)
  2738.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2739.    collected = self.collect()
  2740.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2741.    handler(path, prefixed_path, storage)
  2742.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2743.    self.storage.save(prefixed_path, source_file)
  2744.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2745.    return self._save(name, content)
  2746.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2747.    os.makedirs(directory)
  2748.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2749.    makedirs(head, exist_ok=exist_ok)
  2750.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2751.    mkdir(name, mode)
  2752. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2753. Operations to perform:
  2754.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2755. Running migrations:
  2756.  No migrations to apply.
  2757. Traceback (most recent call last):
  2758.  File "manage.py", line 22, in <module>
  2759.    execute_from_command_line(sys.argv)
  2760.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2761.    utility.execute()
  2762.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2763.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2764.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2765.    self.execute(*args, **cmd_options)
  2766.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2767.    output = self.handle(*args, **options)
  2768.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2769.    collected = self.collect()
  2770.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2771.    handler(path, prefixed_path, storage)
  2772.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2773.    self.storage.save(prefixed_path, source_file)
  2774.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2775.    return self._save(name, content)
  2776.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2777.    os.makedirs(directory)
  2778.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2779.    makedirs(head, exist_ok=exist_ok)
  2780.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2781.    mkdir(name, mode)
  2782. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2783. Operations to perform:
  2784.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2785. Running migrations:
  2786.  No migrations to apply.
  2787. Traceback (most recent call last):
  2788.  File "manage.py", line 22, in <module>
  2789.    execute_from_command_line(sys.argv)
  2790.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2791.    utility.execute()
  2792.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2793.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2794.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2795.    self.execute(*args, **cmd_options)
  2796.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2797.    output = self.handle(*args, **options)
  2798.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2799.    collected = self.collect()
  2800.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2801.    handler(path, prefixed_path, storage)
  2802.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2803.    self.storage.save(prefixed_path, source_file)
  2804.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2805.    return self._save(name, content)
  2806.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2807.    os.makedirs(directory)
  2808.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2809.    makedirs(head, exist_ok=exist_ok)
  2810.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2811.    mkdir(name, mode)
  2812. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2813. Operations to perform:
  2814.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2815. Running migrations:
  2816.  No migrations to apply.
  2817. Traceback (most recent call last):
  2818.  File "manage.py", line 22, in <module>
  2819.    execute_from_command_line(sys.argv)
  2820.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2821.    utility.execute()
  2822.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2823.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2824.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2825.    self.execute(*args, **cmd_options)
  2826.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2827.    output = self.handle(*args, **options)
  2828.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2829.    collected = self.collect()
  2830.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2831.    handler(path, prefixed_path, storage)
  2832.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2833.    self.storage.save(prefixed_path, source_file)
  2834.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2835.    return self._save(name, content)
  2836.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2837.    os.makedirs(directory)
  2838.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2839.    makedirs(head, exist_ok=exist_ok)
  2840.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2841.    mkdir(name, mode)
  2842. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2843. Operations to perform:
  2844.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2845. Running migrations:
  2846.  No migrations to apply.
  2847. Traceback (most recent call last):
  2848.  File "manage.py", line 22, in <module>
  2849.    execute_from_command_line(sys.argv)
  2850.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2851.    utility.execute()
  2852.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2853.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2854.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2855.    self.execute(*args, **cmd_options)
  2856.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2857.    output = self.handle(*args, **options)
  2858.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2859.    collected = self.collect()
  2860.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2861.    handler(path, prefixed_path, storage)
  2862.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2863.    self.storage.save(prefixed_path, source_file)
  2864.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2865.    return self._save(name, content)
  2866.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2867.    os.makedirs(directory)
  2868.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2869.    makedirs(head, exist_ok=exist_ok)
  2870.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2871.    mkdir(name, mode)
  2872. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2873. Operations to perform:
  2874.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2875. Running migrations:
  2876.  No migrations to apply.
  2877. Traceback (most recent call last):
  2878.  File "manage.py", line 22, in <module>
  2879.    execute_from_command_line(sys.argv)
  2880.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2881.    utility.execute()
  2882.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2883.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2884.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2885.    self.execute(*args, **cmd_options)
  2886.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2887.    output = self.handle(*args, **options)
  2888.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2889.    collected = self.collect()
  2890.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2891.    handler(path, prefixed_path, storage)
  2892.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2893.    self.storage.save(prefixed_path, source_file)
  2894.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2895.    return self._save(name, content)
  2896.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2897.    os.makedirs(directory)
  2898.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2899.    makedirs(head, exist_ok=exist_ok)
  2900.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2901.    mkdir(name, mode)
  2902. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2903. Operations to perform:
  2904.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2905. Running migrations:
  2906.  No migrations to apply.
  2907. Traceback (most recent call last):
  2908.  File "manage.py", line 22, in <module>
  2909.    execute_from_command_line(sys.argv)
  2910.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2911.    utility.execute()
  2912.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2913.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2914.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2915.    self.execute(*args, **cmd_options)
  2916.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2917.    output = self.handle(*args, **options)
  2918.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  2919.    collected = self.collect()
  2920.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  2921.    handler(path, prefixed_path, storage)
  2922.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  2923.    self.storage.save(prefixed_path, source_file)
  2924.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  2925.    return self._save(name, content)
  2926.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  2927.    os.makedirs(directory)
  2928.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  2929.    makedirs(head, exist_ok=exist_ok)
  2930.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  2931.    mkdir(name, mode)
  2932. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  2933. Operations to perform:
  2934.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  2935. Running migrations:
  2936.  No migrations to apply.
  2937. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  2938. Traceback (most recent call last):
  2939.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2940.    self.connect()
  2941.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  2942.    self.connection = self.get_new_connection(conn_params)
  2943.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  2944.    connection = Database.connect(**conn_params)
  2945.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  2946.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  2947. psycopg2.OperationalError: could not connect to server: Connection refused
  2948.     Is the server running on host "postgres" (172.18.0.2) and accepting
  2949.     TCP/IP connections on port 5432?
  2950.  
  2951.  
  2952. The above exception was the direct cause of the following exception:
  2953.  
  2954. Traceback (most recent call last):
  2955.  File "manage.py", line 22, in <module>
  2956.    execute_from_command_line(sys.argv)
  2957.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  2958.    utility.execute()
  2959.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  2960.    self.fetch_command(subcommand).run_from_argv(self.argv)
  2961.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  2962.    self.execute(*args, **cmd_options)
  2963.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  2964.    output = self.handle(*args, **options)
  2965.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  2966.    res = handle_func(*args, **kwargs)
  2967.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  2968.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  2969.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  2970.    self.loader = MigrationLoader(self.connection)
  2971.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  2972.    self.build_graph()
  2973.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  2974.    self.applied_migrations = recorder.applied_migrations()
  2975.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  2976.    if self.has_table():
  2977.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  2978.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  2979.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  2980.    return self._cursor()
  2981.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  2982.    self.ensure_connection()
  2983.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2984.    self.connect()
  2985.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  2986.    raise dj_exc_value.with_traceback(traceback) from exc_value
  2987.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  2988.    self.connect()
  2989.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  2990.    self.connection = self.get_new_connection(conn_params)
  2991.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  2992.    connection = Database.connect(**conn_params)
  2993.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  2994.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  2995. django.db.utils.OperationalError: could not connect to server: Connection refused
  2996.     Is the server running on host "postgres" (172.18.0.2) and accepting
  2997.     TCP/IP connections on port 5432?
  2998.  
  2999. Operations to perform:
  3000.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3001. Running migrations:
  3002.  Applying contenttypes.0001_initial... OK
  3003.  Applying auth.0001_initial... OK
  3004.  Applying admin.0001_initial... OK
  3005.  Applying admin.0002_logentry_remove_auto_add... OK
  3006.  Applying admin.0003_logentry_add_action_flag_choices... OK
  3007.  Applying contenttypes.0002_remove_content_type_name... OK
  3008.  Applying auth.0002_alter_permission_name_max_length... OK
  3009.  Applying auth.0003_alter_user_email_max_length... OK
  3010.  Applying auth.0004_alter_user_username_opts... OK
  3011.  Applying auth.0005_alter_user_last_login_null... OK
  3012.  Applying auth.0006_require_contenttypes_0002... OK
  3013.  Applying auth.0007_alter_validators_add_error_messages... OK
  3014.  Applying auth.0008_alter_user_username_max_length... OK
  3015.  Applying auth.0009_alter_user_last_name_max_length... OK
  3016.  Applying auth.0010_alter_group_name_max_length... OK
  3017.  Applying auth.0011_update_proxy_permissions... OK
  3018.  Applying sessions.0001_initial... OK
  3019.  Applying svh.0001_initial... OK
  3020.  Applying svh.0002_auto_20181009_1857... OK
  3021.  Applying svh.0003_auto_20190423_1835... OK
  3022.  Applying svh.0004_auto_20190424_1312... OK
  3023.  Applying svh.0005_auto_20190424_1313... OK
  3024.  Applying svh.0006_auto_20190424_1326... OK
  3025.  Applying svh.0007_auto_20190426_1704... OK
  3026.  Applying svh.0008_videosource_folder... OK
  3027.  Applying svh.0009_preview... OK
  3028.  Applying svh.0010_auto_20190521_1814... OK
  3029.  Applying svh.0011_auto_20190615_1717... OK
  3030.  Applying svh.0012_videosource_published... OK
  3031.  Applying svh.0013_videofolder_deleted... OK
  3032. Traceback (most recent call last):
  3033.  File "manage.py", line 22, in <module>
  3034.    execute_from_command_line(sys.argv)
  3035.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3036.    utility.execute()
  3037.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3038.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3039.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3040.    self.execute(*args, **cmd_options)
  3041.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3042.    output = self.handle(*args, **options)
  3043.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3044.    collected = self.collect()
  3045.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3046.    handler(path, prefixed_path, storage)
  3047.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3048.    self.storage.save(prefixed_path, source_file)
  3049.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3050.    return self._save(name, content)
  3051.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3052.    os.makedirs(directory)
  3053.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3054.    makedirs(head, exist_ok=exist_ok)
  3055.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3056.    mkdir(name, mode)
  3057. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3058. Operations to perform:
  3059.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3060. Running migrations:
  3061.  No migrations to apply.
  3062. Traceback (most recent call last):
  3063.  File "manage.py", line 22, in <module>
  3064.    execute_from_command_line(sys.argv)
  3065.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3066.    utility.execute()
  3067.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3068.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3069.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3070.    self.execute(*args, **cmd_options)
  3071.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3072.    output = self.handle(*args, **options)
  3073.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3074.    collected = self.collect()
  3075.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3076.    handler(path, prefixed_path, storage)
  3077.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3078.    self.storage.save(prefixed_path, source_file)
  3079.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3080.    return self._save(name, content)
  3081.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3082.    os.makedirs(directory)
  3083.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3084.    makedirs(head, exist_ok=exist_ok)
  3085.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3086.    mkdir(name, mode)
  3087. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3088. Operations to perform:
  3089.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3090. Running migrations:
  3091.  No migrations to apply.
  3092. Traceback (most recent call last):
  3093.  File "manage.py", line 22, in <module>
  3094.    execute_from_command_line(sys.argv)
  3095.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3096.    utility.execute()
  3097.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3098.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3099.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3100.    self.execute(*args, **cmd_options)
  3101.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3102.    output = self.handle(*args, **options)
  3103.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3104.    collected = self.collect()
  3105.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3106.    handler(path, prefixed_path, storage)
  3107.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3108.    self.storage.save(prefixed_path, source_file)
  3109.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3110.    return self._save(name, content)
  3111.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3112.    os.makedirs(directory)
  3113.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3114.    makedirs(head, exist_ok=exist_ok)
  3115.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3116.    mkdir(name, mode)
  3117. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3118. Operations to perform:
  3119.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3120. Running migrations:
  3121.  No migrations to apply.
  3122. Traceback (most recent call last):
  3123.  File "manage.py", line 22, in <module>
  3124.    execute_from_command_line(sys.argv)
  3125.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3126.    utility.execute()
  3127.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3128.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3129.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3130.    self.execute(*args, **cmd_options)
  3131.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3132.    output = self.handle(*args, **options)
  3133.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3134.    collected = self.collect()
  3135.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3136.    handler(path, prefixed_path, storage)
  3137.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3138.    self.storage.save(prefixed_path, source_file)
  3139.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3140.    return self._save(name, content)
  3141.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3142.    os.makedirs(directory)
  3143.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3144.    makedirs(head, exist_ok=exist_ok)
  3145.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3146.    mkdir(name, mode)
  3147. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3148. Operations to perform:
  3149.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3150. Running migrations:
  3151.  No migrations to apply.
  3152. Traceback (most recent call last):
  3153.  File "manage.py", line 22, in <module>
  3154.    execute_from_command_line(sys.argv)
  3155.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3156.    utility.execute()
  3157.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3158.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3159.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3160.    self.execute(*args, **cmd_options)
  3161.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3162.    output = self.handle(*args, **options)
  3163.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3164.    collected = self.collect()
  3165.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3166.    handler(path, prefixed_path, storage)
  3167.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3168.    self.storage.save(prefixed_path, source_file)
  3169.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3170.    return self._save(name, content)
  3171.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3172.    os.makedirs(directory)
  3173.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3174.    makedirs(head, exist_ok=exist_ok)
  3175.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3176.    mkdir(name, mode)
  3177. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3178. Operations to perform:
  3179.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3180. Running migrations:
  3181.  No migrations to apply.
  3182. Traceback (most recent call last):
  3183.  File "manage.py", line 22, in <module>
  3184.    execute_from_command_line(sys.argv)
  3185.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3186.    utility.execute()
  3187.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3188.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3189.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3190.    self.execute(*args, **cmd_options)
  3191.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3192.    output = self.handle(*args, **options)
  3193.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3194.    collected = self.collect()
  3195.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3196.    handler(path, prefixed_path, storage)
  3197.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3198.    self.storage.save(prefixed_path, source_file)
  3199.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3200.    return self._save(name, content)
  3201.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3202.    os.makedirs(directory)
  3203.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3204.    makedirs(head, exist_ok=exist_ok)
  3205.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3206.    mkdir(name, mode)
  3207. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3208. Operations to perform:
  3209.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3210. Running migrations:
  3211.  No migrations to apply.
  3212. Traceback (most recent call last):
  3213.  File "manage.py", line 22, in <module>
  3214.    execute_from_command_line(sys.argv)
  3215.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3216.    utility.execute()
  3217.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3218.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3219.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3220.    self.execute(*args, **cmd_options)
  3221.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3222.    output = self.handle(*args, **options)
  3223.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3224.    collected = self.collect()
  3225.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3226.    handler(path, prefixed_path, storage)
  3227.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3228.    self.storage.save(prefixed_path, source_file)
  3229.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3230.    return self._save(name, content)
  3231.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3232.    os.makedirs(directory)
  3233.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3234.    makedirs(head, exist_ok=exist_ok)
  3235.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3236.    mkdir(name, mode)
  3237. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3238. Operations to perform:
  3239.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3240. Running migrations:
  3241.  No migrations to apply.
  3242. Traceback (most recent call last):
  3243.  File "manage.py", line 22, in <module>
  3244.    execute_from_command_line(sys.argv)
  3245.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3246.    utility.execute()
  3247.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3248.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3249.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3250.    self.execute(*args, **cmd_options)
  3251.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3252.    output = self.handle(*args, **options)
  3253.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3254.    collected = self.collect()
  3255.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3256.    handler(path, prefixed_path, storage)
  3257.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3258.    self.storage.save(prefixed_path, source_file)
  3259.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3260.    return self._save(name, content)
  3261.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3262.    os.makedirs(directory)
  3263.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3264.    makedirs(head, exist_ok=exist_ok)
  3265.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3266.    mkdir(name, mode)
  3267. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3268. Operations to perform:
  3269.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3270. Running migrations:
  3271.  No migrations to apply.
  3272. Traceback (most recent call last):
  3273.  File "manage.py", line 22, in <module>
  3274.    execute_from_command_line(sys.argv)
  3275.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3276.    utility.execute()
  3277.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3278.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3279.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3280.    self.execute(*args, **cmd_options)
  3281.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3282.    output = self.handle(*args, **options)
  3283.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3284.    collected = self.collect()
  3285.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3286.    handler(path, prefixed_path, storage)
  3287.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3288.    self.storage.save(prefixed_path, source_file)
  3289.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3290.    return self._save(name, content)
  3291.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3292.    os.makedirs(directory)
  3293.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3294.    makedirs(head, exist_ok=exist_ok)
  3295.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3296.    mkdir(name, mode)
  3297. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3298. Operations to perform:
  3299.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3300. Running migrations:
  3301.  No migrations to apply.
  3302. Traceback (most recent call last):
  3303.  File "manage.py", line 22, in <module>
  3304.    execute_from_command_line(sys.argv)
  3305.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3306.    utility.execute()
  3307.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3308.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3309.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3310.    self.execute(*args, **cmd_options)
  3311.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3312.    output = self.handle(*args, **options)
  3313.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3314.    collected = self.collect()
  3315.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3316.    handler(path, prefixed_path, storage)
  3317.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3318.    self.storage.save(prefixed_path, source_file)
  3319.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3320.    return self._save(name, content)
  3321.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3322.    os.makedirs(directory)
  3323.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3324.    makedirs(head, exist_ok=exist_ok)
  3325.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3326.    mkdir(name, mode)
  3327. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3328. Operations to perform:
  3329.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3330. Running migrations:
  3331.  No migrations to apply.
  3332. Traceback (most recent call last):
  3333.  File "manage.py", line 22, in <module>
  3334.    execute_from_command_line(sys.argv)
  3335.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3336.    utility.execute()
  3337.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3338.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3339.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3340.    self.execute(*args, **cmd_options)
  3341.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3342.    output = self.handle(*args, **options)
  3343.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3344.    collected = self.collect()
  3345.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3346.    handler(path, prefixed_path, storage)
  3347.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3348.    self.storage.save(prefixed_path, source_file)
  3349.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3350.    return self._save(name, content)
  3351.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3352.    os.makedirs(directory)
  3353.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3354.    makedirs(head, exist_ok=exist_ok)
  3355.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3356.    mkdir(name, mode)
  3357. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3358. Operations to perform:
  3359.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3360. Running migrations:
  3361.  No migrations to apply.
  3362.  
  3363. 122 static files copied to '/www/svh/static'.
  3364. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  3365. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  3366. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  3367. nodename: e4d497adcd96
  3368. machine: x86_64
  3369. clock source: unix
  3370. pcre jit disabled
  3371. detected number of CPU cores: 2
  3372. current working directory: /www/svh
  3373. detected binary path: /usr/local/bin/uwsgi
  3374. chdir() to /www/svh/
  3375. your memory page size is 4096 bytes
  3376. detected max file descriptor number: 1048576
  3377. lock engine: pthread robust mutexes
  3378. thunder lock: disabled (you can enable it with --thunder-lock)
  3379. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  3380. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  3381. *** Python threads support is disabled. You can enable it with --enable-threads ***
  3382. Python main interpreter initialized at 0x55d42852f120
  3383. your server socket listen backlog is limited to 100 connections
  3384. your mercy for graceful operations on workers is 60 seconds
  3385. mapped 291680 bytes (284 KB) for 3 cores
  3386. *** Operational MODE: preforking ***
  3387. ModuleNotFoundError: No module named 'wsgi'
  3388. unable to load app 0 (mountpoint='') (callable not found or import error)
  3389. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  3390. *** uWSGI is running in multiple interpreter mode ***
  3391. spawned uWSGI master process (pid: 1)
  3392. spawned uWSGI worker 1 (pid: 26, cores: 1)
  3393. spawned uWSGI worker 2 (pid: 27, cores: 1)
  3394. spawned uWSGI worker 3 (pid: 28, cores: 1)
  3395. root@instance-1:/home/djbios# docker logs svh_nginx_1
  3396. root@instance-1:/home/djbios# docker logs svh_nginx_1
  3397. root@instance-1:/home/djbios# docker logs svh_nginx_1
  3398. root@instance-1:/home/djbios# docker logs svh_nginx_1
  3399. root@instance-1:/home/djbios# curl localhost
  3400. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3401. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3402. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3403. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3404. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
  3405. www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
  3406. 'folder_traverser'  0.09 ms
  3407. 'check_deleted_videosources'  15.09 ms
  3408. 'update_video_sizes'  3.72 ms
  3409. 'update_video_previews'  3.84 ms
  3410. www-data@e4d497adcd96:/www/svh$ exit
  3411. root@instance-1:/home/djbios# curl localhost
  3412. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3413. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3414. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  3415. <h1>Bad Request (400)</h1>rootdocker logs svh_uwsgi_1svh_uwsgi_1 bash
  3416. Traceback (most recent call last):
  3417.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  3418.    self.connect()
  3419.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  3420.    self.connection = self.get_new_connection(conn_params)
  3421.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  3422.    connection = Database.connect(**conn_params)
  3423.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  3424.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  3425. psycopg2.OperationalError: could not connect to server: Connection refused
  3426.     Is the server running on host "postgres" (172.18.0.2) and accepting
  3427.     TCP/IP connections on port 5432?
  3428.  
  3429.  
  3430. The above exception was the direct cause of the following exception:
  3431.  
  3432. Traceback (most recent call last):
  3433.  File "manage.py", line 22, in <module>
  3434.    execute_from_command_line(sys.argv)
  3435.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3436.    utility.execute()
  3437.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3438.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3439.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3440.    self.execute(*args, **cmd_options)
  3441.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3442.    output = self.handle(*args, **options)
  3443.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  3444.    res = handle_func(*args, **kwargs)
  3445.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  3446.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  3447.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  3448.    self.loader = MigrationLoader(self.connection)
  3449.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  3450.    self.build_graph()
  3451.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  3452.    self.applied_migrations = recorder.applied_migrations()
  3453.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  3454.    if self.has_table():
  3455.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  3456.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  3457.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  3458.    return self._cursor()
  3459.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  3460.    self.ensure_connection()
  3461.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  3462.    self.connect()
  3463.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  3464.    raise dj_exc_value.with_traceback(traceback) from exc_value
  3465.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  3466.    self.connect()
  3467.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  3468.    self.connection = self.get_new_connection(conn_params)
  3469.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  3470.    connection = Database.connect(**conn_params)
  3471.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  3472.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  3473. django.db.utils.OperationalError: could not connect to server: Connection refused
  3474.     Is the server running on host "postgres" (172.18.0.2) and accepting
  3475.     TCP/IP connections on port 5432?
  3476.  
  3477. Operations to perform:
  3478.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3479. Running migrations:
  3480.  Applying contenttypes.0001_initial... OK
  3481.  Applying auth.0001_initial... OK
  3482.  Applying admin.0001_initial... OK
  3483.  Applying admin.0002_logentry_remove_auto_add... OK
  3484.  Applying admin.0003_logentry_add_action_flag_choices... OK
  3485.  Applying contenttypes.0002_remove_content_type_name... OK
  3486.  Applying auth.0002_alter_permission_name_max_length... OK
  3487.  Applying auth.0003_alter_user_email_max_length... OK
  3488.  Applying auth.0004_alter_user_username_opts... OK
  3489.  Applying auth.0005_alter_user_last_login_null... OK
  3490.  Applying auth.0006_require_contenttypes_0002... OK
  3491.  Applying auth.0007_alter_validators_add_error_messages... OK
  3492.  Applying auth.0008_alter_user_username_max_length... OK
  3493.  Applying auth.0009_alter_user_last_name_max_length... OK
  3494.  Applying auth.0010_alter_group_name_max_length... OK
  3495.  Applying auth.0011_update_proxy_permissions... OK
  3496.  Applying sessions.0001_initial... OK
  3497.  Applying svh.0001_initial... OK
  3498.  Applying svh.0002_auto_20181009_1857... OK
  3499.  Applying svh.0003_auto_20190423_1835... OK
  3500.  Applying svh.0004_auto_20190424_1312... OK
  3501.  Applying svh.0005_auto_20190424_1313... OK
  3502.  Applying svh.0006_auto_20190424_1326... OK
  3503.  Applying svh.0007_auto_20190426_1704... OK
  3504.  Applying svh.0008_videosource_folder... OK
  3505.  Applying svh.0009_preview... OK
  3506.  Applying svh.0010_auto_20190521_1814... OK
  3507.  Applying svh.0011_auto_20190615_1717... OK
  3508.  Applying svh.0012_videosource_published... OK
  3509.  Applying svh.0013_videofolder_deleted... OK
  3510. Traceback (most recent call last):
  3511.  File "manage.py", line 22, in <module>
  3512.    execute_from_command_line(sys.argv)
  3513.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3514.    utility.execute()
  3515.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3516.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3517.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3518.    self.execute(*args, **cmd_options)
  3519.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3520.    output = self.handle(*args, **options)
  3521.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3522.    collected = self.collect()
  3523.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3524.    handler(path, prefixed_path, storage)
  3525.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3526.    self.storage.save(prefixed_path, source_file)
  3527.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3528.    return self._save(name, content)
  3529.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3530.    os.makedirs(directory)
  3531.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3532.    makedirs(head, exist_ok=exist_ok)
  3533.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3534.    mkdir(name, mode)
  3535. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3536. Operations to perform:
  3537.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3538. Running migrations:
  3539.  No migrations to apply.
  3540. Traceback (most recent call last):
  3541.  File "manage.py", line 22, in <module>
  3542.    execute_from_command_line(sys.argv)
  3543.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3544.    utility.execute()
  3545.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3546.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3547.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3548.    self.execute(*args, **cmd_options)
  3549.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3550.    output = self.handle(*args, **options)
  3551.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3552.    collected = self.collect()
  3553.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3554.    handler(path, prefixed_path, storage)
  3555.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3556.    self.storage.save(prefixed_path, source_file)
  3557.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3558.    return self._save(name, content)
  3559.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3560.    os.makedirs(directory)
  3561.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3562.    makedirs(head, exist_ok=exist_ok)
  3563.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3564.    mkdir(name, mode)
  3565. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3566. Operations to perform:
  3567.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3568. Running migrations:
  3569.  No migrations to apply.
  3570. Traceback (most recent call last):
  3571.  File "manage.py", line 22, in <module>
  3572.    execute_from_command_line(sys.argv)
  3573.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3574.    utility.execute()
  3575.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3576.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3577.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3578.    self.execute(*args, **cmd_options)
  3579.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3580.    output = self.handle(*args, **options)
  3581.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3582.    collected = self.collect()
  3583.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3584.    handler(path, prefixed_path, storage)
  3585.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3586.    self.storage.save(prefixed_path, source_file)
  3587.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3588.    return self._save(name, content)
  3589.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3590.    os.makedirs(directory)
  3591.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3592.    makedirs(head, exist_ok=exist_ok)
  3593.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3594.    mkdir(name, mode)
  3595. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3596. Operations to perform:
  3597.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3598. Running migrations:
  3599.  No migrations to apply.
  3600. Traceback (most recent call last):
  3601.  File "manage.py", line 22, in <module>
  3602.    execute_from_command_line(sys.argv)
  3603.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3604.    utility.execute()
  3605.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3606.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3607.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3608.    self.execute(*args, **cmd_options)
  3609.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3610.    output = self.handle(*args, **options)
  3611.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3612.    collected = self.collect()
  3613.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3614.    handler(path, prefixed_path, storage)
  3615.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3616.    self.storage.save(prefixed_path, source_file)
  3617.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3618.    return self._save(name, content)
  3619.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3620.    os.makedirs(directory)
  3621.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3622.    makedirs(head, exist_ok=exist_ok)
  3623.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3624.    mkdir(name, mode)
  3625. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3626. Operations to perform:
  3627.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3628. Running migrations:
  3629.  No migrations to apply.
  3630. Traceback (most recent call last):
  3631.  File "manage.py", line 22, in <module>
  3632.    execute_from_command_line(sys.argv)
  3633.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3634.    utility.execute()
  3635.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3636.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3637.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3638.    self.execute(*args, **cmd_options)
  3639.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3640.    output = self.handle(*args, **options)
  3641.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3642.    collected = self.collect()
  3643.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3644.    handler(path, prefixed_path, storage)
  3645.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3646.    self.storage.save(prefixed_path, source_file)
  3647.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3648.    return self._save(name, content)
  3649.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3650.    os.makedirs(directory)
  3651.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3652.    makedirs(head, exist_ok=exist_ok)
  3653.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3654.    mkdir(name, mode)
  3655. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3656. Operations to perform:
  3657.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3658. Running migrations:
  3659.  No migrations to apply.
  3660. Traceback (most recent call last):
  3661.  File "manage.py", line 22, in <module>
  3662.    execute_from_command_line(sys.argv)
  3663.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3664.    utility.execute()
  3665.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3666.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3667.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3668.    self.execute(*args, **cmd_options)
  3669.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3670.    output = self.handle(*args, **options)
  3671.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3672.    collected = self.collect()
  3673.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3674.    handler(path, prefixed_path, storage)
  3675.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3676.    self.storage.save(prefixed_path, source_file)
  3677.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3678.    return self._save(name, content)
  3679.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3680.    os.makedirs(directory)
  3681.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3682.    makedirs(head, exist_ok=exist_ok)
  3683.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3684.    mkdir(name, mode)
  3685. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3686. Operations to perform:
  3687.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3688. Running migrations:
  3689.  No migrations to apply.
  3690. Traceback (most recent call last):
  3691.  File "manage.py", line 22, in <module>
  3692.    execute_from_command_line(sys.argv)
  3693.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3694.    utility.execute()
  3695.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3696.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3697.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3698.    self.execute(*args, **cmd_options)
  3699.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3700.    output = self.handle(*args, **options)
  3701.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3702.    collected = self.collect()
  3703.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3704.    handler(path, prefixed_path, storage)
  3705.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3706.    self.storage.save(prefixed_path, source_file)
  3707.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3708.    return self._save(name, content)
  3709.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3710.    os.makedirs(directory)
  3711.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3712.    makedirs(head, exist_ok=exist_ok)
  3713.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3714.    mkdir(name, mode)
  3715. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3716. Operations to perform:
  3717.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3718. Running migrations:
  3719.  No migrations to apply.
  3720. Traceback (most recent call last):
  3721.  File "manage.py", line 22, in <module>
  3722.    execute_from_command_line(sys.argv)
  3723.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3724.    utility.execute()
  3725.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3726.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3727.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3728.    self.execute(*args, **cmd_options)
  3729.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3730.    output = self.handle(*args, **options)
  3731.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3732.    collected = self.collect()
  3733.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3734.    handler(path, prefixed_path, storage)
  3735.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3736.    self.storage.save(prefixed_path, source_file)
  3737.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3738.    return self._save(name, content)
  3739.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3740.    os.makedirs(directory)
  3741.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3742.    makedirs(head, exist_ok=exist_ok)
  3743.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3744.    mkdir(name, mode)
  3745. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3746. Operations to perform:
  3747.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3748. Running migrations:
  3749.  No migrations to apply.
  3750. Traceback (most recent call last):
  3751.  File "manage.py", line 22, in <module>
  3752.    execute_from_command_line(sys.argv)
  3753.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3754.    utility.execute()
  3755.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3756.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3757.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3758.    self.execute(*args, **cmd_options)
  3759.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3760.    output = self.handle(*args, **options)
  3761.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3762.    collected = self.collect()
  3763.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3764.    handler(path, prefixed_path, storage)
  3765.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3766.    self.storage.save(prefixed_path, source_file)
  3767.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3768.    return self._save(name, content)
  3769.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3770.    os.makedirs(directory)
  3771.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3772.    makedirs(head, exist_ok=exist_ok)
  3773.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3774.    mkdir(name, mode)
  3775. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3776. Operations to perform:
  3777.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3778. Running migrations:
  3779.  No migrations to apply.
  3780. Traceback (most recent call last):
  3781.  File "manage.py", line 22, in <module>
  3782.    execute_from_command_line(sys.argv)
  3783.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3784.    utility.execute()
  3785.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3786.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3787.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3788.    self.execute(*args, **cmd_options)
  3789.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3790.    output = self.handle(*args, **options)
  3791.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3792.    collected = self.collect()
  3793.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3794.    handler(path, prefixed_path, storage)
  3795.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3796.    self.storage.save(prefixed_path, source_file)
  3797.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3798.    return self._save(name, content)
  3799.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3800.    os.makedirs(directory)
  3801.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3802.    makedirs(head, exist_ok=exist_ok)
  3803.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3804.    mkdir(name, mode)
  3805. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3806. Operations to perform:
  3807.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3808. Running migrations:
  3809.  No migrations to apply.
  3810. Traceback (most recent call last):
  3811.  File "manage.py", line 22, in <module>
  3812.    execute_from_command_line(sys.argv)
  3813.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3814.    utility.execute()
  3815.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3816.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3817.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3818.    self.execute(*args, **cmd_options)
  3819.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3820.    output = self.handle(*args, **options)
  3821.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3822.    collected = self.collect()
  3823.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3824.    handler(path, prefixed_path, storage)
  3825.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3826.    self.storage.save(prefixed_path, source_file)
  3827.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3828.    return self._save(name, content)
  3829.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3830.    os.makedirs(directory)
  3831.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3832.    makedirs(head, exist_ok=exist_ok)
  3833.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  3834.    mkdir(name, mode)
  3835. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  3836. Operations to perform:
  3837.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3838. Running migrations:
  3839.  No migrations to apply.
  3840.  
  3841. 122 static files copied to '/www/svh/static'.
  3842. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  3843. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  3844. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  3845. nodename: e4d497adcd96
  3846. machine: x86_64
  3847. clock source: unix
  3848. pcre jit disabled
  3849. detected number of CPU cores: 2
  3850. current working directory: /www/svh
  3851. detected binary path: /usr/local/bin/uwsgi
  3852. chdir() to /www/svh/
  3853. your memory page size is 4096 bytes
  3854. detected max file descriptor number: 1048576
  3855. lock engine: pthread robust mutexes
  3856. thunder lock: disabled (you can enable it with --thunder-lock)
  3857. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  3858. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  3859. *** Python threads support is disabled. You can enable it with --enable-threads ***
  3860. Python main interpreter initialized at 0x55d42852f120
  3861. your server socket listen backlog is limited to 100 connections
  3862. your mercy for graceful operations on workers is 60 seconds
  3863. mapped 291680 bytes (284 KB) for 3 cores
  3864. *** Operational MODE: preforking ***
  3865. ModuleNotFoundError: No module named 'wsgi'
  3866. unable to load app 0 (mountpoint='') (callable not found or import error)
  3867. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  3868. *** uWSGI is running in multiple interpreter mode ***
  3869. spawned uWSGI master process (pid: 1)
  3870. spawned uWSGI worker 1 (pid: 26, cores: 1)
  3871. spawned uWSGI worker 2 (pid: 27, cores: 1)
  3872. spawned uWSGI worker 3 (pid: 28, cores: 1)
  3873. [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)
  3874. [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)
  3875. [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)
  3876. [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)
  3877. [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)
  3878. [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)
  3879. [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)
  3880. [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)
  3881. [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)
  3882. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  3883. Traceback (most recent call last):
  3884.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  3885.    self.connect()
  3886.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  3887.    self.connection = self.get_new_connection(conn_params)
  3888.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  3889.    connection = Database.connect(**conn_params)
  3890.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  3891.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  3892. psycopg2.OperationalError: could not connect to server: Connection refused
  3893.     Is the server running on host "postgres" (172.18.0.2) and accepting
  3894.     TCP/IP connections on port 5432?
  3895.  
  3896.  
  3897. The above exception was the direct cause of the following exception:
  3898.  
  3899. Traceback (most recent call last):
  3900.  File "manage.py", line 22, in <module>
  3901.    execute_from_command_line(sys.argv)
  3902.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3903.    utility.execute()
  3904.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3905.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3906.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3907.    self.execute(*args, **cmd_options)
  3908.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3909.    output = self.handle(*args, **options)
  3910.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  3911.    res = handle_func(*args, **kwargs)
  3912.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  3913.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  3914.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  3915.    self.loader = MigrationLoader(self.connection)
  3916.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  3917.    self.build_graph()
  3918.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  3919.    self.applied_migrations = recorder.applied_migrations()
  3920.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  3921.    if self.has_table():
  3922.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  3923.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  3924.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  3925.    return self._cursor()
  3926.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  3927.    self.ensure_connection()
  3928.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  3929.    self.connect()
  3930.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  3931.    raise dj_exc_value.with_traceback(traceback) from exc_value
  3932.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  3933.    self.connect()
  3934.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  3935.    self.connection = self.get_new_connection(conn_params)
  3936.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  3937.    connection = Database.connect(**conn_params)
  3938.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  3939.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  3940. django.db.utils.OperationalError: could not connect to server: Connection refused
  3941.     Is the server running on host "postgres" (172.18.0.2) and accepting
  3942.     TCP/IP connections on port 5432?
  3943.  
  3944. Operations to perform:
  3945.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  3946. Running migrations:
  3947.  Applying contenttypes.0001_initial... OK
  3948.  Applying auth.0001_initial... OK
  3949.  Applying admin.0001_initial... OK
  3950.  Applying admin.0002_logentry_remove_auto_add... OK
  3951.  Applying admin.0003_logentry_add_action_flag_choices... OK
  3952.  Applying contenttypes.0002_remove_content_type_name... OK
  3953.  Applying auth.0002_alter_permission_name_max_length... OK
  3954.  Applying auth.0003_alter_user_email_max_length... OK
  3955.  Applying auth.0004_alter_user_username_opts... OK
  3956.  Applying auth.0005_alter_user_last_login_null... OK
  3957.  Applying auth.0006_require_contenttypes_0002... OK
  3958.  Applying auth.0007_alter_validators_add_error_messages... OK
  3959.  Applying auth.0008_alter_user_username_max_length... OK
  3960.  Applying auth.0009_alter_user_last_name_max_length... OK
  3961.  Applying auth.0010_alter_group_name_max_length... OK
  3962.  Applying auth.0011_update_proxy_permissions... OK
  3963.  Applying sessions.0001_initial... OK
  3964.  Applying svh.0001_initial... OK
  3965.  Applying svh.0002_auto_20181009_1857... OK
  3966.  Applying svh.0003_auto_20190423_1835... OK
  3967.  Applying svh.0004_auto_20190424_1312... OK
  3968.  Applying svh.0005_auto_20190424_1313... OK
  3969.  Applying svh.0006_auto_20190424_1326... OK
  3970.  Applying svh.0007_auto_20190426_1704... OK
  3971.  Applying svh.0008_videosource_folder... OK
  3972.  Applying svh.0009_preview... OK
  3973.  Applying svh.0010_auto_20190521_1814... OK
  3974.  Applying svh.0011_auto_20190615_1717... OK
  3975.  Applying svh.0012_videosource_published... OK
  3976.  Applying svh.0013_videofolder_deleted... OK
  3977. Traceback (most recent call last):
  3978.  File "manage.py", line 22, in <module>
  3979.    execute_from_command_line(sys.argv)
  3980.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  3981.    utility.execute()
  3982.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  3983.    self.fetch_command(subcommand).run_from_argv(self.argv)
  3984.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  3985.    self.execute(*args, **cmd_options)
  3986.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  3987.    output = self.handle(*args, **options)
  3988.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  3989.    collected = self.collect()
  3990.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  3991.    handler(path, prefixed_path, storage)
  3992.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  3993.    self.storage.save(prefixed_path, source_file)
  3994.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  3995.    return self._save(name, content)
  3996.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  3997.    os.makedirs(directory)
  3998.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  3999.    makedirs(head, exist_ok=exist_ok)
  4000.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4001.    mkdir(name, mode)
  4002. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4003. Operations to perform:
  4004.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4005. Running migrations:
  4006.  No migrations to apply.
  4007. Traceback (most recent call last):
  4008.  File "manage.py", line 22, in <module>
  4009.    execute_from_command_line(sys.argv)
  4010.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4011.    utility.execute()
  4012.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4013.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4014.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4015.    self.execute(*args, **cmd_options)
  4016.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4017.    output = self.handle(*args, **options)
  4018.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4019.    collected = self.collect()
  4020.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4021.    handler(path, prefixed_path, storage)
  4022.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4023.    self.storage.save(prefixed_path, source_file)
  4024.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4025.    return self._save(name, content)
  4026.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4027.    os.makedirs(directory)
  4028.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4029.    makedirs(head, exist_ok=exist_ok)
  4030.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4031.    mkdir(name, mode)
  4032. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4033. Operations to perform:
  4034.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4035. Running migrations:
  4036.  No migrations to apply.
  4037. Traceback (most recent call last):
  4038.  File "manage.py", line 22, in <module>
  4039.    execute_from_command_line(sys.argv)
  4040.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4041.    utility.execute()
  4042.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4043.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4044.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4045.    self.execute(*args, **cmd_options)
  4046.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4047.    output = self.handle(*args, **options)
  4048.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4049.    collected = self.collect()
  4050.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4051.    handler(path, prefixed_path, storage)
  4052.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4053.    self.storage.save(prefixed_path, source_file)
  4054.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4055.    return self._save(name, content)
  4056.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4057.    os.makedirs(directory)
  4058.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4059.    makedirs(head, exist_ok=exist_ok)
  4060.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4061.    mkdir(name, mode)
  4062. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4063. Operations to perform:
  4064.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4065. Running migrations:
  4066.  No migrations to apply.
  4067. Traceback (most recent call last):
  4068.  File "manage.py", line 22, in <module>
  4069.    execute_from_command_line(sys.argv)
  4070.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4071.    utility.execute()
  4072.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4073.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4074.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4075.    self.execute(*args, **cmd_options)
  4076.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4077.    output = self.handle(*args, **options)
  4078.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4079.    collected = self.collect()
  4080.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4081.    handler(path, prefixed_path, storage)
  4082.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4083.    self.storage.save(prefixed_path, source_file)
  4084.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4085.    return self._save(name, content)
  4086.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4087.    os.makedirs(directory)
  4088.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4089.    makedirs(head, exist_ok=exist_ok)
  4090.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4091.    mkdir(name, mode)
  4092. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4093. Operations to perform:
  4094.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4095. Running migrations:
  4096.  No migrations to apply.
  4097. Traceback (most recent call last):
  4098.  File "manage.py", line 22, in <module>
  4099.    execute_from_command_line(sys.argv)
  4100.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4101.    utility.execute()
  4102.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4103.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4104.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4105.    self.execute(*args, **cmd_options)
  4106.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4107.    output = self.handle(*args, **options)
  4108.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4109.    collected = self.collect()
  4110.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4111.    handler(path, prefixed_path, storage)
  4112.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4113.    self.storage.save(prefixed_path, source_file)
  4114.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4115.    return self._save(name, content)
  4116.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4117.    os.makedirs(directory)
  4118.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4119.    makedirs(head, exist_ok=exist_ok)
  4120.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4121.    mkdir(name, mode)
  4122. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4123. Operations to perform:
  4124.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4125. Running migrations:
  4126.  No migrations to apply.
  4127. Traceback (most recent call last):
  4128.  File "manage.py", line 22, in <module>
  4129.    execute_from_command_line(sys.argv)
  4130.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4131.    utility.execute()
  4132.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4133.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4134.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4135.    self.execute(*args, **cmd_options)
  4136.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4137.    output = self.handle(*args, **options)
  4138.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4139.    collected = self.collect()
  4140.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4141.    handler(path, prefixed_path, storage)
  4142.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4143.    self.storage.save(prefixed_path, source_file)
  4144.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4145.    return self._save(name, content)
  4146.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4147.    os.makedirs(directory)
  4148.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4149.    makedirs(head, exist_ok=exist_ok)
  4150.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4151.    mkdir(name, mode)
  4152. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4153. Operations to perform:
  4154.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4155. Running migrations:
  4156.  No migrations to apply.
  4157. Traceback (most recent call last):
  4158.  File "manage.py", line 22, in <module>
  4159.    execute_from_command_line(sys.argv)
  4160.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4161.    utility.execute()
  4162.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4163.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4164.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4165.    self.execute(*args, **cmd_options)
  4166.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4167.    output = self.handle(*args, **options)
  4168.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4169.    collected = self.collect()
  4170.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4171.    handler(path, prefixed_path, storage)
  4172.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4173.    self.storage.save(prefixed_path, source_file)
  4174.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4175.    return self._save(name, content)
  4176.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4177.    os.makedirs(directory)
  4178.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4179.    makedirs(head, exist_ok=exist_ok)
  4180.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4181.    mkdir(name, mode)
  4182. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4183. Operations to perform:
  4184.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4185. Running migrations:
  4186.  No migrations to apply.
  4187. Traceback (most recent call last):
  4188.  File "manage.py", line 22, in <module>
  4189.    execute_from_command_line(sys.argv)
  4190.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4191.    utility.execute()
  4192.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4193.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4194.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4195.    self.execute(*args, **cmd_options)
  4196.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4197.    output = self.handle(*args, **options)
  4198.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4199.    collected = self.collect()
  4200.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4201.    handler(path, prefixed_path, storage)
  4202.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4203.    self.storage.save(prefixed_path, source_file)
  4204.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4205.    return self._save(name, content)
  4206.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4207.    os.makedirs(directory)
  4208.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4209.    makedirs(head, exist_ok=exist_ok)
  4210.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4211.    mkdir(name, mode)
  4212. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4213. Operations to perform:
  4214.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4215. Running migrations:
  4216.  No migrations to apply.
  4217. Traceback (most recent call last):
  4218.  File "manage.py", line 22, in <module>
  4219.    execute_from_command_line(sys.argv)
  4220.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4221.    utility.execute()
  4222.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4223.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4224.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4225.    self.execute(*args, **cmd_options)
  4226.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4227.    output = self.handle(*args, **options)
  4228.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4229.    collected = self.collect()
  4230.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4231.    handler(path, prefixed_path, storage)
  4232.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4233.    self.storage.save(prefixed_path, source_file)
  4234.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4235.    return self._save(name, content)
  4236.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4237.    os.makedirs(directory)
  4238.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4239.    makedirs(head, exist_ok=exist_ok)
  4240.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4241.    mkdir(name, mode)
  4242. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4243. Operations to perform:
  4244.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4245. Running migrations:
  4246.  No migrations to apply.
  4247. Traceback (most recent call last):
  4248.  File "manage.py", line 22, in <module>
  4249.    execute_from_command_line(sys.argv)
  4250.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4251.    utility.execute()
  4252.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4253.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4254.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4255.    self.execute(*args, **cmd_options)
  4256.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4257.    output = self.handle(*args, **options)
  4258.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4259.    collected = self.collect()
  4260.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4261.    handler(path, prefixed_path, storage)
  4262.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4263.    self.storage.save(prefixed_path, source_file)
  4264.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4265.    return self._save(name, content)
  4266.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4267.    os.makedirs(directory)
  4268.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4269.    makedirs(head, exist_ok=exist_ok)
  4270.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4271.    mkdir(name, mode)
  4272. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4273. Operations to perform:
  4274.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4275. Running migrations:
  4276.  No migrations to apply.
  4277. Traceback (most recent call last):
  4278.  File "manage.py", line 22, in <module>
  4279.    execute_from_command_line(sys.argv)
  4280.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4281.    utility.execute()
  4282.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4283.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4284.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4285.    self.execute(*args, **cmd_options)
  4286.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4287.    output = self.handle(*args, **options)
  4288.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4289.    collected = self.collect()
  4290.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4291.    handler(path, prefixed_path, storage)
  4292.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4293.    self.storage.save(prefixed_path, source_file)
  4294.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4295.    return self._save(name, content)
  4296.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4297.    os.makedirs(directory)
  4298.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4299.    makedirs(head, exist_ok=exist_ok)
  4300.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4301.    mkdir(name, mode)
  4302. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4303. Operations to perform:
  4304.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4305. Running migrations:
  4306.  No migrations to apply.
  4307.  
  4308. 122 static files copied to '/www/svh/static'.
  4309. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  4310. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  4311. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  4312. nodename: e4d497adcd96
  4313. machine: x86_64
  4314. clock source: unix
  4315. pcre jit disabled
  4316. detected number of CPU cores: 2
  4317. current working directory: /www/svh
  4318. detected binary path: /usr/local/bin/uwsgi
  4319. chdir() to /www/svh/
  4320. your memory page size is 4096 bytes
  4321. detected max file descriptor number: 1048576
  4322. lock engine: pthread robust mutexes
  4323. thunder lock: disabled (you can enable it with --thunder-lock)
  4324. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  4325. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  4326. *** Python threads support is disabled. You can enable it with --enable-threads ***
  4327. Python main interpreter initialized at 0x55d42852f120
  4328. your server socket listen backlog is limited to 100 connections
  4329. your mercy for graceful operations on workers is 60 seconds
  4330. mapped 291680 bytes (284 KB) for 3 cores
  4331. *** Operational MODE: preforking ***
  4332. ModuleNotFoundError: No module named 'wsgi'
  4333. unable to load app 0 (mountpoint='') (callable not found or import error)
  4334. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  4335. *** uWSGI is running in multiple interpreter mode ***
  4336. spawned uWSGI master process (pid: 1)
  4337. spawned uWSGI worker 1 (pid: 26, cores: 1)
  4338. spawned uWSGI worker 2 (pid: 27, cores: 1)
  4339. spawned uWSGI worker 3 (pid: 28, cores: 1)
  4340. [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)
  4341. [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)
  4342. [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)
  4343. [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)
  4344. [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)
  4345. [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)
  4346. [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)
  4347. [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)
  4348. [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)
  4349. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  4350. Traceback (most recent call last):
  4351.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  4352.    self.connect()
  4353.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  4354.    self.connection = self.get_new_connection(conn_params)
  4355.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  4356.    connection = Database.connect(**conn_params)
  4357.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  4358.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  4359. psycopg2.OperationalError: could not connect to server: Connection refused
  4360.     Is the server running on host "postgres" (172.18.0.2) and accepting
  4361.     TCP/IP connections on port 5432?
  4362.  
  4363.  
  4364. The above exception was the direct cause of the following exception:
  4365.  
  4366. Traceback (most recent call last):
  4367.  File "manage.py", line 22, in <module>
  4368.    execute_from_command_line(sys.argv)
  4369.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4370.    utility.execute()
  4371.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4372.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4373.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4374.    self.execute(*args, **cmd_options)
  4375.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4376.    output = self.handle(*args, **options)
  4377.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  4378.    res = handle_func(*args, **kwargs)
  4379.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  4380.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  4381.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  4382.    self.loader = MigrationLoader(self.connection)
  4383.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  4384.    self.build_graph()
  4385.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  4386.    self.applied_migrations = recorder.applied_migrations()
  4387.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  4388.    if self.has_table():
  4389.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  4390.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  4391.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  4392.    return self._cursor()
  4393.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  4394.    self.ensure_connection()
  4395.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  4396.    self.connect()
  4397.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  4398.    raise dj_exc_value.with_traceback(traceback) from exc_value
  4399.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  4400.    self.connect()
  4401.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  4402.    self.connection = self.get_new_connection(conn_params)
  4403.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  4404.    connection = Database.connect(**conn_params)
  4405.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  4406.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  4407. django.db.utils.OperationalError: could not connect to server: Connection refused
  4408.     Is the server running on host "postgres" (172.18.0.2) and accepting
  4409.     TCP/IP connections on port 5432?
  4410.  
  4411. Operations to perform:
  4412.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4413. Running migrations:
  4414.  Applying contenttypes.0001_initial... OK
  4415.  Applying auth.0001_initial... OK
  4416.  Applying admin.0001_initial... OK
  4417.  Applying admin.0002_logentry_remove_auto_add... OK
  4418.  Applying admin.0003_logentry_add_action_flag_choices... OK
  4419.  Applying contenttypes.0002_remove_content_type_name... OK
  4420.  Applying auth.0002_alter_permission_name_max_length... OK
  4421.  Applying auth.0003_alter_user_email_max_length... OK
  4422.  Applying auth.0004_alter_user_username_opts... OK
  4423.  Applying auth.0005_alter_user_last_login_null... OK
  4424.  Applying auth.0006_require_contenttypes_0002... OK
  4425.  Applying auth.0007_alter_validators_add_error_messages... OK
  4426.  Applying auth.0008_alter_user_username_max_length... OK
  4427.  Applying auth.0009_alter_user_last_name_max_length... OK
  4428.  Applying auth.0010_alter_group_name_max_length... OK
  4429.  Applying auth.0011_update_proxy_permissions... OK
  4430.  Applying sessions.0001_initial... OK
  4431.  Applying svh.0001_initial... OK
  4432.  Applying svh.0002_auto_20181009_1857... OK
  4433.  Applying svh.0003_auto_20190423_1835... OK
  4434.  Applying svh.0004_auto_20190424_1312... OK
  4435.  Applying svh.0005_auto_20190424_1313... OK
  4436.  Applying svh.0006_auto_20190424_1326... OK
  4437.  Applying svh.0007_auto_20190426_1704... OK
  4438.  Applying svh.0008_videosource_folder... OK
  4439.  Applying svh.0009_preview... OK
  4440.  Applying svh.0010_auto_20190521_1814... OK
  4441.  Applying svh.0011_auto_20190615_1717... OK
  4442.  Applying svh.0012_videosource_published... OK
  4443.  Applying svh.0013_videofolder_deleted... OK
  4444. Traceback (most recent call last):
  4445.  File "manage.py", line 22, in <module>
  4446.    execute_from_command_line(sys.argv)
  4447.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4448.    utility.execute()
  4449.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4450.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4451.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4452.    self.execute(*args, **cmd_options)
  4453.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4454.    output = self.handle(*args, **options)
  4455.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4456.    collected = self.collect()
  4457.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4458.    handler(path, prefixed_path, storage)
  4459.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4460.    self.storage.save(prefixed_path, source_file)
  4461.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4462.    return self._save(name, content)
  4463.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4464.    os.makedirs(directory)
  4465.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4466.    makedirs(head, exist_ok=exist_ok)
  4467.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4468.    mkdir(name, mode)
  4469. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4470. Operations to perform:
  4471.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4472. Running migrations:
  4473.  No migrations to apply.
  4474. Traceback (most recent call last):
  4475.  File "manage.py", line 22, in <module>
  4476.    execute_from_command_line(sys.argv)
  4477.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4478.    utility.execute()
  4479.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4480.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4481.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4482.    self.execute(*args, **cmd_options)
  4483.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4484.    output = self.handle(*args, **options)
  4485.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4486.    collected = self.collect()
  4487.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4488.    handler(path, prefixed_path, storage)
  4489.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4490.    self.storage.save(prefixed_path, source_file)
  4491.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4492.    return self._save(name, content)
  4493.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4494.    os.makedirs(directory)
  4495.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4496.    makedirs(head, exist_ok=exist_ok)
  4497.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4498.    mkdir(name, mode)
  4499. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4500. Operations to perform:
  4501.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4502. Running migrations:
  4503.  No migrations to apply.
  4504. Traceback (most recent call last):
  4505.  File "manage.py", line 22, in <module>
  4506.    execute_from_command_line(sys.argv)
  4507.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4508.    utility.execute()
  4509.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4510.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4511.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4512.    self.execute(*args, **cmd_options)
  4513.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4514.    output = self.handle(*args, **options)
  4515.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4516.    collected = self.collect()
  4517.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4518.    handler(path, prefixed_path, storage)
  4519.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4520.    self.storage.save(prefixed_path, source_file)
  4521.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4522.    return self._save(name, content)
  4523.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4524.    os.makedirs(directory)
  4525.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4526.    makedirs(head, exist_ok=exist_ok)
  4527.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4528.    mkdir(name, mode)
  4529. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4530. Operations to perform:
  4531.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4532. Running migrations:
  4533.  No migrations to apply.
  4534. Traceback (most recent call last):
  4535.  File "manage.py", line 22, in <module>
  4536.    execute_from_command_line(sys.argv)
  4537.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4538.    utility.execute()
  4539.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4540.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4541.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4542.    self.execute(*args, **cmd_options)
  4543.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4544.    output = self.handle(*args, **options)
  4545.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4546.    collected = self.collect()
  4547.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4548.    handler(path, prefixed_path, storage)
  4549.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4550.    self.storage.save(prefixed_path, source_file)
  4551.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4552.    return self._save(name, content)
  4553.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4554.    os.makedirs(directory)
  4555.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4556.    makedirs(head, exist_ok=exist_ok)
  4557.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4558.    mkdir(name, mode)
  4559. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4560. Operations to perform:
  4561.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4562. Running migrations:
  4563.  No migrations to apply.
  4564. Traceback (most recent call last):
  4565.  File "manage.py", line 22, in <module>
  4566.    execute_from_command_line(sys.argv)
  4567.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4568.    utility.execute()
  4569.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4570.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4571.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4572.    self.execute(*args, **cmd_options)
  4573.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4574.    output = self.handle(*args, **options)
  4575.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4576.    collected = self.collect()
  4577.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4578.    handler(path, prefixed_path, storage)
  4579.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4580.    self.storage.save(prefixed_path, source_file)
  4581.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4582.    return self._save(name, content)
  4583.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4584.    os.makedirs(directory)
  4585.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4586.    makedirs(head, exist_ok=exist_ok)
  4587.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4588.    mkdir(name, mode)
  4589. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4590. Operations to perform:
  4591.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4592. Running migrations:
  4593.  No migrations to apply.
  4594. Traceback (most recent call last):
  4595.  File "manage.py", line 22, in <module>
  4596.    execute_from_command_line(sys.argv)
  4597.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4598.    utility.execute()
  4599.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4600.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4601.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4602.    self.execute(*args, **cmd_options)
  4603.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4604.    output = self.handle(*args, **options)
  4605.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4606.    collected = self.collect()
  4607.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4608.    handler(path, prefixed_path, storage)
  4609.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4610.    self.storage.save(prefixed_path, source_file)
  4611.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4612.    return self._save(name, content)
  4613.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4614.    os.makedirs(directory)
  4615.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4616.    makedirs(head, exist_ok=exist_ok)
  4617.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4618.    mkdir(name, mode)
  4619. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4620. Operations to perform:
  4621.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4622. Running migrations:
  4623.  No migrations to apply.
  4624. Traceback (most recent call last):
  4625.  File "manage.py", line 22, in <module>
  4626.    execute_from_command_line(sys.argv)
  4627.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4628.    utility.execute()
  4629.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4630.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4631.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4632.    self.execute(*args, **cmd_options)
  4633.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4634.    output = self.handle(*args, **options)
  4635.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4636.    collected = self.collect()
  4637.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4638.    handler(path, prefixed_path, storage)
  4639.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4640.    self.storage.save(prefixed_path, source_file)
  4641.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4642.    return self._save(name, content)
  4643.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4644.    os.makedirs(directory)
  4645.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4646.    makedirs(head, exist_ok=exist_ok)
  4647.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4648.    mkdir(name, mode)
  4649. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4650. Operations to perform:
  4651.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4652. Running migrations:
  4653.  No migrations to apply.
  4654. Traceback (most recent call last):
  4655.  File "manage.py", line 22, in <module>
  4656.    execute_from_command_line(sys.argv)
  4657.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4658.    utility.execute()
  4659.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4660.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4661.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4662.    self.execute(*args, **cmd_options)
  4663.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4664.    output = self.handle(*args, **options)
  4665.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4666.    collected = self.collect()
  4667.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4668.    handler(path, prefixed_path, storage)
  4669.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4670.    self.storage.save(prefixed_path, source_file)
  4671.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4672.    return self._save(name, content)
  4673.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4674.    os.makedirs(directory)
  4675.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4676.    makedirs(head, exist_ok=exist_ok)
  4677.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4678.    mkdir(name, mode)
  4679. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4680. Operations to perform:
  4681.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4682. Running migrations:
  4683.  No migrations to apply.
  4684. Traceback (most recent call last):
  4685.  File "manage.py", line 22, in <module>
  4686.    execute_from_command_line(sys.argv)
  4687.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4688.    utility.execute()
  4689.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4690.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4691.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4692.    self.execute(*args, **cmd_options)
  4693.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4694.    output = self.handle(*args, **options)
  4695.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4696.    collected = self.collect()
  4697.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4698.    handler(path, prefixed_path, storage)
  4699.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4700.    self.storage.save(prefixed_path, source_file)
  4701.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4702.    return self._save(name, content)
  4703.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4704.    os.makedirs(directory)
  4705.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4706.    makedirs(head, exist_ok=exist_ok)
  4707.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4708.    mkdir(name, mode)
  4709. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4710. Operations to perform:
  4711.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4712. Running migrations:
  4713.  No migrations to apply.
  4714. Traceback (most recent call last):
  4715.  File "manage.py", line 22, in <module>
  4716.    execute_from_command_line(sys.argv)
  4717.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4718.    utility.execute()
  4719.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4720.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4721.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4722.    self.execute(*args, **cmd_options)
  4723.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4724.    output = self.handle(*args, **options)
  4725.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4726.    collected = self.collect()
  4727.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4728.    handler(path, prefixed_path, storage)
  4729.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4730.    self.storage.save(prefixed_path, source_file)
  4731.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4732.    return self._save(name, content)
  4733.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4734.    os.makedirs(directory)
  4735.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4736.    makedirs(head, exist_ok=exist_ok)
  4737.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4738.    mkdir(name, mode)
  4739. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4740. Operations to perform:
  4741.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4742. Running migrations:
  4743.  No migrations to apply.
  4744. Traceback (most recent call last):
  4745.  File "manage.py", line 22, in <module>
  4746.    execute_from_command_line(sys.argv)
  4747.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4748.    utility.execute()
  4749.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4750.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4751.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4752.    self.execute(*args, **cmd_options)
  4753.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4754.    output = self.handle(*args, **options)
  4755.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4756.    collected = self.collect()
  4757.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4758.    handler(path, prefixed_path, storage)
  4759.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4760.    self.storage.save(prefixed_path, source_file)
  4761.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4762.    return self._save(name, content)
  4763.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4764.    os.makedirs(directory)
  4765.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4766.    makedirs(head, exist_ok=exist_ok)
  4767.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4768.    mkdir(name, mode)
  4769. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4770. Operations to perform:
  4771.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4772. Running migrations:
  4773.  No migrations to apply.
  4774.  
  4775. 122 static files copied to '/www/svh/static'.
  4776. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  4777. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  4778. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  4779. nodename: e4d497adcd96
  4780. machine: x86_64
  4781. clock source: unix
  4782. pcre jit disabled
  4783. detected number of CPU cores: 2
  4784. current working directory: /www/svh
  4785. detected binary path: /usr/local/bin/uwsgi
  4786. chdir() to /www/svh/
  4787. your memory page size is 4096 bytes
  4788. detected max file descriptor number: 1048576
  4789. lock engine: pthread robust mutexes
  4790. thunder lock: disabled (you can enable it with --thunder-lock)
  4791. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  4792. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  4793. *** Python threads support is disabled. You can enable it with --enable-threads ***
  4794. Python main interpreter initialized at 0x55d42852f120
  4795. your server socket listen backlog is limited to 100 connections
  4796. your mercy for graceful operations on workers is 60 seconds
  4797. mapped 291680 bytes (284 KB) for 3 cores
  4798. *** Operational MODE: preforking ***
  4799. ModuleNotFoundError: No module named 'wsgi'
  4800. unable to load app 0 (mountpoint='') (callable not found or import error)
  4801. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  4802. *** uWSGI is running in multiple interpreter mode ***
  4803. spawned uWSGI master process (pid: 1)
  4804. spawned uWSGI worker 1 (pid: 26, cores: 1)
  4805. spawned uWSGI worker 2 (pid: 27, cores: 1)
  4806. spawned uWSGI worker 3 (pid: 28, cores: 1)
  4807. [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)
  4808. [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)
  4809. [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)
  4810. [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)
  4811. [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)
  4812. [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)
  4813. [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)
  4814. [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)
  4815. [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)
  4816. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  4817. Traceback (most recent call last):
  4818.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  4819.    self.connect()
  4820.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  4821.    self.connection = self.get_new_connection(conn_params)
  4822.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  4823.    connection = Database.connect(**conn_params)
  4824.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  4825.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  4826. psycopg2.OperationalError: could not connect to server: Connection refused
  4827.     Is the server running on host "postgres" (172.18.0.2) and accepting
  4828.     TCP/IP connections on port 5432?
  4829.  
  4830.  
  4831. The above exception was the direct cause of the following exception:
  4832.  
  4833. Traceback (most recent call last):
  4834.  File "manage.py", line 22, in <module>
  4835.    execute_from_command_line(sys.argv)
  4836.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4837.    utility.execute()
  4838.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4839.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4840.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4841.    self.execute(*args, **cmd_options)
  4842.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4843.    output = self.handle(*args, **options)
  4844.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  4845.    res = handle_func(*args, **kwargs)
  4846.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  4847.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  4848.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  4849.    self.loader = MigrationLoader(self.connection)
  4850.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  4851.    self.build_graph()
  4852.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  4853.    self.applied_migrations = recorder.applied_migrations()
  4854.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  4855.    if self.has_table():
  4856.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  4857.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  4858.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  4859.    return self._cursor()
  4860.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  4861.    self.ensure_connection()
  4862.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  4863.    self.connect()
  4864.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  4865.    raise dj_exc_value.with_traceback(traceback) from exc_value
  4866.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  4867.    self.connect()
  4868.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  4869.    self.connection = self.get_new_connection(conn_params)
  4870.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  4871.    connection = Database.connect(**conn_params)
  4872.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  4873.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  4874. django.db.utils.OperationalError: could not connect to server: Connection refused
  4875.     Is the server running on host "postgres" (172.18.0.2) and accepting
  4876.     TCP/IP connections on port 5432?
  4877.  
  4878. Operations to perform:
  4879.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4880. Running migrations:
  4881.  Applying contenttypes.0001_initial... OK
  4882.  Applying auth.0001_initial... OK
  4883.  Applying admin.0001_initial... OK
  4884.  Applying admin.0002_logentry_remove_auto_add... OK
  4885.  Applying admin.0003_logentry_add_action_flag_choices... OK
  4886.  Applying contenttypes.0002_remove_content_type_name... OK
  4887.  Applying auth.0002_alter_permission_name_max_length... OK
  4888.  Applying auth.0003_alter_user_email_max_length... OK
  4889.  Applying auth.0004_alter_user_username_opts... OK
  4890.  Applying auth.0005_alter_user_last_login_null... OK
  4891.  Applying auth.0006_require_contenttypes_0002... OK
  4892.  Applying auth.0007_alter_validators_add_error_messages... OK
  4893.  Applying auth.0008_alter_user_username_max_length... OK
  4894.  Applying auth.0009_alter_user_last_name_max_length... OK
  4895.  Applying auth.0010_alter_group_name_max_length... OK
  4896.  Applying auth.0011_update_proxy_permissions... OK
  4897.  Applying sessions.0001_initial... OK
  4898.  Applying svh.0001_initial... OK
  4899.  Applying svh.0002_auto_20181009_1857... OK
  4900.  Applying svh.0003_auto_20190423_1835... OK
  4901.  Applying svh.0004_auto_20190424_1312... OK
  4902.  Applying svh.0005_auto_20190424_1313... OK
  4903.  Applying svh.0006_auto_20190424_1326... OK
  4904.  Applying svh.0007_auto_20190426_1704... OK
  4905.  Applying svh.0008_videosource_folder... OK
  4906.  Applying svh.0009_preview... OK
  4907.  Applying svh.0010_auto_20190521_1814... OK
  4908.  Applying svh.0011_auto_20190615_1717... OK
  4909.  Applying svh.0012_videosource_published... OK
  4910.  Applying svh.0013_videofolder_deleted... OK
  4911. Traceback (most recent call last):
  4912.  File "manage.py", line 22, in <module>
  4913.    execute_from_command_line(sys.argv)
  4914.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4915.    utility.execute()
  4916.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4917.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4918.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4919.    self.execute(*args, **cmd_options)
  4920.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4921.    output = self.handle(*args, **options)
  4922.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4923.    collected = self.collect()
  4924.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4925.    handler(path, prefixed_path, storage)
  4926.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4927.    self.storage.save(prefixed_path, source_file)
  4928.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4929.    return self._save(name, content)
  4930.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4931.    os.makedirs(directory)
  4932.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4933.    makedirs(head, exist_ok=exist_ok)
  4934.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4935.    mkdir(name, mode)
  4936. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4937. Operations to perform:
  4938.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4939. Running migrations:
  4940.  No migrations to apply.
  4941. Traceback (most recent call last):
  4942.  File "manage.py", line 22, in <module>
  4943.    execute_from_command_line(sys.argv)
  4944.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4945.    utility.execute()
  4946.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4947.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4948.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4949.    self.execute(*args, **cmd_options)
  4950.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4951.    output = self.handle(*args, **options)
  4952.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4953.    collected = self.collect()
  4954.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4955.    handler(path, prefixed_path, storage)
  4956.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4957.    self.storage.save(prefixed_path, source_file)
  4958.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4959.    return self._save(name, content)
  4960.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4961.    os.makedirs(directory)
  4962.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4963.    makedirs(head, exist_ok=exist_ok)
  4964.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4965.    mkdir(name, mode)
  4966. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4967. Operations to perform:
  4968.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4969. Running migrations:
  4970.  No migrations to apply.
  4971. Traceback (most recent call last):
  4972.  File "manage.py", line 22, in <module>
  4973.    execute_from_command_line(sys.argv)
  4974.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  4975.    utility.execute()
  4976.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  4977.    self.fetch_command(subcommand).run_from_argv(self.argv)
  4978.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  4979.    self.execute(*args, **cmd_options)
  4980.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  4981.    output = self.handle(*args, **options)
  4982.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  4983.    collected = self.collect()
  4984.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  4985.    handler(path, prefixed_path, storage)
  4986.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  4987.    self.storage.save(prefixed_path, source_file)
  4988.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  4989.    return self._save(name, content)
  4990.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  4991.    os.makedirs(directory)
  4992.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  4993.    makedirs(head, exist_ok=exist_ok)
  4994.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  4995.    mkdir(name, mode)
  4996. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  4997. Operations to perform:
  4998.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  4999. Running migrations:
  5000.  No migrations to apply.
  5001. Traceback (most recent call last):
  5002.  File "manage.py", line 22, in <module>
  5003.    execute_from_command_line(sys.argv)
  5004.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5005.    utility.execute()
  5006.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5007.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5008.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5009.    self.execute(*args, **cmd_options)
  5010.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5011.    output = self.handle(*args, **options)
  5012.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5013.    collected = self.collect()
  5014.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5015.    handler(path, prefixed_path, storage)
  5016.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5017.    self.storage.save(prefixed_path, source_file)
  5018.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5019.    return self._save(name, content)
  5020.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5021.    os.makedirs(directory)
  5022.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5023.    makedirs(head, exist_ok=exist_ok)
  5024.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5025.    mkdir(name, mode)
  5026. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5027. Operations to perform:
  5028.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5029. Running migrations:
  5030.  No migrations to apply.
  5031. Traceback (most recent call last):
  5032.  File "manage.py", line 22, in <module>
  5033.    execute_from_command_line(sys.argv)
  5034.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5035.    utility.execute()
  5036.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5037.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5038.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5039.    self.execute(*args, **cmd_options)
  5040.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5041.    output = self.handle(*args, **options)
  5042.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5043.    collected = self.collect()
  5044.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5045.    handler(path, prefixed_path, storage)
  5046.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5047.    self.storage.save(prefixed_path, source_file)
  5048.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5049.    return self._save(name, content)
  5050.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5051.    os.makedirs(directory)
  5052.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5053.    makedirs(head, exist_ok=exist_ok)
  5054.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5055.    mkdir(name, mode)
  5056. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5057. Operations to perform:
  5058.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5059. Running migrations:
  5060.  No migrations to apply.
  5061. Traceback (most recent call last):
  5062.  File "manage.py", line 22, in <module>
  5063.    execute_from_command_line(sys.argv)
  5064.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5065.    utility.execute()
  5066.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5067.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5068.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5069.    self.execute(*args, **cmd_options)
  5070.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5071.    output = self.handle(*args, **options)
  5072.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5073.    collected = self.collect()
  5074.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5075.    handler(path, prefixed_path, storage)
  5076.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5077.    self.storage.save(prefixed_path, source_file)
  5078.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5079.    return self._save(name, content)
  5080.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5081.    os.makedirs(directory)
  5082.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5083.    makedirs(head, exist_ok=exist_ok)
  5084.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5085.    mkdir(name, mode)
  5086. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5087. Operations to perform:
  5088.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5089. Running migrations:
  5090.  No migrations to apply.
  5091. Traceback (most recent call last):
  5092.  File "manage.py", line 22, in <module>
  5093.    execute_from_command_line(sys.argv)
  5094.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5095.    utility.execute()
  5096.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5097.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5098.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5099.    self.execute(*args, **cmd_options)
  5100.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5101.    output = self.handle(*args, **options)
  5102.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5103.    collected = self.collect()
  5104.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5105.    handler(path, prefixed_path, storage)
  5106.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5107.    self.storage.save(prefixed_path, source_file)
  5108.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5109.    return self._save(name, content)
  5110.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5111.    os.makedirs(directory)
  5112.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5113.    makedirs(head, exist_ok=exist_ok)
  5114.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5115.    mkdir(name, mode)
  5116. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5117. Operations to perform:
  5118.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5119. Running migrations:
  5120.  No migrations to apply.
  5121. Traceback (most recent call last):
  5122.  File "manage.py", line 22, in <module>
  5123.    execute_from_command_line(sys.argv)
  5124.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5125.    utility.execute()
  5126.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5127.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5128.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5129.    self.execute(*args, **cmd_options)
  5130.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5131.    output = self.handle(*args, **options)
  5132.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5133.    collected = self.collect()
  5134.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5135.    handler(path, prefixed_path, storage)
  5136.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5137.    self.storage.save(prefixed_path, source_file)
  5138.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5139.    return self._save(name, content)
  5140.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5141.    os.makedirs(directory)
  5142.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5143.    makedirs(head, exist_ok=exist_ok)
  5144.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5145.    mkdir(name, mode)
  5146. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5147. Operations to perform:
  5148.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5149. Running migrations:
  5150.  No migrations to apply.
  5151. Traceback (most recent call last):
  5152.  File "manage.py", line 22, in <module>
  5153.    execute_from_command_line(sys.argv)
  5154.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5155.    utility.execute()
  5156.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5157.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5158.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5159.    self.execute(*args, **cmd_options)
  5160.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5161.    output = self.handle(*args, **options)
  5162.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5163.    collected = self.collect()
  5164.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5165.    handler(path, prefixed_path, storage)
  5166.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5167.    self.storage.save(prefixed_path, source_file)
  5168.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5169.    return self._save(name, content)
  5170.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5171.    os.makedirs(directory)
  5172.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5173.    makedirs(head, exist_ok=exist_ok)
  5174.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5175.    mkdir(name, mode)
  5176. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5177. Operations to perform:
  5178.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5179. Running migrations:
  5180.  No migrations to apply.
  5181. Traceback (most recent call last):
  5182.  File "manage.py", line 22, in <module>
  5183.    execute_from_command_line(sys.argv)
  5184.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5185.    utility.execute()
  5186.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5187.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5188.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5189.    self.execute(*args, **cmd_options)
  5190.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5191.    output = self.handle(*args, **options)
  5192.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5193.    collected = self.collect()
  5194.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5195.    handler(path, prefixed_path, storage)
  5196.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5197.    self.storage.save(prefixed_path, source_file)
  5198.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5199.    return self._save(name, content)
  5200.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5201.    os.makedirs(directory)
  5202.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5203.    makedirs(head, exist_ok=exist_ok)
  5204.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5205.    mkdir(name, mode)
  5206. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5207. Operations to perform:
  5208.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5209. Running migrations:
  5210.  No migrations to apply.
  5211. Traceback (most recent call last):
  5212.  File "manage.py", line 22, in <module>
  5213.    execute_from_command_line(sys.argv)
  5214.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5215.    utility.execute()
  5216.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5217.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5218.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5219.    self.execute(*args, **cmd_options)
  5220.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5221.    output = self.handle(*args, **options)
  5222.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5223.    collected = self.collect()
  5224.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5225.    handler(path, prefixed_path, storage)
  5226.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5227.    self.storage.save(prefixed_path, source_file)
  5228.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5229.    return self._save(name, content)
  5230.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5231.    os.makedirs(directory)
  5232.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5233.    makedirs(head, exist_ok=exist_ok)
  5234.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5235.    mkdir(name, mode)
  5236. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5237. Operations to perform:
  5238.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5239. Running migrations:
  5240.  No migrations to apply.
  5241.  
  5242. 122 static files copied to '/www/svh/static'.
  5243. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  5244. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  5245. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  5246. nodename: e4d497adcd96
  5247. machine: x86_64
  5248. clock source: unix
  5249. pcre jit disabled
  5250. detected number of CPU cores: 2
  5251. current working directory: /www/svh
  5252. detected binary path: /usr/local/bin/uwsgi
  5253. chdir() to /www/svh/
  5254. your memory page size is 4096 bytes
  5255. detected max file descriptor number: 1048576
  5256. lock engine: pthread robust mutexes
  5257. thunder lock: disabled (you can enable it with --thunder-lock)
  5258. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  5259. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  5260. *** Python threads support is disabled. You can enable it with --enable-threads ***
  5261. Python main interpreter initialized at 0x55d42852f120
  5262. your server socket listen backlog is limited to 100 connections
  5263. your mercy for graceful operations on workers is 60 seconds
  5264. mapped 291680 bytes (284 KB) for 3 cores
  5265. *** Operational MODE: preforking ***
  5266. ModuleNotFoundError: No module named 'wsgi'
  5267. unable to load app 0 (mountpoint='') (callable not found or import error)
  5268. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  5269. *** uWSGI is running in multiple interpreter mode ***
  5270. spawned uWSGI master process (pid: 1)
  5271. spawned uWSGI worker 1 (pid: 26, cores: 1)
  5272. spawned uWSGI worker 2 (pid: 27, cores: 1)
  5273. spawned uWSGI worker 3 (pid: 28, cores: 1)
  5274. [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)
  5275. [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)
  5276. [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)
  5277. [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)
  5278. [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)
  5279. [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)
  5280. [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)
  5281. [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)
  5282. [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)
  5283. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  5284. Traceback (most recent call last):
  5285.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  5286.    self.connect()
  5287.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  5288.    self.connection = self.get_new_connection(conn_params)
  5289.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  5290.    connection = Database.connect(**conn_params)
  5291.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  5292.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  5293. psycopg2.OperationalError: could not connect to server: Connection refused
  5294.     Is the server running on host "postgres" (172.18.0.2) and accepting
  5295.     TCP/IP connections on port 5432?
  5296.  
  5297.  
  5298. The above exception was the direct cause of the following exception:
  5299.  
  5300. Traceback (most recent call last):
  5301.  File "manage.py", line 22, in <module>
  5302.    execute_from_command_line(sys.argv)
  5303.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5304.    utility.execute()
  5305.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5306.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5307.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5308.    self.execute(*args, **cmd_options)
  5309.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5310.    output = self.handle(*args, **options)
  5311.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  5312.    res = handle_func(*args, **kwargs)
  5313.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  5314.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  5315.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  5316.    self.loader = MigrationLoader(self.connection)
  5317.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  5318.    self.build_graph()
  5319.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  5320.    self.applied_migrations = recorder.applied_migrations()
  5321.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  5322.    if self.has_table():
  5323.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  5324.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  5325.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  5326.    return self._cursor()
  5327.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  5328.    self.ensure_connection()
  5329.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  5330.    self.connect()
  5331.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  5332.    raise dj_exc_value.with_traceback(traceback) from exc_value
  5333.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  5334.    self.connect()
  5335.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  5336.    self.connection = self.get_new_connection(conn_params)
  5337.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  5338.    connection = Database.connect(**conn_params)
  5339.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  5340.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  5341. django.db.utils.OperationalError: could not connect to server: Connection refused
  5342.     Is the server running on host "postgres" (172.18.0.2) and accepting
  5343.     TCP/IP connections on port 5432?
  5344.  
  5345. Operations to perform:
  5346.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5347. Running migrations:
  5348.  Applying contenttypes.0001_initial... OK
  5349.  Applying auth.0001_initial... OK
  5350.  Applying admin.0001_initial... OK
  5351.  Applying admin.0002_logentry_remove_auto_add... OK
  5352.  Applying admin.0003_logentry_add_action_flag_choices... OK
  5353.  Applying contenttypes.0002_remove_content_type_name... OK
  5354.  Applying auth.0002_alter_permission_name_max_length... OK
  5355.  Applying auth.0003_alter_user_email_max_length... OK
  5356.  Applying auth.0004_alter_user_username_opts... OK
  5357.  Applying auth.0005_alter_user_last_login_null... OK
  5358.  Applying auth.0006_require_contenttypes_0002... OK
  5359.  Applying auth.0007_alter_validators_add_error_messages... OK
  5360.  Applying auth.0008_alter_user_username_max_length... OK
  5361.  Applying auth.0009_alter_user_last_name_max_length... OK
  5362.  Applying auth.0010_alter_group_name_max_length... OK
  5363.  Applying auth.0011_update_proxy_permissions... OK
  5364.  Applying sessions.0001_initial... OK
  5365.  Applying svh.0001_initial... OK
  5366.  Applying svh.0002_auto_20181009_1857... OK
  5367.  Applying svh.0003_auto_20190423_1835... OK
  5368.  Applying svh.0004_auto_20190424_1312... OK
  5369.  Applying svh.0005_auto_20190424_1313... OK
  5370.  Applying svh.0006_auto_20190424_1326... OK
  5371.  Applying svh.0007_auto_20190426_1704... OK
  5372.  Applying svh.0008_videosource_folder... OK
  5373.  Applying svh.0009_preview... OK
  5374.  Applying svh.0010_auto_20190521_1814... OK
  5375.  Applying svh.0011_auto_20190615_1717... OK
  5376.  Applying svh.0012_videosource_published... OK
  5377.  Applying svh.0013_videofolder_deleted... OK
  5378. Traceback (most recent call last):
  5379.  File "manage.py", line 22, in <module>
  5380.    execute_from_command_line(sys.argv)
  5381.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5382.    utility.execute()
  5383.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5384.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5385.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5386.    self.execute(*args, **cmd_options)
  5387.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5388.    output = self.handle(*args, **options)
  5389.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5390.    collected = self.collect()
  5391.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5392.    handler(path, prefixed_path, storage)
  5393.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5394.    self.storage.save(prefixed_path, source_file)
  5395.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5396.    return self._save(name, content)
  5397.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5398.    os.makedirs(directory)
  5399.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5400.    makedirs(head, exist_ok=exist_ok)
  5401.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5402.    mkdir(name, mode)
  5403. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5404. Operations to perform:
  5405.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5406. Running migrations:
  5407.  No migrations to apply.
  5408. Traceback (most recent call last):
  5409.  File "manage.py", line 22, in <module>
  5410.    execute_from_command_line(sys.argv)
  5411.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5412.    utility.execute()
  5413.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5414.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5415.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5416.    self.execute(*args, **cmd_options)
  5417.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5418.    output = self.handle(*args, **options)
  5419.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5420.    collected = self.collect()
  5421.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5422.    handler(path, prefixed_path, storage)
  5423.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5424.    self.storage.save(prefixed_path, source_file)
  5425.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5426.    return self._save(name, content)
  5427.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5428.    os.makedirs(directory)
  5429.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5430.    makedirs(head, exist_ok=exist_ok)
  5431.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5432.    mkdir(name, mode)
  5433. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5434. Operations to perform:
  5435.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5436. Running migrations:
  5437.  No migrations to apply.
  5438. Traceback (most recent call last):
  5439.  File "manage.py", line 22, in <module>
  5440.    execute_from_command_line(sys.argv)
  5441.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5442.    utility.execute()
  5443.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5444.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5445.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5446.    self.execute(*args, **cmd_options)
  5447.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5448.    output = self.handle(*args, **options)
  5449.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5450.    collected = self.collect()
  5451.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5452.    handler(path, prefixed_path, storage)
  5453.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5454.    self.storage.save(prefixed_path, source_file)
  5455.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5456.    return self._save(name, content)
  5457.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5458.    os.makedirs(directory)
  5459.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5460.    makedirs(head, exist_ok=exist_ok)
  5461.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5462.    mkdir(name, mode)
  5463. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5464. Operations to perform:
  5465.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5466. Running migrations:
  5467.  No migrations to apply.
  5468. Traceback (most recent call last):
  5469.  File "manage.py", line 22, in <module>
  5470.    execute_from_command_line(sys.argv)
  5471.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5472.    utility.execute()
  5473.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5474.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5475.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5476.    self.execute(*args, **cmd_options)
  5477.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5478.    output = self.handle(*args, **options)
  5479.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5480.    collected = self.collect()
  5481.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5482.    handler(path, prefixed_path, storage)
  5483.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5484.    self.storage.save(prefixed_path, source_file)
  5485.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5486.    return self._save(name, content)
  5487.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5488.    os.makedirs(directory)
  5489.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5490.    makedirs(head, exist_ok=exist_ok)
  5491.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5492.    mkdir(name, mode)
  5493. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5494. Operations to perform:
  5495.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5496. Running migrations:
  5497.  No migrations to apply.
  5498. Traceback (most recent call last):
  5499.  File "manage.py", line 22, in <module>
  5500.    execute_from_command_line(sys.argv)
  5501.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5502.    utility.execute()
  5503.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5504.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5505.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5506.    self.execute(*args, **cmd_options)
  5507.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5508.    output = self.handle(*args, **options)
  5509.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5510.    collected = self.collect()
  5511.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5512.    handler(path, prefixed_path, storage)
  5513.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5514.    self.storage.save(prefixed_path, source_file)
  5515.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5516.    return self._save(name, content)
  5517.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5518.    os.makedirs(directory)
  5519.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5520.    makedirs(head, exist_ok=exist_ok)
  5521.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5522.    mkdir(name, mode)
  5523. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5524. Operations to perform:
  5525.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5526. Running migrations:
  5527.  No migrations to apply.
  5528. Traceback (most recent call last):
  5529.  File "manage.py", line 22, in <module>
  5530.    execute_from_command_line(sys.argv)
  5531.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5532.    utility.execute()
  5533.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5534.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5535.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5536.    self.execute(*args, **cmd_options)
  5537.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5538.    output = self.handle(*args, **options)
  5539.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5540.    collected = self.collect()
  5541.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5542.    handler(path, prefixed_path, storage)
  5543.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5544.    self.storage.save(prefixed_path, source_file)
  5545.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5546.    return self._save(name, content)
  5547.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5548.    os.makedirs(directory)
  5549.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5550.    makedirs(head, exist_ok=exist_ok)
  5551.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5552.    mkdir(name, mode)
  5553. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5554. Operations to perform:
  5555.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5556. Running migrations:
  5557.  No migrations to apply.
  5558. Traceback (most recent call last):
  5559.  File "manage.py", line 22, in <module>
  5560.    execute_from_command_line(sys.argv)
  5561.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5562.    utility.execute()
  5563.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5564.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5565.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5566.    self.execute(*args, **cmd_options)
  5567.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5568.    output = self.handle(*args, **options)
  5569.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5570.    collected = self.collect()
  5571.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5572.    handler(path, prefixed_path, storage)
  5573.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5574.    self.storage.save(prefixed_path, source_file)
  5575.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5576.    return self._save(name, content)
  5577.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5578.    os.makedirs(directory)
  5579.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5580.    makedirs(head, exist_ok=exist_ok)
  5581.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5582.    mkdir(name, mode)
  5583. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5584. Operations to perform:
  5585.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5586. Running migrations:
  5587.  No migrations to apply.
  5588. Traceback (most recent call last):
  5589.  File "manage.py", line 22, in <module>
  5590.    execute_from_command_line(sys.argv)
  5591.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5592.    utility.execute()
  5593.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5594.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5595.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5596.    self.execute(*args, **cmd_options)
  5597.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5598.    output = self.handle(*args, **options)
  5599.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5600.    collected = self.collect()
  5601.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5602.    handler(path, prefixed_path, storage)
  5603.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5604.    self.storage.save(prefixed_path, source_file)
  5605.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5606.    return self._save(name, content)
  5607.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5608.    os.makedirs(directory)
  5609.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5610.    makedirs(head, exist_ok=exist_ok)
  5611.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5612.    mkdir(name, mode)
  5613. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5614. Operations to perform:
  5615.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5616. Running migrations:
  5617.  No migrations to apply.
  5618. Traceback (most recent call last):
  5619.  File "manage.py", line 22, in <module>
  5620.    execute_from_command_line(sys.argv)
  5621.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5622.    utility.execute()
  5623.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5624.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5625.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5626.    self.execute(*args, **cmd_options)
  5627.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5628.    output = self.handle(*args, **options)
  5629.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5630.    collected = self.collect()
  5631.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5632.    handler(path, prefixed_path, storage)
  5633.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5634.    self.storage.save(prefixed_path, source_file)
  5635.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5636.    return self._save(name, content)
  5637.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5638.    os.makedirs(directory)
  5639.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5640.    makedirs(head, exist_ok=exist_ok)
  5641.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5642.    mkdir(name, mode)
  5643. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5644. Operations to perform:
  5645.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5646. Running migrations:
  5647.  No migrations to apply.
  5648. Traceback (most recent call last):
  5649.  File "manage.py", line 22, in <module>
  5650.    execute_from_command_line(sys.argv)
  5651.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5652.    utility.execute()
  5653.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5654.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5655.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5656.    self.execute(*args, **cmd_options)
  5657.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5658.    output = self.handle(*args, **options)
  5659.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5660.    collected = self.collect()
  5661.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5662.    handler(path, prefixed_path, storage)
  5663.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5664.    self.storage.save(prefixed_path, source_file)
  5665.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5666.    return self._save(name, content)
  5667.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5668.    os.makedirs(directory)
  5669.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5670.    makedirs(head, exist_ok=exist_ok)
  5671.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5672.    mkdir(name, mode)
  5673. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5674. Operations to perform:
  5675.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5676. Running migrations:
  5677.  No migrations to apply.
  5678. Traceback (most recent call last):
  5679.  File "manage.py", line 22, in <module>
  5680.    execute_from_command_line(sys.argv)
  5681.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5682.    utility.execute()
  5683.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5684.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5685.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5686.    self.execute(*args, **cmd_options)
  5687.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5688.    output = self.handle(*args, **options)
  5689.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5690.    collected = self.collect()
  5691.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5692.    handler(path, prefixed_path, storage)
  5693.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5694.    self.storage.save(prefixed_path, source_file)
  5695.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5696.    return self._save(name, content)
  5697.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5698.    os.makedirs(directory)
  5699.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5700.    makedirs(head, exist_ok=exist_ok)
  5701.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5702.    mkdir(name, mode)
  5703. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5704. Operations to perform:
  5705.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5706. Running migrations:
  5707.  No migrations to apply.
  5708.  
  5709. 122 static files copied to '/www/svh/static'.
  5710. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  5711. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  5712. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  5713. nodename: e4d497adcd96
  5714. machine: x86_64
  5715. clock source: unix
  5716. pcre jit disabled
  5717. detected number of CPU cores: 2
  5718. current working directory: /www/svh
  5719. detected binary path: /usr/local/bin/uwsgi
  5720. chdir() to /www/svh/
  5721. your memory page size is 4096 bytes
  5722. detected max file descriptor number: 1048576
  5723. lock engine: pthread robust mutexes
  5724. thunder lock: disabled (you can enable it with --thunder-lock)
  5725. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  5726. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  5727. *** Python threads support is disabled. You can enable it with --enable-threads ***
  5728. Python main interpreter initialized at 0x55d42852f120
  5729. your server socket listen backlog is limited to 100 connections
  5730. your mercy for graceful operations on workers is 60 seconds
  5731. mapped 291680 bytes (284 KB) for 3 cores
  5732. *** Operational MODE: preforking ***
  5733. ModuleNotFoundError: No module named 'wsgi'
  5734. unable to load app 0 (mountpoint='') (callable not found or import error)
  5735. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  5736. *** uWSGI is running in multiple interpreter mode ***
  5737. spawned uWSGI master process (pid: 1)
  5738. spawned uWSGI worker 1 (pid: 26, cores: 1)
  5739. spawned uWSGI worker 2 (pid: 27, cores: 1)
  5740. spawned uWSGI worker 3 (pid: 28, cores: 1)
  5741. [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)
  5742. [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)
  5743. [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)
  5744. [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)
  5745. [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)
  5746. [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)
  5747. [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)
  5748. [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)
  5749. [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)
  5750. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  5751. Traceback (most recent call last):
  5752.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  5753.    self.connect()
  5754.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  5755.    self.connection = self.get_new_connection(conn_params)
  5756.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  5757.    connection = Database.connect(**conn_params)
  5758.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  5759.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  5760. psycopg2.OperationalError: could not connect to server: Connection refused
  5761.     Is the server running on host "postgres" (172.18.0.2) and accepting
  5762.     TCP/IP connections on port 5432?
  5763.  
  5764.  
  5765. The above exception was the direct cause of the following exception:
  5766.  
  5767. Traceback (most recent call last):
  5768.  File "manage.py", line 22, in <module>
  5769.    execute_from_command_line(sys.argv)
  5770.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5771.    utility.execute()
  5772.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5773.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5774.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5775.    self.execute(*args, **cmd_options)
  5776.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5777.    output = self.handle(*args, **options)
  5778.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  5779.    res = handle_func(*args, **kwargs)
  5780.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  5781.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  5782.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  5783.    self.loader = MigrationLoader(self.connection)
  5784.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  5785.    self.build_graph()
  5786.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  5787.    self.applied_migrations = recorder.applied_migrations()
  5788.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  5789.    if self.has_table():
  5790.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  5791.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  5792.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  5793.    return self._cursor()
  5794.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  5795.    self.ensure_connection()
  5796.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  5797.    self.connect()
  5798.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  5799.    raise dj_exc_value.with_traceback(traceback) from exc_value
  5800.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  5801.    self.connect()
  5802.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  5803.    self.connection = self.get_new_connection(conn_params)
  5804.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  5805.    connection = Database.connect(**conn_params)
  5806.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  5807.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  5808. django.db.utils.OperationalError: could not connect to server: Connection refused
  5809.     Is the server running on host "postgres" (172.18.0.2) and accepting
  5810.     TCP/IP connections on port 5432?
  5811.  
  5812. Operations to perform:
  5813.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5814. Running migrations:
  5815.  Applying contenttypes.0001_initial... OK
  5816.  Applying auth.0001_initial... OK
  5817.  Applying admin.0001_initial... OK
  5818.  Applying admin.0002_logentry_remove_auto_add... OK
  5819.  Applying admin.0003_logentry_add_action_flag_choices... OK
  5820.  Applying contenttypes.0002_remove_content_type_name... OK
  5821.  Applying auth.0002_alter_permission_name_max_length... OK
  5822.  Applying auth.0003_alter_user_email_max_length... OK
  5823.  Applying auth.0004_alter_user_username_opts... OK
  5824.  Applying auth.0005_alter_user_last_login_null... OK
  5825.  Applying auth.0006_require_contenttypes_0002... OK
  5826.  Applying auth.0007_alter_validators_add_error_messages... OK
  5827.  Applying auth.0008_alter_user_username_max_length... OK
  5828.  Applying auth.0009_alter_user_last_name_max_length... OK
  5829.  Applying auth.0010_alter_group_name_max_length... OK
  5830.  Applying auth.0011_update_proxy_permissions... OK
  5831.  Applying sessions.0001_initial... OK
  5832.  Applying svh.0001_initial... OK
  5833.  Applying svh.0002_auto_20181009_1857... OK
  5834.  Applying svh.0003_auto_20190423_1835... OK
  5835.  Applying svh.0004_auto_20190424_1312... OK
  5836.  Applying svh.0005_auto_20190424_1313... OK
  5837.  Applying svh.0006_auto_20190424_1326... OK
  5838.  Applying svh.0007_auto_20190426_1704... OK
  5839.  Applying svh.0008_videosource_folder... OK
  5840.  Applying svh.0009_preview... OK
  5841.  Applying svh.0010_auto_20190521_1814... OK
  5842.  Applying svh.0011_auto_20190615_1717... OK
  5843.  Applying svh.0012_videosource_published... OK
  5844.  Applying svh.0013_videofolder_deleted... OK
  5845. Traceback (most recent call last):
  5846.  File "manage.py", line 22, in <module>
  5847.    execute_from_command_line(sys.argv)
  5848.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5849.    utility.execute()
  5850.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5851.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5852.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5853.    self.execute(*args, **cmd_options)
  5854.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5855.    output = self.handle(*args, **options)
  5856.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5857.    collected = self.collect()
  5858.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5859.    handler(path, prefixed_path, storage)
  5860.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5861.    self.storage.save(prefixed_path, source_file)
  5862.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5863.    return self._save(name, content)
  5864.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5865.    os.makedirs(directory)
  5866.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5867.    makedirs(head, exist_ok=exist_ok)
  5868.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5869.    mkdir(name, mode)
  5870. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5871. Operations to perform:
  5872.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5873. Running migrations:
  5874.  No migrations to apply.
  5875. Traceback (most recent call last):
  5876.  File "manage.py", line 22, in <module>
  5877.    execute_from_command_line(sys.argv)
  5878.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5879.    utility.execute()
  5880.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5881.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5882.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5883.    self.execute(*args, **cmd_options)
  5884.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5885.    output = self.handle(*args, **options)
  5886.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5887.    collected = self.collect()
  5888.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5889.    handler(path, prefixed_path, storage)
  5890.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5891.    self.storage.save(prefixed_path, source_file)
  5892.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5893.    return self._save(name, content)
  5894.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5895.    os.makedirs(directory)
  5896.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5897.    makedirs(head, exist_ok=exist_ok)
  5898.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5899.    mkdir(name, mode)
  5900. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5901. Operations to perform:
  5902.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5903. Running migrations:
  5904.  No migrations to apply.
  5905. Traceback (most recent call last):
  5906.  File "manage.py", line 22, in <module>
  5907.    execute_from_command_line(sys.argv)
  5908.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5909.    utility.execute()
  5910.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5911.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5912.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5913.    self.execute(*args, **cmd_options)
  5914.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5915.    output = self.handle(*args, **options)
  5916.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5917.    collected = self.collect()
  5918.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5919.    handler(path, prefixed_path, storage)
  5920.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5921.    self.storage.save(prefixed_path, source_file)
  5922.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5923.    return self._save(name, content)
  5924.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5925.    os.makedirs(directory)
  5926.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5927.    makedirs(head, exist_ok=exist_ok)
  5928.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5929.    mkdir(name, mode)
  5930. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5931. Operations to perform:
  5932.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5933. Running migrations:
  5934.  No migrations to apply.
  5935. Traceback (most recent call last):
  5936.  File "manage.py", line 22, in <module>
  5937.    execute_from_command_line(sys.argv)
  5938.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5939.    utility.execute()
  5940.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5941.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5942.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5943.    self.execute(*args, **cmd_options)
  5944.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5945.    output = self.handle(*args, **options)
  5946.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5947.    collected = self.collect()
  5948.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5949.    handler(path, prefixed_path, storage)
  5950.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5951.    self.storage.save(prefixed_path, source_file)
  5952.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5953.    return self._save(name, content)
  5954.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5955.    os.makedirs(directory)
  5956.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5957.    makedirs(head, exist_ok=exist_ok)
  5958.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5959.    mkdir(name, mode)
  5960. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5961. Operations to perform:
  5962.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5963. Running migrations:
  5964.  No migrations to apply.
  5965. Traceback (most recent call last):
  5966.  File "manage.py", line 22, in <module>
  5967.    execute_from_command_line(sys.argv)
  5968.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5969.    utility.execute()
  5970.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  5971.    self.fetch_command(subcommand).run_from_argv(self.argv)
  5972.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  5973.    self.execute(*args, **cmd_options)
  5974.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  5975.    output = self.handle(*args, **options)
  5976.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  5977.    collected = self.collect()
  5978.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  5979.    handler(path, prefixed_path, storage)
  5980.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  5981.    self.storage.save(prefixed_path, source_file)
  5982.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  5983.    return self._save(name, content)
  5984.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  5985.    os.makedirs(directory)
  5986.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  5987.    makedirs(head, exist_ok=exist_ok)
  5988.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  5989.    mkdir(name, mode)
  5990. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  5991. Operations to perform:
  5992.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  5993. Running migrations:
  5994.  No migrations to apply.
  5995. Traceback (most recent call last):
  5996.  File "manage.py", line 22, in <module>
  5997.    execute_from_command_line(sys.argv)
  5998.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5999.    utility.execute()
  6000.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6001.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6002.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6003.    self.execute(*args, **cmd_options)
  6004.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6005.    output = self.handle(*args, **options)
  6006.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6007.    collected = self.collect()
  6008.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6009.    handler(path, prefixed_path, storage)
  6010.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6011.    self.storage.save(prefixed_path, source_file)
  6012.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6013.    return self._save(name, content)
  6014.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6015.    os.makedirs(directory)
  6016.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6017.    makedirs(head, exist_ok=exist_ok)
  6018.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6019.    mkdir(name, mode)
  6020. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6021. Operations to perform:
  6022.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6023. Running migrations:
  6024.  No migrations to apply.
  6025. Traceback (most recent call last):
  6026.  File "manage.py", line 22, in <module>
  6027.    execute_from_command_line(sys.argv)
  6028.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6029.    utility.execute()
  6030.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6031.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6032.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6033.    self.execute(*args, **cmd_options)
  6034.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6035.    output = self.handle(*args, **options)
  6036.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6037.    collected = self.collect()
  6038.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6039.    handler(path, prefixed_path, storage)
  6040.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6041.    self.storage.save(prefixed_path, source_file)
  6042.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6043.    return self._save(name, content)
  6044.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6045.    os.makedirs(directory)
  6046.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6047.    makedirs(head, exist_ok=exist_ok)
  6048.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6049.    mkdir(name, mode)
  6050. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6051. Operations to perform:
  6052.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6053. Running migrations:
  6054.  No migrations to apply.
  6055. Traceback (most recent call last):
  6056.  File "manage.py", line 22, in <module>
  6057.    execute_from_command_line(sys.argv)
  6058.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6059.    utility.execute()
  6060.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6061.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6062.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6063.    self.execute(*args, **cmd_options)
  6064.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6065.    output = self.handle(*args, **options)
  6066.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6067.    collected = self.collect()
  6068.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6069.    handler(path, prefixed_path, storage)
  6070.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6071.    self.storage.save(prefixed_path, source_file)
  6072.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6073.    return self._save(name, content)
  6074.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6075.    os.makedirs(directory)
  6076.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6077.    makedirs(head, exist_ok=exist_ok)
  6078.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6079.    mkdir(name, mode)
  6080. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6081. Operations to perform:
  6082.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6083. Running migrations:
  6084.  No migrations to apply.
  6085. Traceback (most recent call last):
  6086.  File "manage.py", line 22, in <module>
  6087.    execute_from_command_line(sys.argv)
  6088.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6089.    utility.execute()
  6090.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6091.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6092.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6093.    self.execute(*args, **cmd_options)
  6094.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6095.    output = self.handle(*args, **options)
  6096.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6097.    collected = self.collect()
  6098.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6099.    handler(path, prefixed_path, storage)
  6100.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6101.    self.storage.save(prefixed_path, source_file)
  6102.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6103.    return self._save(name, content)
  6104.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6105.    os.makedirs(directory)
  6106.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6107.    makedirs(head, exist_ok=exist_ok)
  6108.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6109.    mkdir(name, mode)
  6110. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6111. Operations to perform:
  6112.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6113. Running migrations:
  6114.  No migrations to apply.
  6115. Traceback (most recent call last):
  6116.  File "manage.py", line 22, in <module>
  6117.    execute_from_command_line(sys.argv)
  6118.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6119.    utility.execute()
  6120.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6121.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6122.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6123.    self.execute(*args, **cmd_options)
  6124.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6125.    output = self.handle(*args, **options)
  6126.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6127.    collected = self.collect()
  6128.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6129.    handler(path, prefixed_path, storage)
  6130.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6131.    self.storage.save(prefixed_path, source_file)
  6132.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6133.    return self._save(name, content)
  6134.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6135.    os.makedirs(directory)
  6136.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6137.    makedirs(head, exist_ok=exist_ok)
  6138.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6139.    mkdir(name, mode)
  6140. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6141. Operations to perform:
  6142.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6143. Running migrations:
  6144.  No migrations to apply.
  6145. Traceback (most recent call last):
  6146.  File "manage.py", line 22, in <module>
  6147.    execute_from_command_line(sys.argv)
  6148.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6149.    utility.execute()
  6150.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6151.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6152.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6153.    self.execute(*args, **cmd_options)
  6154.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6155.    output = self.handle(*args, **options)
  6156.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6157.    collected = self.collect()
  6158.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6159.    handler(path, prefixed_path, storage)
  6160.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6161.    self.storage.save(prefixed_path, source_file)
  6162.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6163.    return self._save(name, content)
  6164.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6165.    os.makedirs(directory)
  6166.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6167.    makedirs(head, exist_ok=exist_ok)
  6168.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6169.    mkdir(name, mode)
  6170. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6171. Operations to perform:
  6172.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6173. Running migrations:
  6174.  No migrations to apply.
  6175.  
  6176. 122 static files copied to '/www/svh/static'.
  6177. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  6178. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  6179. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  6180. nodename: e4d497adcd96
  6181. machine: x86_64
  6182. clock source: unix
  6183. pcre jit disabled
  6184. detected number of CPU cores: 2
  6185. current working directory: /www/svh
  6186. detected binary path: /usr/local/bin/uwsgi
  6187. chdir() to /www/svh/
  6188. your memory page size is 4096 bytes
  6189. detected max file descriptor number: 1048576
  6190. lock engine: pthread robust mutexes
  6191. thunder lock: disabled (you can enable it with --thunder-lock)
  6192. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  6193. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  6194. *** Python threads support is disabled. You can enable it with --enable-threads ***
  6195. Python main interpreter initialized at 0x55d42852f120
  6196. your server socket listen backlog is limited to 100 connections
  6197. your mercy for graceful operations on workers is 60 seconds
  6198. mapped 291680 bytes (284 KB) for 3 cores
  6199. *** Operational MODE: preforking ***
  6200. ModuleNotFoundError: No module named 'wsgi'
  6201. unable to load app 0 (mountpoint='') (callable not found or import error)
  6202. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  6203. *** uWSGI is running in multiple interpreter mode ***
  6204. spawned uWSGI master process (pid: 1)
  6205. spawned uWSGI worker 1 (pid: 26, cores: 1)
  6206. spawned uWSGI worker 2 (pid: 27, cores: 1)
  6207. spawned uWSGI worker 3 (pid: 28, cores: 1)
  6208. [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)
  6209. [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)
  6210. [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)
  6211. [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)
  6212. [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)
  6213. [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)
  6214. [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)
  6215. [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)
  6216. [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)
  6217. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  6218. Traceback (most recent call last):
  6219.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  6220.    self.connect()
  6221.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  6222.    self.connection = self.get_new_connection(conn_params)
  6223.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  6224.    connection = Database.connect(**conn_params)
  6225.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  6226.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  6227. psycopg2.OperationalError: could not connect to server: Connection refused
  6228.     Is the server running on host "postgres" (172.18.0.2) and accepting
  6229.     TCP/IP connections on port 5432?
  6230.  
  6231.  
  6232. The above exception was the direct cause of the following exception:
  6233.  
  6234. Traceback (most recent call last):
  6235.  File "manage.py", line 22, in <module>
  6236.    execute_from_command_line(sys.argv)
  6237.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6238.    utility.execute()
  6239.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6240.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6241.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6242.    self.execute(*args, **cmd_options)
  6243.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6244.    output = self.handle(*args, **options)
  6245.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  6246.    res = handle_func(*args, **kwargs)
  6247.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  6248.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  6249.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  6250.    self.loader = MigrationLoader(self.connection)
  6251.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  6252.    self.build_graph()
  6253.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  6254.    self.applied_migrations = recorder.applied_migrations()
  6255.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  6256.    if self.has_table():
  6257.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  6258.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  6259.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  6260.    return self._cursor()
  6261.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  6262.    self.ensure_connection()
  6263.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  6264.    self.connect()
  6265.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  6266.    raise dj_exc_value.with_traceback(traceback) from exc_value
  6267.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  6268.    self.connect()
  6269.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  6270.    self.connection = self.get_new_connection(conn_params)
  6271.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  6272.    connection = Database.connect(**conn_params)
  6273.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  6274.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  6275. django.db.utils.OperationalError: could not connect to server: Connection refused
  6276.     Is the server running on host "postgres" (172.18.0.2) and accepting
  6277.     TCP/IP connections on port 5432?
  6278.  
  6279. Operations to perform:
  6280.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6281. Running migrations:
  6282.  Applying contenttypes.0001_initial... OK
  6283.  Applying auth.0001_initial... OK
  6284.  Applying admin.0001_initial... OK
  6285.  Applying admin.0002_logentry_remove_auto_add... OK
  6286.  Applying admin.0003_logentry_add_action_flag_choices... OK
  6287.  Applying contenttypes.0002_remove_content_type_name... OK
  6288.  Applying auth.0002_alter_permission_name_max_length... OK
  6289.  Applying auth.0003_alter_user_email_max_length... OK
  6290.  Applying auth.0004_alter_user_username_opts... OK
  6291.  Applying auth.0005_alter_user_last_login_null... OK
  6292.  Applying auth.0006_require_contenttypes_0002... OK
  6293.  Applying auth.0007_alter_validators_add_error_messages... OK
  6294.  Applying auth.0008_alter_user_username_max_length... OK
  6295.  Applying auth.0009_alter_user_last_name_max_length... OK
  6296.  Applying auth.0010_alter_group_name_max_length... OK
  6297.  Applying auth.0011_update_proxy_permissions... OK
  6298.  Applying sessions.0001_initial... OK
  6299.  Applying svh.0001_initial... OK
  6300.  Applying svh.0002_auto_20181009_1857... OK
  6301.  Applying svh.0003_auto_20190423_1835... OK
  6302.  Applying svh.0004_auto_20190424_1312... OK
  6303.  Applying svh.0005_auto_20190424_1313... OK
  6304.  Applying svh.0006_auto_20190424_1326... OK
  6305.  Applying svh.0007_auto_20190426_1704... OK
  6306.  Applying svh.0008_videosource_folder... OK
  6307.  Applying svh.0009_preview... OK
  6308.  Applying svh.0010_auto_20190521_1814... OK
  6309.  Applying svh.0011_auto_20190615_1717... OK
  6310.  Applying svh.0012_videosource_published... OK
  6311.  Applying svh.0013_videofolder_deleted... OK
  6312. Traceback (most recent call last):
  6313.  File "manage.py", line 22, in <module>
  6314.    execute_from_command_line(sys.argv)
  6315.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6316.    utility.execute()
  6317.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6318.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6319.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6320.    self.execute(*args, **cmd_options)
  6321.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6322.    output = self.handle(*args, **options)
  6323.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6324.    collected = self.collect()
  6325.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6326.    handler(path, prefixed_path, storage)
  6327.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6328.    self.storage.save(prefixed_path, source_file)
  6329.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6330.    return self._save(name, content)
  6331.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6332.    os.makedirs(directory)
  6333.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6334.    makedirs(head, exist_ok=exist_ok)
  6335.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6336.    mkdir(name, mode)
  6337. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6338. Operations to perform:
  6339.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6340. Running migrations:
  6341.  No migrations to apply.
  6342. Traceback (most recent call last):
  6343.  File "manage.py", line 22, in <module>
  6344.    execute_from_command_line(sys.argv)
  6345.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6346.    utility.execute()
  6347.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6348.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6349.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6350.    self.execute(*args, **cmd_options)
  6351.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6352.    output = self.handle(*args, **options)
  6353.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6354.    collected = self.collect()
  6355.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6356.    handler(path, prefixed_path, storage)
  6357.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6358.    self.storage.save(prefixed_path, source_file)
  6359.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6360.    return self._save(name, content)
  6361.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6362.    os.makedirs(directory)
  6363.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6364.    makedirs(head, exist_ok=exist_ok)
  6365.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6366.    mkdir(name, mode)
  6367. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6368. Operations to perform:
  6369.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6370. Running migrations:
  6371.  No migrations to apply.
  6372. Traceback (most recent call last):
  6373.  File "manage.py", line 22, in <module>
  6374.    execute_from_command_line(sys.argv)
  6375.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6376.    utility.execute()
  6377.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6378.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6379.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6380.    self.execute(*args, **cmd_options)
  6381.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6382.    output = self.handle(*args, **options)
  6383.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6384.    collected = self.collect()
  6385.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6386.    handler(path, prefixed_path, storage)
  6387.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6388.    self.storage.save(prefixed_path, source_file)
  6389.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6390.    return self._save(name, content)
  6391.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6392.    os.makedirs(directory)
  6393.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6394.    makedirs(head, exist_ok=exist_ok)
  6395.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6396.    mkdir(name, mode)
  6397. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6398. Operations to perform:
  6399.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6400. Running migrations:
  6401.  No migrations to apply.
  6402. Traceback (most recent call last):
  6403.  File "manage.py", line 22, in <module>
  6404.    execute_from_command_line(sys.argv)
  6405.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6406.    utility.execute()
  6407.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6408.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6409.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6410.    self.execute(*args, **cmd_options)
  6411.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6412.    output = self.handle(*args, **options)
  6413.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6414.    collected = self.collect()
  6415.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6416.    handler(path, prefixed_path, storage)
  6417.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6418.    self.storage.save(prefixed_path, source_file)
  6419.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6420.    return self._save(name, content)
  6421.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6422.    os.makedirs(directory)
  6423.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6424.    makedirs(head, exist_ok=exist_ok)
  6425.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6426.    mkdir(name, mode)
  6427. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6428. Operations to perform:
  6429.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6430. Running migrations:
  6431.  No migrations to apply.
  6432. Traceback (most recent call last):
  6433.  File "manage.py", line 22, in <module>
  6434.    execute_from_command_line(sys.argv)
  6435.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6436.    utility.execute()
  6437.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6438.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6439.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6440.    self.execute(*args, **cmd_options)
  6441.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6442.    output = self.handle(*args, **options)
  6443.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6444.    collected = self.collect()
  6445.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6446.    handler(path, prefixed_path, storage)
  6447.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6448.    self.storage.save(prefixed_path, source_file)
  6449.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6450.    return self._save(name, content)
  6451.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6452.    os.makedirs(directory)
  6453.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6454.    makedirs(head, exist_ok=exist_ok)
  6455.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6456.    mkdir(name, mode)
  6457. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6458. Operations to perform:
  6459.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6460. Running migrations:
  6461.  No migrations to apply.
  6462. Traceback (most recent call last):
  6463.  File "manage.py", line 22, in <module>
  6464.    execute_from_command_line(sys.argv)
  6465.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6466.    utility.execute()
  6467.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6468.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6469.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6470.    self.execute(*args, **cmd_options)
  6471.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6472.    output = self.handle(*args, **options)
  6473.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6474.    collected = self.collect()
  6475.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6476.    handler(path, prefixed_path, storage)
  6477.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6478.    self.storage.save(prefixed_path, source_file)
  6479.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6480.    return self._save(name, content)
  6481.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6482.    os.makedirs(directory)
  6483.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6484.    makedirs(head, exist_ok=exist_ok)
  6485.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6486.    mkdir(name, mode)
  6487. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6488. Operations to perform:
  6489.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6490. Running migrations:
  6491.  No migrations to apply.
  6492. Traceback (most recent call last):
  6493.  File "manage.py", line 22, in <module>
  6494.    execute_from_command_line(sys.argv)
  6495.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6496.    utility.execute()
  6497.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6498.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6499.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6500.    self.execute(*args, **cmd_options)
  6501.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6502.    output = self.handle(*args, **options)
  6503.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6504.    collected = self.collect()
  6505.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6506.    handler(path, prefixed_path, storage)
  6507.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6508.    self.storage.save(prefixed_path, source_file)
  6509.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6510.    return self._save(name, content)
  6511.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6512.    os.makedirs(directory)
  6513.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6514.    makedirs(head, exist_ok=exist_ok)
  6515.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6516.    mkdir(name, mode)
  6517. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6518. Operations to perform:
  6519.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6520. Running migrations:
  6521.  No migrations to apply.
  6522. Traceback (most recent call last):
  6523.  File "manage.py", line 22, in <module>
  6524.    execute_from_command_line(sys.argv)
  6525.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6526.    utility.execute()
  6527.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6528.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6529.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6530.    self.execute(*args, **cmd_options)
  6531.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6532.    output = self.handle(*args, **options)
  6533.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6534.    collected = self.collect()
  6535.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6536.    handler(path, prefixed_path, storage)
  6537.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6538.    self.storage.save(prefixed_path, source_file)
  6539.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6540.    return self._save(name, content)
  6541.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6542.    os.makedirs(directory)
  6543.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6544.    makedirs(head, exist_ok=exist_ok)
  6545.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6546.    mkdir(name, mode)
  6547. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6548. Operations to perform:
  6549.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6550. Running migrations:
  6551.  No migrations to apply.
  6552. Traceback (most recent call last):
  6553.  File "manage.py", line 22, in <module>
  6554.    execute_from_command_line(sys.argv)
  6555.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6556.    utility.execute()
  6557.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6558.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6559.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6560.    self.execute(*args, **cmd_options)
  6561.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6562.    output = self.handle(*args, **options)
  6563.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6564.    collected = self.collect()
  6565.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6566.    handler(path, prefixed_path, storage)
  6567.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6568.    self.storage.save(prefixed_path, source_file)
  6569.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6570.    return self._save(name, content)
  6571.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6572.    os.makedirs(directory)
  6573.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6574.    makedirs(head, exist_ok=exist_ok)
  6575.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6576.    mkdir(name, mode)
  6577. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6578. Operations to perform:
  6579.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6580. Running migrations:
  6581.  No migrations to apply.
  6582. Traceback (most recent call last):
  6583.  File "manage.py", line 22, in <module>
  6584.    execute_from_command_line(sys.argv)
  6585.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6586.    utility.execute()
  6587.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6588.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6589.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6590.    self.execute(*args, **cmd_options)
  6591.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6592.    output = self.handle(*args, **options)
  6593.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6594.    collected = self.collect()
  6595.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6596.    handler(path, prefixed_path, storage)
  6597.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6598.    self.storage.save(prefixed_path, source_file)
  6599.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6600.    return self._save(name, content)
  6601.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6602.    os.makedirs(directory)
  6603.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6604.    makedirs(head, exist_ok=exist_ok)
  6605.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6606.    mkdir(name, mode)
  6607. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6608. Operations to perform:
  6609.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6610. Running migrations:
  6611.  No migrations to apply.
  6612. Traceback (most recent call last):
  6613.  File "manage.py", line 22, in <module>
  6614.    execute_from_command_line(sys.argv)
  6615.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6616.    utility.execute()
  6617.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6618.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6619.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6620.    self.execute(*args, **cmd_options)
  6621.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6622.    output = self.handle(*args, **options)
  6623.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6624.    collected = self.collect()
  6625.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6626.    handler(path, prefixed_path, storage)
  6627.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6628.    self.storage.save(prefixed_path, source_file)
  6629.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6630.    return self._save(name, content)
  6631.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6632.    os.makedirs(directory)
  6633.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6634.    makedirs(head, exist_ok=exist_ok)
  6635.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6636.    mkdir(name, mode)
  6637. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6638. Operations to perform:
  6639.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6640. Running migrations:
  6641.  No migrations to apply.
  6642.  
  6643. 122 static files copied to '/www/svh/static'.
  6644. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  6645. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  6646. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  6647. nodename: e4d497adcd96
  6648. machine: x86_64
  6649. clock source: unix
  6650. pcre jit disabled
  6651. detected number of CPU cores: 2
  6652. current working directory: /www/svh
  6653. detected binary path: /usr/local/bin/uwsgi
  6654. chdir() to /www/svh/
  6655. your memory page size is 4096 bytes
  6656. detected max file descriptor number: 1048576
  6657. lock engine: pthread robust mutexes
  6658. thunder lock: disabled (you can enable it with --thunder-lock)
  6659. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  6660. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  6661. *** Python threads support is disabled. You can enable it with --enable-threads ***
  6662. Python main interpreter initialized at 0x55d42852f120
  6663. your server socket listen backlog is limited to 100 connections
  6664. your mercy for graceful operations on workers is 60 seconds
  6665. mapped 291680 bytes (284 KB) for 3 cores
  6666. *** Operational MODE: preforking ***
  6667. ModuleNotFoundError: No module named 'wsgi'
  6668. unable to load app 0 (mountpoint='') (callable not found or import error)
  6669. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  6670. *** uWSGI is running in multiple interpreter mode ***
  6671. spawned uWSGI master process (pid: 1)
  6672. spawned uWSGI worker 1 (pid: 26, cores: 1)
  6673. spawned uWSGI worker 2 (pid: 27, cores: 1)
  6674. spawned uWSGI worker 3 (pid: 28, cores: 1)
  6675. [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)
  6676. [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)
  6677. [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)
  6678. [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)
  6679. [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)
  6680. [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)
  6681. [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)
  6682. [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)
  6683. [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)
  6684. root@instance-1:/home/djbios# wget https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4 -o /www/svh/sources/
  6685. wget: /www/svh/sources/: Is a directory
  6686. root@instance-1:/home/djbios# wget https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4 -o /www/svh/sources/d
  6687. root@instance-1:/home/djbios# ls /www/svh/sources/
  6688. d  lost+found
  6689. root@instance-1:/home/djbios# mv /
  6690. bin/            home/           lib32/          media/          root/           srv/            var/
  6691. boot/           initrd.img      lib64/          mnt/            run/            sys/            vmlinuz
  6692. dev/            initrd.img.old  libx32/         opt/            sbin/           tmp/            vmlinuz.old
  6693. etc/            lib/            lost+found/     proc/           snap/           usr/            www/
  6694. root@instance-1:/home/djbios# mv /www/svh/sources/d /www/svh/sources/d.mp4
  6695. root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
  6696. www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
  6697. 'folder_traverser'  0.06 ms
  6698. 'check_deleted_videosources'  16.34 ms
  6699. 'update_video_sizes'  3.17 ms
  6700. 'update_video_previews'  2.80 ms
  6701. www-data@e4d497adcd96:/www/svh$ exit
  6702. root@instance-1:/home/djbios# curl localhost
  6703. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  6704. <h1>Bad Request (400)</h1>root@instance-1:/home/djbios# curl localhost
  6705. root@instance-1:/home/djbios# docker logs svh_uwsgi_1
  6706. Traceback (most recent call last):
  6707.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  6708.    self.connect()
  6709.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  6710.    self.connection = self.get_new_connection(conn_params)
  6711.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  6712.    connection = Database.connect(**conn_params)
  6713.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  6714.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  6715. psycopg2.OperationalError: could not connect to server: Connection refused
  6716.     Is the server running on host "postgres" (172.18.0.2) and accepting
  6717.     TCP/IP connections on port 5432?
  6718.  
  6719.  
  6720. The above exception was the direct cause of the following exception:
  6721.  
  6722. Traceback (most recent call last):
  6723.  File "manage.py", line 22, in <module>
  6724.    execute_from_command_line(sys.argv)
  6725.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6726.    utility.execute()
  6727.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6728.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6729.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6730.    self.execute(*args, **cmd_options)
  6731.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6732.    output = self.handle(*args, **options)
  6733.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  6734.    res = handle_func(*args, **kwargs)
  6735.  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
  6736.    executor = MigrationExecutor(connection, self.migration_progress_callback)
  6737.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
  6738.    self.loader = MigrationLoader(self.connection)
  6739.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
  6740.    self.build_graph()
  6741.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
  6742.    self.applied_migrations = recorder.applied_migrations()
  6743.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
  6744.    if self.has_table():
  6745.  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
  6746.    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  6747.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
  6748.    return self._cursor()
  6749.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 233, in _cursor
  6750.    self.ensure_connection()
  6751.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  6752.    self.connect()
  6753.  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  6754.    raise dj_exc_value.with_traceback(traceback) from exc_value
  6755.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
  6756.    self.connect()
  6757.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 195, in connect
  6758.    self.connection = self.get_new_connection(conn_params)
  6759.  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
  6760.    connection = Database.connect(**conn_params)
  6761.  File "/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py", line 126, in connect
  6762.    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  6763. django.db.utils.OperationalError: could not connect to server: Connection refused
  6764.     Is the server running on host "postgres" (172.18.0.2) and accepting
  6765.     TCP/IP connections on port 5432?
  6766.  
  6767. Operations to perform:
  6768.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6769. Running migrations:
  6770.  Applying contenttypes.0001_initial... OK
  6771.  Applying auth.0001_initial... OK
  6772.  Applying admin.0001_initial... OK
  6773.  Applying admin.0002_logentry_remove_auto_add... OK
  6774.  Applying admin.0003_logentry_add_action_flag_choices... OK
  6775.  Applying contenttypes.0002_remove_content_type_name... OK
  6776.  Applying auth.0002_alter_permission_name_max_length... OK
  6777.  Applying auth.0003_alter_user_email_max_length... OK
  6778.  Applying auth.0004_alter_user_username_opts... OK
  6779.  Applying auth.0005_alter_user_last_login_null... OK
  6780.  Applying auth.0006_require_contenttypes_0002... OK
  6781.  Applying auth.0007_alter_validators_add_error_messages... OK
  6782.  Applying auth.0008_alter_user_username_max_length... OK
  6783.  Applying auth.0009_alter_user_last_name_max_length... OK
  6784.  Applying auth.0010_alter_group_name_max_length... OK
  6785.  Applying auth.0011_update_proxy_permissions... OK
  6786.  Applying sessions.0001_initial... OK
  6787.  Applying svh.0001_initial... OK
  6788.  Applying svh.0002_auto_20181009_1857... OK
  6789.  Applying svh.0003_auto_20190423_1835... OK
  6790.  Applying svh.0004_auto_20190424_1312... OK
  6791.  Applying svh.0005_auto_20190424_1313... OK
  6792.  Applying svh.0006_auto_20190424_1326... OK
  6793.  Applying svh.0007_auto_20190426_1704... OK
  6794.  Applying svh.0008_videosource_folder... OK
  6795.  Applying svh.0009_preview... OK
  6796.  Applying svh.0010_auto_20190521_1814... OK
  6797.  Applying svh.0011_auto_20190615_1717... OK
  6798.  Applying svh.0012_videosource_published... OK
  6799.  Applying svh.0013_videofolder_deleted... OK
  6800. Traceback (most recent call last):
  6801.  File "manage.py", line 22, in <module>
  6802.    execute_from_command_line(sys.argv)
  6803.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6804.    utility.execute()
  6805.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6806.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6807.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6808.    self.execute(*args, **cmd_options)
  6809.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6810.    output = self.handle(*args, **options)
  6811.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6812.    collected = self.collect()
  6813.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6814.    handler(path, prefixed_path, storage)
  6815.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6816.    self.storage.save(prefixed_path, source_file)
  6817.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6818.    return self._save(name, content)
  6819.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6820.    os.makedirs(directory)
  6821.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6822.    makedirs(head, exist_ok=exist_ok)
  6823.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6824.    mkdir(name, mode)
  6825. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6826. Operations to perform:
  6827.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6828. Running migrations:
  6829.  No migrations to apply.
  6830. Traceback (most recent call last):
  6831.  File "manage.py", line 22, in <module>
  6832.    execute_from_command_line(sys.argv)
  6833.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6834.    utility.execute()
  6835.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6836.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6837.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6838.    self.execute(*args, **cmd_options)
  6839.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6840.    output = self.handle(*args, **options)
  6841.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6842.    collected = self.collect()
  6843.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6844.    handler(path, prefixed_path, storage)
  6845.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6846.    self.storage.save(prefixed_path, source_file)
  6847.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6848.    return self._save(name, content)
  6849.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6850.    os.makedirs(directory)
  6851.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6852.    makedirs(head, exist_ok=exist_ok)
  6853.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6854.    mkdir(name, mode)
  6855. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6856. Operations to perform:
  6857.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6858. Running migrations:
  6859.  No migrations to apply.
  6860. Traceback (most recent call last):
  6861.  File "manage.py", line 22, in <module>
  6862.    execute_from_command_line(sys.argv)
  6863.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6864.    utility.execute()
  6865.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6866.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6867.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6868.    self.execute(*args, **cmd_options)
  6869.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6870.    output = self.handle(*args, **options)
  6871.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6872.    collected = self.collect()
  6873.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6874.    handler(path, prefixed_path, storage)
  6875.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6876.    self.storage.save(prefixed_path, source_file)
  6877.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6878.    return self._save(name, content)
  6879.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6880.    os.makedirs(directory)
  6881.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6882.    makedirs(head, exist_ok=exist_ok)
  6883.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6884.    mkdir(name, mode)
  6885. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6886. Operations to perform:
  6887.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6888. Running migrations:
  6889.  No migrations to apply.
  6890. Traceback (most recent call last):
  6891.  File "manage.py", line 22, in <module>
  6892.    execute_from_command_line(sys.argv)
  6893.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6894.    utility.execute()
  6895.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6896.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6897.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6898.    self.execute(*args, **cmd_options)
  6899.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6900.    output = self.handle(*args, **options)
  6901.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6902.    collected = self.collect()
  6903.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6904.    handler(path, prefixed_path, storage)
  6905.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6906.    self.storage.save(prefixed_path, source_file)
  6907.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6908.    return self._save(name, content)
  6909.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6910.    os.makedirs(directory)
  6911.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6912.    makedirs(head, exist_ok=exist_ok)
  6913.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6914.    mkdir(name, mode)
  6915. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6916. Operations to perform:
  6917.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6918. Running migrations:
  6919.  No migrations to apply.
  6920. Traceback (most recent call last):
  6921.  File "manage.py", line 22, in <module>
  6922.    execute_from_command_line(sys.argv)
  6923.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6924.    utility.execute()
  6925.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6926.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6927.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6928.    self.execute(*args, **cmd_options)
  6929.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6930.    output = self.handle(*args, **options)
  6931.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6932.    collected = self.collect()
  6933.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6934.    handler(path, prefixed_path, storage)
  6935.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6936.    self.storage.save(prefixed_path, source_file)
  6937.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6938.    return self._save(name, content)
  6939.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6940.    os.makedirs(directory)
  6941.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6942.    makedirs(head, exist_ok=exist_ok)
  6943.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6944.    mkdir(name, mode)
  6945. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6946. Operations to perform:
  6947.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6948. Running migrations:
  6949.  No migrations to apply.
  6950. Traceback (most recent call last):
  6951.  File "manage.py", line 22, in <module>
  6952.    execute_from_command_line(sys.argv)
  6953.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6954.    utility.execute()
  6955.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6956.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6957.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6958.    self.execute(*args, **cmd_options)
  6959.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6960.    output = self.handle(*args, **options)
  6961.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6962.    collected = self.collect()
  6963.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6964.    handler(path, prefixed_path, storage)
  6965.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6966.    self.storage.save(prefixed_path, source_file)
  6967.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6968.    return self._save(name, content)
  6969.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  6970.    os.makedirs(directory)
  6971.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  6972.    makedirs(head, exist_ok=exist_ok)
  6973.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  6974.    mkdir(name, mode)
  6975. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  6976. Operations to perform:
  6977.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  6978. Running migrations:
  6979.  No migrations to apply.
  6980. Traceback (most recent call last):
  6981.  File "manage.py", line 22, in <module>
  6982.    execute_from_command_line(sys.argv)
  6983.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  6984.    utility.execute()
  6985.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  6986.    self.fetch_command(subcommand).run_from_argv(self.argv)
  6987.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  6988.    self.execute(*args, **cmd_options)
  6989.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  6990.    output = self.handle(*args, **options)
  6991.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  6992.    collected = self.collect()
  6993.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  6994.    handler(path, prefixed_path, storage)
  6995.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  6996.    self.storage.save(prefixed_path, source_file)
  6997.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  6998.    return self._save(name, content)
  6999.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  7000.    os.makedirs(directory)
  7001.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  7002.    makedirs(head, exist_ok=exist_ok)
  7003.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  7004.    mkdir(name, mode)
  7005. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  7006. Operations to perform:
  7007.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  7008. Running migrations:
  7009.  No migrations to apply.
  7010. Traceback (most recent call last):
  7011.  File "manage.py", line 22, in <module>
  7012.    execute_from_command_line(sys.argv)
  7013.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7014.    utility.execute()
  7015.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7016.    self.fetch_command(subcommand).run_from_argv(self.argv)
  7017.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7018.    self.execute(*args, **cmd_options)
  7019.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7020.    output = self.handle(*args, **options)
  7021.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  7022.    collected = self.collect()
  7023.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  7024.    handler(path, prefixed_path, storage)
  7025.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  7026.    self.storage.save(prefixed_path, source_file)
  7027.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  7028.    return self._save(name, content)
  7029.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  7030.    os.makedirs(directory)
  7031.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  7032.    makedirs(head, exist_ok=exist_ok)
  7033.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  7034.    mkdir(name, mode)
  7035. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  7036. Operations to perform:
  7037.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  7038. Running migrations:
  7039.  No migrations to apply.
  7040. Traceback (most recent call last):
  7041.  File "manage.py", line 22, in <module>
  7042.    execute_from_command_line(sys.argv)
  7043.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7044.    utility.execute()
  7045.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7046.    self.fetch_command(subcommand).run_from_argv(self.argv)
  7047.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7048.    self.execute(*args, **cmd_options)
  7049.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7050.    output = self.handle(*args, **options)
  7051.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  7052.    collected = self.collect()
  7053.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  7054.    handler(path, prefixed_path, storage)
  7055.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  7056.    self.storage.save(prefixed_path, source_file)
  7057.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  7058.    return self._save(name, content)
  7059.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  7060.    os.makedirs(directory)
  7061.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  7062.    makedirs(head, exist_ok=exist_ok)
  7063.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  7064.    mkdir(name, mode)
  7065. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  7066. Operations to perform:
  7067.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  7068. Running migrations:
  7069.  No migrations to apply.
  7070. Traceback (most recent call last):
  7071.  File "manage.py", line 22, in <module>
  7072.    execute_from_command_line(sys.argv)
  7073.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7074.    utility.execute()
  7075.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7076.    self.fetch_command(subcommand).run_from_argv(self.argv)
  7077.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7078.    self.execute(*args, **cmd_options)
  7079.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7080.    output = self.handle(*args, **options)
  7081.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  7082.    collected = self.collect()
  7083.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  7084.    handler(path, prefixed_path, storage)
  7085.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  7086.    self.storage.save(prefixed_path, source_file)
  7087.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  7088.    return self._save(name, content)
  7089.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  7090.    os.makedirs(directory)
  7091.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  7092.    makedirs(head, exist_ok=exist_ok)
  7093.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  7094.    mkdir(name, mode)
  7095. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  7096. Operations to perform:
  7097.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  7098. Running migrations:
  7099.  No migrations to apply.
  7100. Traceback (most recent call last):
  7101.  File "manage.py", line 22, in <module>
  7102.    execute_from_command_line(sys.argv)
  7103.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7104.    utility.execute()
  7105.  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7106.    self.fetch_command(subcommand).run_from_argv(self.argv)
  7107.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7108.    self.execute(*args, **cmd_options)
  7109.  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7110.    output = self.handle(*args, **options)
  7111.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
  7112.    collected = self.collect()
  7113.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
  7114.    handler(path, prefixed_path, storage)
  7115.  File "/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
  7116.    self.storage.save(prefixed_path, source_file)
  7117.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
  7118.    return self._save(name, content)
  7119.  File "/usr/local/lib/python3.7/site-packages/django/core/files/storage.py", line 242, in _save
  7120.    os.makedirs(directory)
  7121.  File "/usr/local/lib/python3.7/os.py", line 211, in makedirs
  7122.    makedirs(head, exist_ok=exist_ok)
  7123.  File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
  7124.    mkdir(name, mode)
  7125. PermissionError: [Errno 13] Permission denied: '/www/svh/static/admin'
  7126. Operations to perform:
  7127.  Apply all migrations: admin, auth, contenttypes, sessions, svh
  7128. Running migrations:
  7129.  No migrations to apply.
  7130.  
  7131. 122 static files copied to '/www/svh/static'.
  7132. *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 21 08:13:55 2019] ***
  7133. compiled with version: 8.3.0 on 21 August 2019 08:01:13
  7134. os: Linux-5.0.0-1013-gcp #13-Ubuntu SMP Thu Aug 1 16:42:47 UTC 2019
  7135. nodename: e4d497adcd96
  7136. machine: x86_64
  7137. clock source: unix
  7138. pcre jit disabled
  7139. detected number of CPU cores: 2
  7140. current working directory: /www/svh
  7141. detected binary path: /usr/local/bin/uwsgi
  7142. chdir() to /www/svh/
  7143. your memory page size is 4096 bytes
  7144. detected max file descriptor number: 1048576
  7145. lock engine: pthread robust mutexes
  7146. thunder lock: disabled (you can enable it with --thunder-lock)
  7147. uwsgi socket 0 bound to TCP address uwsgi:9000 fd 3
  7148. Python version: 3.7.4 (default, Aug 14 2019, 12:09:51)  [GCC 8.3.0]
  7149. *** Python threads support is disabled. You can enable it with --enable-threads ***
  7150. Python main interpreter initialized at 0x55d42852f120
  7151. your server socket listen backlog is limited to 100 connections
  7152. your mercy for graceful operations on workers is 60 seconds
  7153. mapped 291680 bytes (284 KB) for 3 cores
  7154. *** Operational MODE: preforking ***
  7155. ModuleNotFoundError: No module named 'wsgi'
  7156. unable to load app 0 (mountpoint='') (callable not found or import error)
  7157. WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55d42852f120 pid: 1 (default app)
  7158. *** uWSGI is running in multiple interpreter mode ***
  7159. spawned uWSGI master process (pid: 1)
  7160. spawned uWSGI worker 1 (pid: 26, cores: 1)
  7161. spawned uWSGI worker 2 (pid: 27, cores: 1)
  7162. spawned uWSGI worker 3 (pid: 28, cores: 1)
  7163. [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)
  7164. [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)
  7165. [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)
  7166. [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)
  7167. [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)
  7168. [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)
  7169. [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)
  7170. [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)
  7171. [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)
  7172. [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)
  7173. [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)
  7174. [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)
  7175. root@instance-1:/home/djbios# docker logs svh_nginx_1
  7176. 172.18.0.1 - - [21/Aug/2019:08:14:17 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7177. 172.18.0.1 - - [21/Aug/2019:08:14:20 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7178. 172.18.0.1 - - [21/Aug/2019:08:14:21 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7179. 172.18.0.1 - - [21/Aug/2019:08:14:22 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7180. 172.18.0.1 - - [21/Aug/2019:08:14:23 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7181. 172.18.0.1 - - [21/Aug/2019:08:14:51 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7182. 172.18.0.1 - - [21/Aug/2019:08:14:52 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7183. 172.18.0.1 - - [21/Aug/2019:08:14:53 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7184. 172.18.0.1 - - [21/Aug/2019:08:14:54 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7185. 172.18.0.1 - - [21/Aug/2019:08:17:06 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7186. 172.18.0.1 - - [21/Aug/2019:08:17:07 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7187. 172.18.0.1 - - [21/Aug/2019:08:17:08 +0000] "GET / HTTP/1.1" 400 37 "-" "curl/7.64.0"
  7188. root@instance-1:/home/djbios# docker logs svh_celery_1
  7189. [2019-08-21 11:09:55,052: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  7190. Trying again in 2.00 seconds...
  7191.  
  7192. [2019-08-21 11:09:57,099: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  7193. Trying again in 4.00 seconds...
  7194.  
  7195. [2019-08-21 11:10:00,708: INFO/Beat] beat: Starting...
  7196. [2019-08-21 11:10:01,131: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  7197. Trying again in 6.00 seconds...
  7198.  
  7199. [2019-08-21 11:10:07,169: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbit:5672//: [Errno 111] Connection refused.
  7200. Trying again in 8.00 seconds...
  7201.  
  7202. [2019-08-21 11:10:15,205: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
  7203. [2019-08-21 11:10:15,230: INFO/MainProcess] mingle: searching for neighbors
  7204. [2019-08-21 11:10:16,296: INFO/MainProcess] mingle: all alone
  7205. [2019-08-21 11:10:16,357: INFO/MainProcess] celery@a5573381b75e ready.
  7206. root@instance-1:/home/djbios# docker logs svh_postgres_1
  7207. The files belonging to this database system will be owned by user "postgres".
  7208. This user must also own the server process.
  7209.  
  7210. The database cluster will be initialized with locale "en_US.utf8".
  7211. The default database encoding has accordingly been set to "UTF8".
  7212. The default text search configuration will be set to "english".
  7213.  
  7214. Data page checksums are disabled.
  7215.  
  7216. fixing permissions on existing directory /var/lib/postgresql/data ... ok
  7217. creating subdirectories ... ok
  7218. selecting default max_connections ... 100
  7219. selecting default shared_buffers ... 128MB
  7220. selecting default timezone ... Etc/UTC
  7221. selecting dynamic shared memory implementation ... posix
  7222. creating configuration files ... ok
  7223. running bootstrap script ... ok
  7224. performing post-bootstrap initialization ... ok
  7225. syncing data to disk ... ok
  7226.  
  7227. WARNING: enabling "trust" authentication for local connections
  7228. You can change this by editing pg_hba.conf or using the option -A, or
  7229. --auth-local and --auth-host, the next time you run initdb.
  7230.  
  7231. Success. You can now start the database server using:
  7232.  
  7233.    pg_ctl -D /var/lib/postgresql/data -l logfile start
  7234.  
  7235. ****************************************************
  7236. WARNING: No password has been set for the database.
  7237.         This will allow anyone with access to the
  7238.         Postgres port to access your database. In
  7239.         Docker's default configuration, this is
  7240.          effectively any other container on the same
  7241.          system.
  7242.  
  7243.          Use "-e POSTGRES_PASSWORD=password" to set
  7244.          it in "docker run".
  7245. ****************************************************
  7246. waiting for server to start....LOG:  database system was shut down at 2019-08-21 08:09:52 UTC
  7247. LOG:  MultiXact member wraparound protections are now enabled
  7248. LOG:  database system is ready to accept connections
  7249. LOG:  autovacuum launcher started
  7250.  done
  7251. server started
  7252.  
  7253. /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db-init.sql
  7254. CREATE ROLE
  7255. CREATE DATABASE
  7256. GRANT
  7257. CREATE DATABASE
  7258. GRANT
  7259. ALTER ROLE
  7260.  
  7261.  
  7262. LOG:  received fast shutdown request
  7263. waiting for server to shut down...LOG:  aborting any active transactions
  7264. LOG:  autovacuum launcher shutting down
  7265. .LOG:  shutting down
  7266. LOG:  database system is shut down
  7267.  done
  7268. server stopped
  7269.  
  7270. PostgreSQL init process complete; ready for start up.
  7271.  
  7272. LOG:  database system was shut down at 2019-08-21 08:09:55 UTC
  7273. LOG:  MultiXact member wraparound protections are now enabled
  7274. LOG:  database system is ready to accept connections
  7275. LOG:  autovacuum launcher started
  7276. root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
  7277. www-data@e4d497adcd96:/www/svh$ ./manage.py shell
  7278. /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.
  7279. Python 3.7.4 (default, Aug 14 2019, 12:09:51)
  7280. Type 'copyright', 'credits' or 'license' for more information
  7281. IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help.
  7282.  
  7283. In [1]: from svh.models import *                                                                                        
  7284.  
  7285. In [2]: VideoSource.objects.all()                                                                                      
  7286. Out[2]: <QuerySet []>
  7287.  
  7288. In [3]:                                                                                                                
  7289. Do you really want to exit ([y]/n)? y
  7290. www-data@e4d497adcd96:/www/svh$ ls /www/svh/
  7291. manage.py         requirements.txt  run_celery.sh     svh/              
  7292. media/            run.sh            static/          
  7293. www-data@e4d497adcd96:/www/svh$ ls /www/svh/media/
  7294. d.mp4       lost+found/
  7295. www-data@e4d497adcd96:/www/svh$ ls /www/svh/media/so
  7296. ls: cannot access '/www/svh/media/so': No such file or directory
  7297. www-data@e4d497adcd96:/www/svh$ ls /www/svh/media/^C
  7298. www-data@e4d497adcd96:/www/svh$ exit
  7299. root@instance-1:/home/djbios# mv /www/svh/sources/d /www/svh/sources/sources/d.mp4
  7300. mv: cannot stat '/www/svh/sources/d': No such file or directory
  7301. root@instance-1:/home/djbios# mv /www/svh/sources/d.mp4 /www/svh/sources/sources/d.mp4
  7302. mv: cannot move '/www/svh/sources/d.mp4' to '/www/svh/sources/sources/d.mp4': No such file or directory
  7303. root@instance-1:/home/djbios# mv /www/svh/sources/d.mp4 /www/svh/sources/sources/d.mp4
  7304. mv: cannot move '/www/svh/sources/d.mp4' to '/www/svh/sources/sources/d.mp4': No such file or directory
  7305. root@instance-1:/home/djbios# mkdir /www/svh/sources/sources
  7306. root@instance-1:/home/djbios# mv /www/svh/sources/d.mp4 /www/svh/sources/sources/d.mp4
  7307. root@instance-1:/home/djbios# chown -R www-data /var/lib/docker/volumes/svh_static/_data
  7308. root@instance-1:/home/djbios# docker exec -it svh_uwsgi_1 bash
  7309. www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
  7310. /www/svh/media/sources/d.mp4 fe01694579a6031b21d29dfd0065cdbc
  7311. 'folder_traverser'  33.26 ms
  7312. 'check_deleted_videosources'  4.43 ms
  7313. 'update_video_sizes'  6.66 ms
  7314. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55bb188ab4c0] moov atom not found
  7315. Traceback (most recent call last):
  7316.   File "./manage.py", line 22, in <module>
  7317.     execute_from_command_line(sys.argv)
  7318.   File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7319.     utility.execute()
  7320.   File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7321.     self.fetch_command(subcommand).run_from_argv(self.argv)
  7322.   File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7323.     self.execute(*args, **cmd_options)
  7324.   File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7325.     output = self.handle(*args, **options)
  7326.   File "/www/svh/svh/management/commands/updatelibrary.py", line 9, in handle
  7327.     update_library()
  7328.   File "/usr/local/lib/python3.7/site-packages/celery/local.py", line 191, in __call__
  7329.     return self._get_current_object()(*a, **kw)
  7330.   File "/usr/local/lib/python3.7/site-packages/celery/app/task.py", line 394, in __call__
  7331.     return self.run(*args, **kwargs)
  7332.   File "/www/svh/svh/tasks.py", line 25, in update_library
  7333.     update_video_previews()
  7334.   File "/www/svh/svh/utils.py", line 27, in timed
  7335.     result = method(*args, **kw)
  7336.   File "/www/svh/svh/tasks.py", line 91, in update_video_previews
  7337.     generate_preview(vs)
  7338.   File "/www/svh/svh/utils.py", line 27, in timed
  7339.     result = method(*args, **kw)
  7340.   File "/www/svh/svh/tasks.py", line 117, in generate_preview
  7341.     frames = get_random_frames(smallestVideofile.path, 5)
  7342.   File "/www/svh/svh/tasks.py", line 102, in get_random_frames
  7343.     targets = random.sample(range(min(video_length, 25 * 5)), count) # todo gif length in settings
  7344.   File "/usr/local/lib/python3.7/random.py", line 321, in sample
  7345.     raise ValueError("Sample larger than population or is negative")
  7346. ValueError: Sample larger than population or is negative
  7347. www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
  7348. /www/svh/media/sources/d.mp4 fe01694579a6031b21d29dfd0065cdbc
  7349. 'folder_traverser'  21.00 ms
  7350. 'check_deleted_videosources'  5.04 ms
  7351. 'update_video_sizes'  4.98 ms
  7352. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x561921a13100] moov atom not found
  7353. Traceback (most recent call last):
  7354.   File "./manage.py", line 22, in <module>
  7355.     execute_from_command_line(sys.argv)
  7356.   File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7357.     utility.execute()
  7358.   File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7359.     self.fetch_command(subcommand).run_from_argv(self.argv)
  7360.   File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7361.     self.execute(*args, **cmd_options)
  7362.   File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7363.     output = self.handle(*args, **options)
  7364.   File "/www/svh/svh/management/commands/updatelibrary.py", line 9, in handle
  7365.     update_library()
  7366.   File "/usr/local/lib/python3.7/site-packages/celery/local.py", line 191, in __call__
  7367.     return self._get_current_object()(*a, **kw)
  7368.   File "/usr/local/lib/python3.7/site-packages/celery/app/task.py", line 394, in __call__
  7369.     return self.run(*args, **kwargs)
  7370.   File "/www/svh/svh/tasks.py", line 25, in update_library
  7371.     update_video_previews()
  7372.   File "/www/svh/svh/utils.py", line 27, in timed
  7373.     result = method(*args, **kw)
  7374.   File "/www/svh/svh/tasks.py", line 91, in update_video_previews
  7375.     generate_preview(vs)
  7376.   File "/www/svh/svh/utils.py", line 27, in timed
  7377.     result = method(*args, **kw)
  7378.   File "/www/svh/svh/tasks.py", line 117, in generate_preview
  7379.     frames = get_random_frames(smallestVideofile.path, 5)
  7380.   File "/www/svh/svh/tasks.py", line 102, in get_random_frames
  7381.     targets = random.sample(range(min(video_length, 25 * 5)), count) # todo gif length in settings
  7382.   File "/usr/local/lib/python3.7/random.py", line 321, in sample
  7383.     raise ValueError("Sample larger than population or is negative")
  7384. ValueError: Sample larger than population or is negative
  7385. www-data@e4d497adcd96:/www/svh$ ./manage.py updatelibrary
  7386. /www/svh/media/sources/d.mp4 fe01694579a6031b21d29dfd0065cdbc
  7387. 'folder_traverser'  21.99 ms
  7388. 'check_deleted_videosources'  4.16 ms
  7389. 'update_video_sizes'  4.90 ms
  7390. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5626384da9c0] moov atom not found
  7391. Traceback (most recent call last):
  7392.   File "./manage.py", line 22, in <module>
  7393.     execute_from_command_line(sys.argv)
  7394.   File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  7395.     utility.execute()
  7396.   File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  7397.     self.fetch_command(subcommand).run_from_argv(self.argv)
  7398.   File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  7399.     self.execute(*args, **cmd_options)
  7400.   File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  7401.     output = self.handle(*args, **options)
  7402.   File "/www/svh/svh/management/commands/updatelibrary.py", line 9, in handle
  7403.     update_library()
  7404.   File "/usr/local/lib/python3.7/site-packages/celery/local.py", line 191, in __call__
  7405.     return self._get_current_object()(*a, **kw)
  7406.   File "/usr/local/lib/python3.7/site-packages/celery/app/task.py", line 394, in __call__
  7407.     return self.run(*args, **kwargs)
  7408.   File "/www/svh/svh/tasks.py", line 25, in update_library
  7409.     update_video_previews()
  7410.   File "/www/svh/svh/utils.py", line 27, in timed
  7411.     result = method(*args, **kw)
  7412.   File "/www/svh/svh/tasks.py", line 91, in update_video_previews
  7413.     generate_preview(vs)
  7414.   File "/www/svh/svh/utils.py", line 27, in timed
  7415.     result = method(*args, **kw)
  7416.   File "/www/svh/svh/tasks.py", line 117, in generate_preview
  7417.     frames = get_random_frames(smallestVideofile.path, 5)
  7418.   File "/www/svh/svh/tasks.py", line 102, in get_random_frames
  7419.     targets = random.sample(range(min(video_length, 25 * 5)), count) # todo gif length in settings
  7420.   File "/usr/local/lib/python3.7/random.py", line 321, in sample
  7421.     raise ValueError("Sample larger than population or is negative")
  7422. ValueError: Sample larger than population or is negative
  7423. 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