Created
June 12, 2019 13:25
-
-
Save noellabo/2aded49b488f5a2fd8458d253d90b1cb to your computer and use it in GitHub Desktop.
Pleroma install log (2019/6/12)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
noel@pl:~$ sudo apt install git build-essential postgresql postgresql-contrib | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
build-essential is already the newest version (12.4ubuntu1). | |
build-essential set to manually installed. | |
The following additional packages will be installed: | |
git-man liberror-perl libpq5 postgresql-10 postgresql-client-10 postgresql-client-common postgresql-common sysstat | |
Suggested packages: | |
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn postgresql-doc | |
locales-all postgresql-doc-10 libjson-perl isag | |
The following NEW packages will be installed: | |
git git-man liberror-perl libpq5 postgresql postgresql-10 postgresql-client-10 postgresql-client-common postgresql-common | |
postgresql-contrib sysstat | |
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 10.0 MB of archives. | |
After this operation, 54.8 MB of additional disk space will be used. | |
Do you want to continue? [Y/n] | |
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] | |
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.4 [803 kB] | |
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.4 [3,907 kB] | |
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpq5 amd64 10.8-0ubuntu0.18.04.1 [107 kB] | |
Get:5 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 postgresql-client-common all 190 [29.5 kB] | |
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 postgresql-client-10 amd64 10.8-0ubuntu0.18.04.1 [935 kB] | |
Get:7 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 postgresql-common all 190 [157 kB] | |
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 postgresql-10 amd64 10.8-0ubuntu0.18.04.1 [3,758 kB] | |
Get:9 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 postgresql all 10+190 [5,784 B] | |
Get:10 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 postgresql-contrib all 10+190 [5,796 B] | |
Get:11 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 sysstat amd64 11.6.1-1 [295 kB] | |
Fetched 10.0 MB in 3s (3,497 kB/s) | |
Preconfiguring packages ... | |
Selecting previously unselected package liberror-perl. | |
(Reading database ... 170251 files and directories currently installed.) | |
Preparing to unpack .../00-liberror-perl_0.17025-1_all.deb ... | |
Unpacking liberror-perl (0.17025-1) ... | |
Selecting previously unselected package git-man. | |
Preparing to unpack .../01-git-man_1%3a2.17.1-1ubuntu0.4_all.deb ... | |
Unpacking git-man (1:2.17.1-1ubuntu0.4) ... | |
Selecting previously unselected package git. | |
Preparing to unpack .../02-git_1%3a2.17.1-1ubuntu0.4_amd64.deb ... | |
Unpacking git (1:2.17.1-1ubuntu0.4) ... | |
Selecting previously unselected package libpq5:amd64. | |
Preparing to unpack .../03-libpq5_10.8-0ubuntu0.18.04.1_amd64.deb ... | |
Unpacking libpq5:amd64 (10.8-0ubuntu0.18.04.1) ... | |
Selecting previously unselected package postgresql-client-common. | |
Preparing to unpack .../04-postgresql-client-common_190_all.deb ... | |
Unpacking postgresql-client-common (190) ... | |
Selecting previously unselected package postgresql-client-10. | |
Preparing to unpack .../05-postgresql-client-10_10.8-0ubuntu0.18.04.1_amd64.deb ... | |
Unpacking postgresql-client-10 (10.8-0ubuntu0.18.04.1) ... | |
Selecting previously unselected package postgresql-common. | |
Preparing to unpack .../06-postgresql-common_190_all.deb ... | |
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' | |
Unpacking postgresql-common (190) ... | |
Selecting previously unselected package postgresql-10. | |
Preparing to unpack .../07-postgresql-10_10.8-0ubuntu0.18.04.1_amd64.deb ... | |
Unpacking postgresql-10 (10.8-0ubuntu0.18.04.1) ... | |
Selecting previously unselected package postgresql. | |
Preparing to unpack .../08-postgresql_10+190_all.deb ... | |
Unpacking postgresql (10+190) ... | |
Selecting previously unselected package postgresql-contrib. | |
Preparing to unpack .../09-postgresql-contrib_10+190_all.deb ... | |
Unpacking postgresql-contrib (10+190) ... | |
Selecting previously unselected package sysstat. | |
Preparing to unpack .../10-sysstat_11.6.1-1_amd64.deb ... | |
Unpacking sysstat (11.6.1-1) ... | |
Setting up git-man (1:2.17.1-1ubuntu0.4) ... | |
Setting up sysstat (11.6.1-1) ... | |
Creating config file /etc/default/sysstat with new version | |
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode | |
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service. | |
Processing triggers for ureadahead (0.100.0-21) ... | |
Setting up liberror-perl (0.17025-1) ... | |
Setting up libpq5:amd64 (10.8-0ubuntu0.18.04.1) ... | |
Processing triggers for libc-bin (2.27-3ubuntu1) ... | |
Setting up postgresql-client-common (190) ... | |
Processing triggers for systemd (237-3ubuntu10.22) ... | |
Setting up postgresql-common (190) ... | |
Adding user postgres to group ssl-cert | |
Creating config file /etc/postgresql-common/createcluster.conf with new version | |
Building PostgreSQL dictionaries from installed myspell/hunspell packages... | |
en_us | |
Removing obsolete dictionary files: | |
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service. | |
Processing triggers for man-db (2.8.3-2ubuntu0.1) ... | |
Setting up git (1:2.17.1-1ubuntu0.4) ... | |
Setting up postgresql-client-10 (10.8-0ubuntu0.18.04.1) ... | |
update-alternatives: using /usr/share/postgresql/10/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode | |
Setting up postgresql-10 (10.8-0ubuntu0.18.04.1) ... | |
Creating new PostgreSQL cluster 10/main ... | |
/usr/lib/postgresql/10/bin/initdb -D /var/lib/postgresql/10/main --auth-local peer --auth-host md5 | |
The files belonging to this database system will be owned by user "postgres". | |
This user must also own the server process. | |
The database cluster will be initialized with locale "en_US.UTF-8". | |
The default database encoding has accordingly been set to "UTF8". | |
The default text search configuration will be set to "english". | |
Data page checksums are disabled. | |
fixing permissions on existing directory /var/lib/postgresql/10/main ... ok | |
creating subdirectories ... ok | |
selecting default max_connections ... 100 | |
selecting default shared_buffers ... 128MB | |
selecting dynamic shared memory implementation ... posix | |
creating configuration files ... ok | |
running bootstrap script ... ok | |
performing post-bootstrap initialization ... ok | |
syncing data to disk ... ok | |
Success. You can now start the database server using: | |
/usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start | |
Ver Cluster Port Status Owner Data directory Log file | |
10 main 5432 down postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log | |
update-alternatives: using /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode | |
Setting up postgresql (10+190) ... | |
Setting up postgresql-contrib (10+190) ... | |
Processing triggers for ureadahead (0.100.0-21) ... | |
Processing triggers for systemd (237-3ubuntu10.22) ... | |
noel@pl:~$ wget -P /tmp/ https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
--2019-06-12 22:08:20-- https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
Resolving packages.erlang-solutions.com (packages.erlang-solutions.com)... 13.32.255.187, 13.32.255.67, 13.32.255.226, ... | |
Connecting to packages.erlang-solutions.com (packages.erlang-solutions.com)|13.32.255.187|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 6286 (6.1K) | |
Saving to: ‘/tmp/erlang-solutions_1.0_all.deb’ | |
erlang-solutions_1.0_all.deb 100%[===========================================================>] 6.14K --.-KB/s in 0s | |
2019-06-12 22:08:21 (879 MB/s) - ‘/tmp/erlang-solutions_1.0_all.deb’ saved [6286/6286] | |
noel@pl:~$ sudo dpkg -i /tmp/erlang-solutions_1.0_all.deb | |
Selecting previously unselected package erlang-solutions. | |
(Reading database ... 171954 files and directories currently installed.) | |
Preparing to unpack .../erlang-solutions_1.0_all.deb ... | |
Unpacking erlang-solutions (1.0) ... | |
Setting up erlang-solutions (1.0) ... | |
#deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu | |
## team. Also, please note that software in universe WILL NOT receive any | |
## review or updates from the Ubuntu security team. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe | |
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu | |
## team, and may not be under a free licence. Please satisfy yourself as to | |
## your rights to use the software. Also, please note that software in | |
## multiverse WILL NOT receive any review or updates from the Ubuntu | |
## security team. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse | |
## N.B. software from this repository may not have been tested as | |
## extensively as that contained in the main release, although it includes | |
## newer versions of some applications which may provide useful features. | |
## Also, please note that software in backports WILL NOT receive any review | |
## or updates from the Ubuntu security team. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse | |
## Uncomment the following two lines to add software from Canonical's | |
## 'partner' repository. | |
## This software is not part of Ubuntu, but is offered by Canonical and the | |
## respective vendors as a service to Ubuntu users. | |
# deb http://archive.canonical.com/ubuntu bionic partner | |
# deb-src http://archive.canonical.com/ubuntu bionic partner | |
deb http://security.ubuntu.com/ubuntu bionic-security main restricted | |
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted | |
deb http://security.ubuntu.com/ubuntu bionic-security universe | |
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe | |
deb http://security.ubuntu.com/ubuntu bionic-security multiverse | |
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse | |
noel@pl:~$ sudo apt update | |
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease | |
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] | |
Ign:3 http://binaries.erlang-solutions.com/debian bionic InRelease | |
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] | |
Get:5 http://binaries.erlang-solutions.com/debian bionic Release [2,537 B] | |
Get:6 http://binaries.erlang-solutions.com/debian bionic Release.gpg [833 B] | |
Get:7 http://binaries.erlang-solutions.com/debian bionic/contrib i386 Packages [49.1 kB] | |
Get:8 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 Packages [184 kB] | |
Hit:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease | |
Fetched 414 kB in 1s (329 kB/s) | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
All packages are up to date. | |
noel@pl:~$ sudo apt install elixir erlang-dev erlang-parsetools erlang-xmerl erlang-tools erlang-ssh | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following additional packages will be installed: | |
erlang-asn1 erlang-base erlang-crypto erlang-inets erlang-mnesia erlang-public-key erlang-runtime-tools erlang-ssl | |
erlang-syntax-tools | |
Suggested packages: | |
erlang erlang-manpages erlang-doc | |
The following NEW packages will be installed: | |
elixir erlang-asn1 erlang-base erlang-crypto erlang-dev erlang-inets erlang-mnesia erlang-parsetools erlang-public-key | |
erlang-runtime-tools erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools erlang-xmerl | |
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 18.6 MB of archives. | |
After this operation, 34.1 MB of additional disk space will be used. | |
Do you want to continue? [Y/n] | |
Get:1 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-base amd64 1:22.0.2-1 [7,996 kB] | |
Get:2 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-crypto amd64 1:22.0.2-1 [163 kB] | |
Get:3 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-mnesia amd64 1:22.0.2-1 [748 kB] | |
Get:4 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-runtime-tools amd64 1:22.0.2-1 [214 kB] | |
Get:5 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-syntax-tools amd64 1:22.0.2-1 [375 kB] | |
Get:6 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-asn1 amd64 1:22.0.2-1 [744 kB] | |
Get:7 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-public-key amd64 1:22.0.2-1 [590 kB] | |
Get:8 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-ssl amd64 1:22.0.2-1 [1,072 kB] | |
Get:9 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-inets amd64 1:22.0.2-1 [605 kB] | |
Get:10 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 elixir all 1.8.2-1 [3,396 kB] | |
Get:11 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-dev amd64 1:22.0.2-1 [347 kB] | |
Get:12 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-parsetools amd64 1:22.0.2-1 [182 kB] | |
Get:13 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-ssh amd64 1:22.0.2-1 [655 kB] | |
Get:14 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-tools amd64 1:22.0.2-1 [528 kB] | |
Get:15 http://binaries.erlang-solutions.com/debian bionic/contrib amd64 erlang-xmerl amd64 1:22.0.2-1 [981 kB] | |
Fetched 18.6 MB in 2s (8,253 kB/s) | |
Selecting previously unselected package erlang-base. | |
(Reading database ... 171954 files and directories currently installed.) | |
Preparing to unpack .../00-erlang-base_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-base (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-crypto. | |
Preparing to unpack .../01-erlang-crypto_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-crypto (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-mnesia. | |
Preparing to unpack .../02-erlang-mnesia_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-mnesia (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-runtime-tools. | |
Preparing to unpack .../03-erlang-runtime-tools_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-runtime-tools (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-syntax-tools. | |
Preparing to unpack .../04-erlang-syntax-tools_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-syntax-tools (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-asn1. | |
Preparing to unpack .../05-erlang-asn1_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-asn1 (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-public-key. | |
Preparing to unpack .../06-erlang-public-key_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-public-key (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-ssl. | |
Preparing to unpack .../07-erlang-ssl_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-ssl (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-inets. | |
Preparing to unpack .../08-erlang-inets_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-inets (1:22.0.2-1) ... | |
Selecting previously unselected package elixir. | |
Preparing to unpack .../09-elixir_1.8.2-1_all.deb ... | |
Unpacking elixir (1.8.2-1) ... | |
Selecting previously unselected package erlang-dev. | |
Preparing to unpack .../10-erlang-dev_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-dev (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-parsetools. | |
Preparing to unpack .../11-erlang-parsetools_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-parsetools (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-ssh. | |
Preparing to unpack .../12-erlang-ssh_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-ssh (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-tools. | |
Preparing to unpack .../13-erlang-tools_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-tools (1:22.0.2-1) ... | |
Selecting previously unselected package erlang-xmerl. | |
Preparing to unpack .../14-erlang-xmerl_1%3a22.0.2-1_amd64.deb ... | |
Unpacking erlang-xmerl (1:22.0.2-1) ... | |
Setting up erlang-base (1:22.0.2-1) ... | |
Searching for services which depend on erlang and should be started...none found. | |
Setting up erlang-dev (1:22.0.2-1) ... | |
Setting up erlang-xmerl (1:22.0.2-1) ... | |
Setting up erlang-crypto (1:22.0.2-1) ... | |
Setting up erlang-mnesia (1:22.0.2-1) ... | |
Processing triggers for man-db (2.8.3-2ubuntu0.1) ... | |
Setting up erlang-runtime-tools (1:22.0.2-1) ... | |
Setting up erlang-syntax-tools (1:22.0.2-1) ... | |
Setting up erlang-parsetools (1:22.0.2-1) ... | |
Setting up erlang-asn1 (1:22.0.2-1) ... | |
Setting up erlang-public-key (1:22.0.2-1) ... | |
Setting up erlang-ssl (1:22.0.2-1) ... | |
Setting up erlang-inets (1:22.0.2-1) ... | |
Setting up erlang-tools (1:22.0.2-1) ... | |
Setting up elixir (1.8.2-1) ... | |
Setting up erlang-ssh (1:22.0.2-1) ... | |
noel@pl:~$ sudo useradd -r -s /bin/false -m -d /var/lib/pleroma -U pleroma | |
noel@pl:~$ sudo mkdir -p /opt/pleroma | |
noel@pl:~$ sudo chown -R pleroma:pleroma /opt/pleroma | |
noel@pl:~$ sudo -Hu pleroma git clone -b master https://git.pleroma.social/pleroma/pleroma /opt/pleroma | |
Cloning into '/opt/pleroma'... | |
warning: redirecting to https://git.pleroma.social/pleroma/pleroma.git/ | |
remote: Enumerating objects: 55369, done. | |
remote: Counting objects: 100% (55369/55369), done. | |
remote: Compressing objects: 100% (17373/17373), done. | |
remote: Total 55369 (delta 39719), reused 51420 (delta 36955) | |
Receiving objects: 100% (55369/55369), 96.20 MiB | 1.42 MiB/s, done. | |
Resolving deltas: 100% (39719/39719), done. | |
noel@pl:~$ cd /opt/pleroma | |
noel@pl:/opt/pleroma$ sudo -Hu pleroma mix deps.get | |
!!! RUNNING IN LOCALHOST DEV MODE! !!! | |
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs | |
Could not find Hex, which is needed to build dependency :plug_cowboy | |
Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn] Y | |
* creating /var/lib/pleroma/.mix/archives/hex-0.20.1 | |
* Getting phoenix (https://github.com/phoenixframework/phoenix.git) | |
remote: Enumerating objects: 175, done. | |
remote: Counting objects: 100% (175/175), done. | |
remote: Compressing objects: 100% (161/161), done. | |
remote: Total 41942 (delta 28), reused 117 (delta 14), pack-reused 41767 | |
Receiving objects: 100% (41942/41942), 10.85 MiB | 6.04 MiB/s, done. | |
Resolving deltas: 100% (27362/27362), done. | |
* Getting crypt (https://github.com/msantos/crypt) | |
remote: Enumerating objects: 1, done. | |
remote: Counting objects: 100% (1/1), done. | |
remote: Total 250 (delta 0), reused 1 (delta 0), pack-reused 249 | |
Receiving objects: 100% (250/250), 151.41 KiB | 475.00 KiB/s, done. | |
Resolving deltas: 100% (106/106), done. | |
* Getting websocket_client (https://github.com/jeremyong/websocket_client.git) | |
remote: Enumerating objects: 2, done. | |
remote: Counting objects: 100% (2/2), done. | |
remote: Compressing objects: 100% (2/2), done. | |
remote: Total 375 (delta 0), reused 2 (delta 0), pack-reused 373 | |
Receiving objects: 100% (375/375), 81.55 KiB | 388.00 KiB/s, done. | |
Resolving deltas: 100% (219/219), done. | |
* Getting ex_syslogger (https://github.com/slashmili/ex_syslogger.git) | |
remote: Enumerating objects: 331, done. | |
remote: Total 331 (delta 0), reused 0 (delta 0), pack-reused 331 | |
Receiving objects: 100% (331/331), 50.07 KiB | 316.00 KiB/s, done. | |
Resolving deltas: 100% (159/159), done. | |
* Getting syslog (https://github.com/Vagabond/erlang-syslog.git) | |
remote: Enumerating objects: 218, done. | |
remote: Total 218 (delta 0), reused 0 (delta 0), pack-reused 218 | |
Receiving objects: 100% (218/218), 215.81 KiB | 505.00 KiB/s, done. | |
Resolving deltas: 100% (94/94), done. | |
Resolving Hex dependencies... | |
Dependency resolution completed: | |
Unchanged: | |
base64url 0.0.1 | |
bunt 0.2.0 | |
cachex 3.0.2 | |
calendar 0.17.4 | |
certifi 2.4.2 | |
combine 0.10.0 | |
comeonin 4.1.1 | |
connection 1.0.4 | |
cors_plug 1.5.2 | |
cowboy 1.1.2 | |
cowlib 1.0.2 | |
credo 0.9.3 | |
db_connection 1.1.3 | |
decimal 1.6.0 | |
earmark 1.3.0 | |
ecto 2.2.10 | |
eternal 1.2.0 | |
ex_aws 2.1.0 | |
ex_aws_s3 2.0.1 | |
ex_doc 0.19.1 | |
ex_machina 2.2.0 | |
floki 0.20.4 | |
gen_smtp 0.13.0 | |
gettext 0.15.0 | |
hackney 1.14.3 | |
html_entities 0.4.0 | |
html_sanitize_ex 1.3.0 | |
httpoison 1.2.0 | |
idna 6.0.0 | |
jason 1.1.2 | |
jose 1.8.4 | |
makeup 0.5.5 | |
makeup_elixir 0.10.0 | |
meck 0.8.9 | |
metrics 1.0.1 | |
mime 1.3.1 | |
mimerl 1.0.2 | |
mochiweb 2.15.0 | |
mock 0.3.1 | |
mogrify 0.6.1 | |
nimble_parsec 0.4.0 | |
parse_trans 3.3.0 | |
pbkdf2_elixir 0.12.3 | |
phoenix_ecto 3.3.0 | |
phoenix_html 2.11.2 | |
phoenix_pubsub 1.1.1 | |
plug 1.7.1 | |
plug_cowboy 1.0.0 | |
plug_crypto 1.0.0 | |
poison 3.1.0 | |
poolboy 1.5.1 | |
postgrex 0.13.5 | |
ranch 1.3.2 | |
ssl_verify_fun 1.1.4 | |
swoosh 0.20.0 | |
tesla 1.2.1 | |
timex 3.5.0 | |
trailing_format_plug 0.0.7 | |
tzdata 0.5.17 | |
unicode_util_compat 0.4.1 | |
unsafe 1.0.0 | |
web_push_encryption 0.2.1 | |
* Getting plug_cowboy (Hex package) | |
* Getting phoenix_pubsub (Hex package) | |
* Getting phoenix_ecto (Hex package) | |
* Getting postgrex (Hex package) | |
* Getting gettext (Hex package) | |
* Getting comeonin (Hex package) | |
* Getting pbkdf2_elixir (Hex package) | |
* Getting trailing_format_plug (Hex package) | |
* Getting html_sanitize_ex (Hex package) | |
* Getting html_entities (Hex package) | |
* Getting phoenix_html (Hex package) | |
* Getting calendar (Hex package) | |
* Getting cachex (Hex package) | |
* Getting httpoison (Hex package) | |
* Getting tesla (Hex package) | |
* Getting jason (Hex package) | |
* Getting mogrify (Hex package) | |
* Getting ex_aws (Hex package) | |
* Getting ex_aws_s3 (Hex package) | |
* Getting earmark (Hex package) | |
* Getting ex_machina (Hex package) | |
* Getting credo (Hex package) | |
* Getting mock (Hex package) | |
* Getting cors_plug (Hex package) | |
* Getting ex_doc (Hex package) | |
* Getting web_push_encryption (Hex package) | |
* Getting swoosh (Hex package) | |
* Getting gen_smtp (Hex package) | |
* Getting floki (Hex package) | |
* Getting timex (Hex package) | |
* Getting combine (Hex package) | |
* Getting tzdata (Hex package) | |
* Getting hackney (Hex package) | |
* Getting certifi (Hex package) | |
* Getting idna (Hex package) | |
* Getting metrics (Hex package) | |
* Getting mimerl (Hex package) | |
* Getting ssl_verify_fun (Hex package) | |
* Getting unicode_util_compat (Hex package) | |
* Getting parse_trans (Hex package) | |
* Getting mochiweb (Hex package) | |
* Getting mime (Hex package) | |
* Getting jose (Hex package) | |
* Getting poison (Hex package) | |
* Getting base64url (Hex package) | |
* Getting makeup_elixir (Hex package) | |
* Getting makeup (Hex package) | |
* Getting nimble_parsec (Hex package) | |
* Getting plug (Hex package) | |
* Getting plug_crypto (Hex package) | |
* Getting meck (Hex package) | |
* Getting bunt (Hex package) | |
* Getting eternal (Hex package) | |
* Getting unsafe (Hex package) | |
* Getting connection (Hex package) | |
* Getting db_connection (Hex package) | |
* Getting decimal (Hex package) | |
* Getting ecto (Hex package) | |
* Getting poolboy (Hex package) | |
* Getting cowboy (Hex package) | |
* Getting cowlib (Hex package) | |
* Getting ranch (Hex package) | |
noel@pl:/opt/pleroma$ sudo -Hu pleroma mix pleroma.instance gen | |
!!! RUNNING IN LOCALHOST DEV MODE! !!! | |
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs | |
Could not find "rebar3", which is needed to build dependency :parse_trans | |
I can install a local copy which is just used by Mix | |
Shall I install rebar3? (if running non-interactively, use "mix local.rebar --force") [Yn] Y | |
* creating /var/lib/pleroma/.mix/rebar | |
* creating /var/lib/pleroma/.mix/rebar3 | |
===> Compiling parse_trans | |
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/unsafe/mix.exs:37 | |
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/unsafe/mix.exs:38 | |
==> unsafe | |
Compiling 3 files (.ex) | |
Generated unsafe app | |
==> base64url (compile) | |
Compiled src/base64url.erl | |
===> Compiling mimerl | |
==> connection | |
Compiling 1 file (.ex) | |
Generated connection app | |
==> pbkdf2_elixir | |
Compiling 5 files (.ex) | |
Generated pbkdf2_elixir app | |
==> nimble_parsec | |
Compiling 4 files (.ex) | |
Generated nimble_parsec app | |
==> makeup | |
Compiling 43 files (.ex) | |
Generated makeup app | |
===> Compiling metrics | |
===> Compiling unicode_util_compat | |
===> Compiling idna | |
==> bunt | |
Compiling 2 files (.ex) | |
Generated bunt app | |
==> gettext | |
Compiling 1 file (.yrl) | |
Compiling 1 file (.erl) | |
Compiling 20 files (.ex) | |
Generated gettext app | |
==> jose | |
Compiling 89 files (.erl) | |
src/jose_public_key.erl:44: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:60: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:84: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:107: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:122: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:234: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
Compiling 8 files (.ex) | |
Generated jose app | |
===> Fetching pc ({git,"git://github.com/blt/port_compiler.git",{tag,"1.6.0"}}) | |
===> Compiling pc | |
===> Compiling syslog | |
===> Compiling c_src/syslog_drv.c | |
===> Linking priv/syslog_drv.so | |
===> Compiling ranch | |
src/ranch_ssl.erl:128: Warning: ssl:ssl_accept/2: deprecated; use ssl:handshake/2 instead | |
==> poolboy (compile) | |
Compiled src/poolboy_worker.erl | |
Compiled src/poolboy_sup.erl | |
src/poolboy.erl:59: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
Compiled src/poolboy.erl | |
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/eternal/mix.exs:38 | |
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/eternal/mix.exs:39 | |
==> eternal | |
Compiling 5 files (.ex) | |
Generated eternal app | |
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:57 | |
warning: found quoted keyword "bench" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:58 | |
warning: found quoted keyword "cachex" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:59 | |
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:60 | |
warning: found quoted keyword "bench" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:65 | |
==> cachex | |
Compiling 51 files (.ex) | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/cachex/policy/lrw.ex:108 | |
Generated cachex app | |
==> decimal | |
Compiling 1 file (.ex) | |
Generated decimal app | |
==> comeonin | |
Compiling 2 files (.ex) | |
Generated comeonin app | |
==> jason | |
Compiling 8 files (.ex) | |
Generated jason app | |
warning: String.strip/1 is deprecated. Use String.trim/1 instead | |
/opt/pleroma/deps/poison/mix.exs:4 | |
==> poison | |
Compiling 4 files (.ex) | |
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead | |
lib/poison/encoder.ex:173 | |
Generated poison app | |
==> ex_syslogger | |
Compiling 2 files (.ex) | |
Generated ex_syslogger app | |
==> ssl_verify_fun | |
Compiling 7 files (.erl) | |
Generated ssl_verify_fun app | |
===> Compiling gen_smtp | |
src/socket.erl:124: Warning: ssl:ssl_accept/1: deprecated; use ssl:handshake/1 instead | |
src/socket.erl:233: Warning: ssl:ssl_accept/3: deprecated; use ssl:handshake/3 instead | |
src/smtp_util.erl:71: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 | |
src/smtp_util.erl:71: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 | |
==> html_entities | |
Compiling 2 files (.ex) | |
Generated html_entities app | |
==> combine | |
Compiling 6 files (.ex) | |
Generated combine app | |
==> mogrify | |
Compiling 9 files (.ex) | |
Generated mogrify app | |
===> Compiling certifi | |
===> Compiling hackney | |
==> ex_aws | |
Compiling 25 files (.ex) | |
Generated ex_aws app | |
==> ex_aws_s3 | |
Compiling 7 files (.ex) | |
warning: Stream.chunk/4 is deprecated. Use Stream.chunk_every/4 instead | |
lib/ex_aws/s3/delete_all_objects.ex:34 | |
Generated ex_aws_s3 app | |
==> tzdata | |
Compiling 16 files (.ex) | |
Generated tzdata app | |
==> calendar | |
Compiling 20 files (.ex) | |
Generated calendar app | |
==> timex | |
Compiling 58 files (.ex) | |
Generated timex app | |
==> earmark | |
Compiling 1 file (.yrl) | |
Compiling 2 files (.xrl) | |
Compiling 3 files (.erl) | |
Compiling 24 files (.ex) | |
Generated earmark app | |
==> db_connection | |
Compiling 23 files (.ex) | |
Generated db_connection app | |
==> httpoison | |
Compiling 2 files (.ex) | |
Generated httpoison app | |
==> web_push_encryption | |
Compiling 6 files (.ex) | |
Generated web_push_encryption app | |
==> credo | |
Compiling 178 files (.ex) | |
Generated credo app | |
==> makeup_elixir | |
Compiling 3 files (.ex) | |
Generated makeup_elixir app | |
==> ex_doc | |
Compiling 18 files (.ex) | |
Generated ex_doc app | |
==> phoenix_pubsub | |
Compiling 13 files (.ex) | |
Generated phoenix_pubsub app | |
===> Compiling mochiweb | |
src/mochiweb_multipart.erl:59: Warning: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1 | |
src/mochitemp.erl:108: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 | |
src/mochiweb_session.erl:144: Warning: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1 | |
src/mochiweb_socket.erl:91: Warning: ssl:ssl_accept/2: deprecated; use ssl:handshake/2 instead | |
src/mochiweb_html.erl:26: Warning: export_all flag enabled - all functions will be exported | |
==> html_sanitize_ex | |
Compiling 11 files (.ex) | |
Generated html_sanitize_ex app | |
==> floki | |
Compiling 1 file (.xrl) | |
Compiling 1 file (.erl) | |
Compiling 21 files (.ex) | |
Generated floki app | |
===> Compiling cowlib | |
src/cow_multipart.erl:392: Warning: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1 | |
===> Compiling cowboy | |
src/cowboy_rest.erl:69: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_rest.erl:1006: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_websocket.erl:147: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_websocket.erl:645: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_websocket.erl:755: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_handler.erl:87: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_handler.erl:116: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_handler.erl:235: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/cowboy_handler.erl:290: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
===> Compiling crypt | |
make: Entering directory '/opt/pleroma/deps/crypt/c_src' | |
cc -DHAVE_CRYPT_R -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -fPIC -I /usr/lib/erlang/erts-10.4.1/include/ -I /usr/lib/erlang/lib/erl_interface-3.12/include -c -o /opt/pleroma/deps/crypt/c_src/crypt.o /opt/pleroma/deps/crypt/c_src/crypt.c | |
/opt/pleroma/deps/crypt/c_src/crypt.c:51:9: note: #pragma message: using crypt_r | |
#pragma message "using crypt_r" | |
^~~~~~~ | |
cc /opt/pleroma/deps/crypt/c_src/crypt.o -lpthread -lcrypt -shared -L /usr/lib/erlang/lib/erl_interface-3.12/lib -lerl_interface -lei -o /opt/pleroma/deps/crypt/c_src/../priv/crypt.so | |
make: Leaving directory '/opt/pleroma/deps/crypt/c_src' | |
==> mime | |
Compiling 2 files (.ex) | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
Generated mime app | |
==> tesla | |
Compiling 23 files (.ex) | |
warning: module attribute @since was set but never used | |
lib/tesla.ex:478 | |
Generated tesla app | |
==> postgrex | |
Compiling 62 files (.ex) | |
warning: Enum.partition/2 is deprecated. Use Enum.split_with/2 instead | |
lib/postgrex/error_code.ex:14 | |
Generated postgrex app | |
==> ecto | |
Compiling 70 files (.ex) | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/ecto/repo.ex:112 | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/ecto/schema.ex:1855 | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/ecto/changeset.ex:1571 | |
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch | |
lib/ecto/query/planner.ex:1278 | |
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch | |
lib/ecto/repo/preloader.ex:398 | |
warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead | |
Found at 3 locations: | |
lib/ecto/changeset.ex:2400 | |
lib/ecto/query/inspect.ex:15 | |
lib/ecto/query/inspect.ex:29 | |
Generated ecto app | |
==> plug_crypto | |
Compiling 4 files (.ex) | |
Generated plug_crypto app | |
==> plug | |
Compiling 1 file (.erl) | |
Compiling 38 files (.ex) | |
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch | |
lib/plug/conn/wrapper_error.ex:23 | |
Generated plug app | |
==> plug_cowboy | |
Compiling 5 files (.ex) | |
Generated plug_cowboy app | |
==> phoenix | |
Compiling 67 files (.ex) | |
warning: function Phoenix.HTML.Safe.to_iodata/1 is undefined (module Phoenix.HTML.Safe is not available) | |
lib/phoenix/template/html.ex:14 | |
Generated phoenix app | |
==> trailing_format_plug | |
Compiling 1 file (.ex) | |
Generated trailing_format_plug app | |
==> phoenix_html | |
Compiling 8 files (.ex) | |
Generated phoenix_html app | |
==> cors_plug | |
Compiling 1 file (.ex) | |
Generated cors_plug app | |
==> swoosh | |
Compiling 28 files (.ex) | |
Generated swoosh app | |
==> phoenix_ecto | |
Compiling 6 files (.ex) | |
Generated phoenix_ecto app | |
==> pleroma | |
Compiling 167 files (.ex) | |
Generated pleroma app | |
What domain will your instance use? (e.g pleroma.soykaf.com) [] pl.noellabo.jp | |
What is the name of your instance? (e.g. Pleroma/Soykaf) [] Pleroma/pl | |
What is your admin email address? [] [email protected] | |
What is the hostname of your database? [localhost] | |
What is the name of your database? [pleroma_dev] | |
What is the user used to connect to your database? [pleroma] | |
What is the password used to connect to your database? [autogenerated] | |
Writing config to config/generated_config.exs. You should rename it to config/prod.secret.exs or config/dev.secret.exs. | |
Writing config/setup_db.psql. | |
To get started: | |
1. Verify the contents of the generated files. | |
2. Run `sudo -u postgres psql -f 'config/setup_db.psql'`. | |
3. Run `mv 'config/generated_config.exs' 'config/prod.secret.exs'`. | |
noel@pl:/opt/pleroma$ sudo -u postgres psql -f 'config/setup_db.psql' | |
CREATE ROLE | |
CREATE DATABASE | |
You are now connected to database "pleroma_dev" as user "postgres". | |
CREATE EXTENSION | |
CREATE EXTENSION | |
CREATE EXTENSION | |
noel@pl:/opt/pleroma$ sudo -Hu pleroma mv 'config/generated_config.exs' 'config/prod.secret.exs' | |
noel@pl:/opt/pleroma$ sudo -Hu pleroma MIX_ENV=prod mix ecto.migrate | |
===> Compiling parse_trans | |
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/unsafe/mix.exs:37 | |
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/unsafe/mix.exs:38 | |
==> unsafe | |
Compiling 3 files (.ex) | |
Generated unsafe app | |
==> base64url (compile) | |
===> Compiling mimerl | |
==> connection | |
Compiling 1 file (.ex) | |
Generated connection app | |
==> pbkdf2_elixir | |
Compiling 5 files (.ex) | |
Generated pbkdf2_elixir app | |
===> Compiling metrics | |
===> Compiling unicode_util_compat | |
===> Compiling idna | |
==> gettext | |
Compiling 1 file (.erl) | |
Compiling 20 files (.ex) | |
Generated gettext app | |
==> jose | |
Compiling 89 files (.erl) | |
src/jose_public_key.erl:44: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:60: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:84: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:107: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:122: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
src/jose_public_key.erl:234: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
Compiling 8 files (.ex) | |
Generated jose app | |
===> Compiling syslog | |
===> Compiling ranch | |
==> poolboy (compile) | |
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/eternal/mix.exs:38 | |
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/eternal/mix.exs:39 | |
==> eternal | |
Compiling 5 files (.ex) | |
Generated eternal app | |
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:57 | |
warning: found quoted keyword "bench" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:58 | |
warning: found quoted keyword "cachex" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:59 | |
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:60 | |
warning: found quoted keyword "bench" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes | |
/opt/pleroma/deps/cachex/mix.exs:65 | |
==> cachex | |
Compiling 51 files (.ex) | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/cachex/policy/lrw.ex:108 | |
Generated cachex app | |
==> decimal | |
Compiling 1 file (.ex) | |
Generated decimal app | |
==> comeonin | |
Compiling 2 files (.ex) | |
Generated comeonin app | |
==> jason | |
Compiling 8 files (.ex) | |
Generated jason app | |
warning: String.strip/1 is deprecated. Use String.trim/1 instead | |
/opt/pleroma/deps/poison/mix.exs:4 | |
==> poison | |
Compiling 4 files (.ex) | |
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead | |
lib/poison/encoder.ex:173 | |
Generated poison app | |
==> ex_syslogger | |
Compiling 2 files (.ex) | |
Generated ex_syslogger app | |
==> ssl_verify_fun | |
Compiling 7 files (.erl) | |
Generated ssl_verify_fun app | |
===> Compiling gen_smtp | |
==> html_entities | |
Compiling 2 files (.ex) | |
Generated html_entities app | |
==> combine | |
Compiling 6 files (.ex) | |
Generated combine app | |
==> mogrify | |
Compiling 9 files (.ex) | |
Generated mogrify app | |
===> Compiling certifi | |
===> Compiling hackney | |
==> ex_aws | |
Compiling 25 files (.ex) | |
Generated ex_aws app | |
==> ex_aws_s3 | |
Compiling 7 files (.ex) | |
warning: Stream.chunk/4 is deprecated. Use Stream.chunk_every/4 instead | |
lib/ex_aws/s3/delete_all_objects.ex:34 | |
Generated ex_aws_s3 app | |
==> tzdata | |
Compiling 16 files (.ex) | |
Generated tzdata app | |
==> calendar | |
Compiling 20 files (.ex) | |
Generated calendar app | |
==> timex | |
Compiling 58 files (.ex) | |
Generated timex app | |
==> earmark | |
Compiling 3 files (.erl) | |
Compiling 24 files (.ex) | |
Generated earmark app | |
==> db_connection | |
Compiling 23 files (.ex) | |
Generated db_connection app | |
==> httpoison | |
Compiling 2 files (.ex) | |
Generated httpoison app | |
==> web_push_encryption | |
Compiling 6 files (.ex) | |
Generated web_push_encryption app | |
==> phoenix_pubsub | |
Compiling 13 files (.ex) | |
Generated phoenix_pubsub app | |
===> Compiling mochiweb | |
==> html_sanitize_ex | |
Compiling 11 files (.ex) | |
Generated html_sanitize_ex app | |
==> floki | |
Compiling 1 file (.erl) | |
Compiling 21 files (.ex) | |
Generated floki app | |
===> Compiling cowlib | |
===> Compiling cowboy | |
===> Compiling crypt | |
make: Entering directory '/opt/pleroma/deps/crypt/c_src' | |
make: '/opt/pleroma/deps/crypt/c_src/../priv/crypt.so' is up to date. | |
make: Leaving directory '/opt/pleroma/deps/crypt/c_src' | |
==> mime | |
Compiling 2 files (.ex) | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
warning: this clause cannot match because a previous clause at line 2 always matches | |
lib/mime.ex:2 | |
Generated mime app | |
==> tesla | |
Compiling 23 files (.ex) | |
warning: module attribute @since was set but never used | |
lib/tesla.ex:478 | |
Generated tesla app | |
==> postgrex | |
Compiling 62 files (.ex) | |
warning: Enum.partition/2 is deprecated. Use Enum.split_with/2 instead | |
lib/postgrex/error_code.ex:14 | |
Generated postgrex app | |
==> ecto | |
Compiling 70 files (.ex) | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/ecto/repo.ex:112 | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/ecto/schema.ex:1855 | |
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions | |
lib/ecto/changeset.ex:1571 | |
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch | |
lib/ecto/query/planner.ex:1278 | |
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch | |
lib/ecto/repo/preloader.ex:398 | |
warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead | |
Found at 3 locations: | |
lib/ecto/changeset.ex:2400 | |
lib/ecto/query/inspect.ex:15 | |
lib/ecto/query/inspect.ex:29 | |
Generated ecto app | |
==> plug_crypto | |
Compiling 4 files (.ex) | |
Generated plug_crypto app | |
==> plug | |
Compiling 1 file (.erl) | |
Compiling 38 files (.ex) | |
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch | |
lib/plug/conn/wrapper_error.ex:23 | |
Generated plug app | |
==> plug_cowboy | |
Compiling 5 files (.ex) | |
Generated plug_cowboy app | |
==> phoenix | |
Compiling 67 files (.ex) | |
warning: function Phoenix.HTML.Safe.to_iodata/1 is undefined (module Phoenix.HTML.Safe is not available) | |
lib/phoenix/template/html.ex:14 | |
Generated phoenix app | |
==> trailing_format_plug | |
Compiling 1 file (.ex) | |
Generated trailing_format_plug app | |
==> phoenix_html | |
Compiling 8 files (.ex) | |
Generated phoenix_html app | |
==> cors_plug | |
Compiling 1 file (.ex) | |
Generated cors_plug app | |
==> swoosh | |
Compiling 28 files (.ex) | |
Generated swoosh app | |
==> phoenix_ecto | |
Compiling 6 files (.ex) | |
Generated phoenix_ecto app | |
==> pleroma | |
Compiling 167 files (.ex) | |
Generated pleroma app | |
22:18:23.210 [info] == Running Pleroma.Repo.Migrations.CreatePleroma.User.change/0 forward | |
22:18:23.210 [info] create table users | |
22:18:23.214 [info] == Migrated in 0.0s | |
22:18:23.234 [info] == Running Pleroma.Repo.Migrations.CreatePleroma.Activity.change/0 forward | |
22:18:23.234 [info] create table activities | |
22:18:23.237 [info] create index activities_data_index | |
22:18:23.237 [info] == Migrated in 0.0s | |
22:18:23.255 [info] == Running Pleroma.Repo.Migrations.CreatePleroma.Object.change/0 forward | |
22:18:23.255 [info] create table objects | |
22:18:23.258 [info] == Migrated in 0.0s | |
22:18:23.272 [info] == Running Pleroma.Repo.Migrations.AddFollowingListToUsers.change/0 forward | |
22:18:23.273 [info] alter table users | |
22:18:23.273 [info] == Migrated in 0.0s | |
22:18:23.286 [info] == Running Pleroma.Repo.Migrations.AddApIdToUsers.change/0 forward | |
22:18:23.286 [info] alter table users | |
22:18:23.286 [info] == Migrated in 0.0s | |
22:18:23.300 [info] == Running Pleroma.Repo.Migrations.AddIndexToObjects.change/0 forward | |
22:18:23.300 [info] create index objects_data_index | |
22:18:23.301 [info] == Migrated in 0.0s | |
22:18:23.314 [info] == Running Pleroma.Repo.Migrations.AddUniqueIndexToEmailAndNickname.change/0 forward | |
22:18:23.314 [info] create index users_email_index | |
22:18:23.315 [info] create index users_nickname_index | |
22:18:23.316 [info] == Migrated in 0.0s | |
22:18:23.333 [info] == Running Pleroma.Repo.Migrations.AddAvatarObjectToUsers.change/0 forward | |
22:18:23.333 [info] alter table users | |
22:18:23.333 [info] == Migrated in 0.0s | |
22:18:23.351 [info] == Running Pleroma.Repo.Migrations.CreateWebsubServerSubscription.change/0 forward | |
22:18:23.351 [info] create table websub_server_subscriptions | |
22:18:23.354 [info] == Migrated in 0.0s | |
22:18:23.367 [info] == Running Pleroma.Repo.Migrations.AddFieldsToUsers.change/0 forward | |
22:18:23.367 [info] alter table users | |
22:18:23.372 [info] == Migrated in 0.0s | |
22:18:23.389 [info] == Running Pleroma.Repo.Migrations.CreateWebsubClientSubscription.change/0 forward | |
22:18:23.389 [info] create table websub_client_subscriptions | |
22:18:23.392 [info] == Migrated in 0.0s | |
22:18:23.407 [info] == Running Pleroma.Repo.Migrations.AddUserAndHub.change/0 forward | |
22:18:23.407 [info] alter table websub_client_subscriptions | |
22:18:23.408 [info] == Migrated in 0.0s | |
22:18:23.420 [info] == Running Pleroma.Repo.Migrations.AddIdContraintsToActivitiesAndObjects.change/0 forward | |
22:18:23.420 [info] == Migrated in 0.0s | |
22:18:23.433 [info] == Running Pleroma.Repo.Migrations.AddIdContraintsToActivitiesAndObjectsPartTwo.change/0 forward | |
22:18:23.433 [info] drop index if exists objects_unique_apid_index | |
22:18:23.434 [info] drop index if exists activities_unique_apid_index | |
22:18:23.434 [info] create index objects_unique_apid_index | |
22:18:23.436 [info] create index activities_unique_apid_index | |
22:18:23.437 [info] == Migrated in 0.0s | |
22:18:23.453 [info] == Running Pleroma.Repo.Migrations.AddLocalFieldToActivities.change/0 forward | |
22:18:23.454 [info] alter table activities | |
22:18:23.457 [info] create index activities_local_index | |
22:18:23.458 [info] == Migrated in 0.0s | |
22:18:23.471 [info] == Running Pleroma.Repo.Migrations.AddUniqueIndexToAPID.change/0 forward | |
22:18:23.472 [info] create index users_ap_id_index | |
22:18:23.473 [info] == Migrated in 0.0s | |
22:18:23.488 [info] == Running Pleroma.Repo.Migrations.CaseInsensivtivity.up/0 forward | |
22:18:23.488 [info] execute "create extension if not exists citext" | |
22:18:23.489 [info] alter table users | |
22:18:23.492 [info] == Migrated in 0.0s | |
22:18:23.506 [info] == Running Pleroma.Repo.Migrations.LongerBios.change/0 forward | |
22:18:23.506 [info] alter table users | |
22:18:23.506 [info] == Migrated in 0.0s | |
22:18:23.518 [info] == Running Pleroma.Repo.Migrations.RemoveActivitiesIndex.change/0 forward | |
22:18:23.519 [info] drop index activities_data_index | |
22:18:23.519 [info] == Migrated in 0.0s | |
22:18:23.532 [info] == Running Pleroma.Repo.Migrations.AddObjectActivityIndex.change/0 forward | |
22:18:23.532 [info] == Migrated in 0.0s | |
22:18:23.545 [info] == Running Pleroma.Repo.Migrations.AddObjectActivityIndexPartTwo.change/0 forward | |
22:18:23.545 [info] drop index if exists activities_create_objects_index | |
22:18:23.545 [info] create index activities_create_objects_index | |
22:18:23.546 [info] == Migrated in 0.0s | |
22:18:23.559 [info] == Running Pleroma.Repo.Migrations.AddActorIndexToActivity.change/0 forward | |
22:18:23.559 [info] create index activities_actor_index | |
22:18:23.561 [info] == Migrated in 0.0s | |
warning: unused alias Repo | |
priv/repo/migrations/20170719152213_add_follower_address_to_user.exs:5 | |
warning: unused alias User | |
priv/repo/migrations/20170719152213_add_follower_address_to_user.exs:5 | |
warning: unused import Ecto.Query | |
priv/repo/migrations/20170719152213_add_follower_address_to_user.exs:3 | |
warning: unused import Supervisor.Spec | |
priv/repo/migrations/20170719152213_add_follower_address_to_user.exs:4 | |
22:18:23.575 [info] == Running Pleroma.Repo.Migrations.AddFollowerAddressToUser.up/0 forward | |
22:18:23.576 [info] alter table users | |
22:18:23.576 [info] == Migrated in 0.0s | |
22:18:23.592 [info] == Running Pleroma.Repo.Migrations.AddMastodonApps.change/0 forward | |
22:18:23.592 [info] create table apps | |
22:18:23.595 [info] == Migrated in 0.0s | |
22:18:23.612 [info] == Running Pleroma.Repo.Migrations.CreateOAuthAuthorizations.change/0 forward | |
22:18:23.613 [info] create table oauth_authorizations | |
22:18:23.615 [info] == Migrated in 0.0s | |
22:18:23.632 [info] == Running Pleroma.Repo.Migrations.CreateOAuthToken.change/0 forward | |
22:18:23.632 [info] create table oauth_tokens | |
22:18:23.636 [info] == Migrated in 0.0s | |
22:18:23.652 [info] == Running Pleroma.Repo.Migrations.CreateNotifications.change/0 forward | |
22:18:23.652 [info] create table notifications | |
22:18:23.655 [info] create index notifications_user_id_index | |
22:18:23.656 [info] == Migrated in 0.0s | |
22:18:23.668 [info] == Running Pleroma.Repo.Migrations.AddContextIndex.change/0 forward | |
22:18:23.668 [info] create index activities_context_index | |
22:18:23.670 [info] == Migrated in 0.0s | |
22:18:23.683 [info] == Running Pleroma.Repo.Migrations.AddFTSIndexToActivities.change/0 forward | |
22:18:23.683 [info] create index activities_fts | |
22:18:23.686 [info] == Migrated in 0.0s | |
22:18:23.698 [info] == Running Pleroma.Repo.Migrations.AddTagIndex.change/0 forward | |
22:18:23.699 [info] create index activities_tags | |
22:18:23.700 [info] == Migrated in 0.0s | |
22:18:23.716 [info] == Running Pleroma.Repo.Migrations.CreatePasswordResetTokens.change/0 forward | |
22:18:23.716 [info] create table password_reset_tokens | |
22:18:23.719 [info] == Migrated in 0.0s | |
22:18:23.731 [info] == Running Pleroma.Repo.Migrations.AddSecondObjectIndexToActivty.change/0 forward | |
22:18:23.731 [info] drop index if exists activities_create_objects_index | |
22:18:23.733 [info] create index activities_create_objects_index | |
22:18:23.734 [info] == Migrated in 0.0s | |
22:18:23.746 [info] == Running Pleroma.Repo.Migrations.DropObjectIndex.change/0 forward | |
22:18:23.746 [info] drop index if exists objects_data_index | |
22:18:23.747 [info] == Migrated in 0.0s | |
22:18:23.759 [info] == Running Pleroma.Repo.Migrations.AddObjectActorIndex.change/0 forward | |
22:18:23.759 [info] create index objects_actor_type | |
22:18:23.762 [info] == Migrated in 0.0s | |
22:18:23.778 [info] == Running Pleroma.Repo.Migrations.AddActorToActivity.up/0 forward | |
22:18:23.778 [info] alter table activities | |
22:18:23.779 [info] create index activities_actor_id_DESC_NULLS_LAST_index | |
22:18:23.781 [info] == Migrated in 0.0s | |
22:18:23.801 [info] == Running Pleroma.Repo.Migrations.FillActorField.up/0 forward | |
22:18:23.803 [info] == Migrated in 0.0s | |
22:18:23.816 [info] == Running Pleroma.Repo.Migrations.AddSortIndexToActivities.change/0 forward | |
22:18:23.816 [info] create index activities_id_desc_nulls_last_index | |
22:18:23.818 [info] == Migrated in 0.0s | |
22:18:23.830 [info] == Running Pleroma.Repo.Migrations.AddLocalIndexToUser.change/0 forward | |
22:18:23.830 [info] create index users_local_index | |
22:18:23.831 [info] == Migrated in 0.0s | |
22:18:23.848 [info] == Running Pleroma.Repo.Migrations.AddRecipientsToActivities.change/0 forward | |
22:18:23.848 [info] alter table activities | |
22:18:23.848 [info] create index activities_recipients_index | |
22:18:23.849 [info] == Migrated in 0.0s | |
22:18:23.866 [info] == Running Pleroma.Repo.Migrations.FillRecipientsInActivities.up/0 forward | |
22:18:23.867 [info] == Migrated in 0.0s | |
22:18:23.883 [info] == Running Pleroma.Repo.Migrations.MakeFollowingPostgresArray.change/0 forward | |
22:18:23.883 [info] alter table users | |
22:18:23.883 [info] execute "update users set following_temp = array(select jsonb_array_elements_text(following));\n" | |
22:18:23.885 [info] alter table users | |
22:18:23.885 [info] rename column following_temp to following on table users | |
22:18:23.885 [info] == Migrated in 0.0s | |
22:18:23.899 [info] == Running Pleroma.Repo.Migrations.AddFollowerAddressIndexToUsers.change/0 forward | |
22:18:23.899 [info] create index users_follower_address_index | |
22:18:23.901 [info] create index users_following_index | |
22:18:23.902 [info] == Migrated in 0.0s | |
22:18:23.915 [info] == Running Pleroma.Repo.Migrations.DropLocalIndexOnActivities.change/0 forward | |
22:18:23.915 [info] drop index users_local_index | |
22:18:23.915 [info] == Migrated in 0.0s | |
22:18:23.931 [info] == Running Pleroma.Repo.Migrations.ActuallyDropLocalIndex.change/0 forward | |
22:18:23.931 [info] create index users_local_index | |
22:18:23.933 [info] drop index if exists activities_local_index | |
22:18:23.933 [info] == Migrated in 0.0s | |
22:18:23.949 [info] == Running Pleroma.Repo.Migrations.CreateLists.change/0 forward | |
22:18:23.950 [info] create table lists | |
22:18:23.953 [info] create index lists_user_id_index | |
22:18:23.954 [info] == Migrated in 0.0s | |
22:18:23.966 [info] == Running Pleroma.Repo.Migrations.ModifyActivityIndex.change/0 forward | |
22:18:23.966 [info] create index activities_id_desc_nulls_last_local_index | |
22:18:23.968 [info] drop index if exists activities_id_desc_nulls_last_index | |
22:18:23.968 [info] == Migrated in 0.0s | |
22:18:23.982 [info] == Running Pleroma.Repo.Migrations.AddTrigramExtension.up/0 forward | |
22:18:23.983 [warn] ATTENTION ATTENTION ATTENTION | |
22:18:23.983 [warn] This will try to create the pg_trgm extension on your database. If your database user does NOT have the necessary rights, you will have to do it manually and re-run the migrations. | |
You can probably do this by running the following: | |
22:18:23.983 [warn] sudo -u postgres psql pleroma_dev -c "create extension if not exists pg_trgm" | |
22:18:23.983 [info] execute "create extension if not exists pg_trgm" | |
22:18:23.983 [info] == Migrated in 0.0s | |
22:18:23.996 [info] == Running Pleroma.Repo.Migrations.CreateUserTrigramIndex.change/0 forward | |
22:18:23.996 [info] create index users_trigram_index | |
22:18:23.997 [info] == Migrated in 0.0s | |
22:18:24.010 [info] == Running Pleroma.Repo.Migrations.AddListFollowIndex.change/0 forward | |
22:18:24.010 [info] create index lists_following_index | |
22:18:24.012 [info] == Migrated in 0.0s | |
22:18:24.024 [info] == Running Pleroma.Repo.Migrations.CreateApidHostExtractionIndex.change/0 forward | |
22:18:24.024 [info] create index activities_hosts | |
22:18:24.026 [info] == Migrated in 0.0s | |
22:18:24.041 [info] == Running Pleroma.Repo.Migrations.CreateUserInviteTokens.change/0 forward | |
22:18:24.041 [info] create table user_invite_tokens | |
22:18:24.043 [info] == Migrated in 0.0s | |
22:18:24.057 [info] == Running Pleroma.Repo.Migrations.CreateActivitiesInReplyToIndex.change/0 forward | |
22:18:24.057 [info] create index activities_in_reply_to | |
22:18:24.059 [info] == Migrated in 0.0s | |
22:18:24.079 [info] == Running Pleroma.Repo.Migrations.CreateFilters.change/0 forward | |
warning: the :datetime type in migrations is deprecated, please use :utc_datetime or :naive_datetime instead | |
(ecto) lib/ecto/migration.ex:677: Ecto.Migration.add/3 | |
priv/repo/migrations/20180813003722_create_filters.exs:11: Pleroma.Repo.Migrations.CreateFilters.change/0 | |
(stdlib) timer.erl:197: :timer.tc/3 | |
(ecto) lib/ecto/migration/runner.ex:25: Ecto.Migration.Runner.run/6 | |
(ecto) lib/ecto/migrator.ex:128: Ecto.Migrator.attempt/6 | |
22:18:24.079 [info] create table filters | |
22:18:24.082 [info] create index filters_user_id_index | |
22:18:24.083 [info] create index hided_phrases_index | |
22:18:24.084 [info] == Migrated in 0.0s | |
22:18:24.099 [info] == Running Pleroma.Repo.Migrations.AddRecipientsToAndCcFieldsToActivities.change/0 forward | |
22:18:24.099 [info] alter table activities | |
22:18:24.100 [info] create index activities_recipients_to_index | |
22:18:24.100 [info] create index activities_recipients_cc_index | |
22:18:24.101 [info] == Migrated in 0.0s | |
22:18:24.115 [info] == Running Pleroma.Repo.Migrations.ActivitiesAddToCcIndices.change/0 forward | |
22:18:24.115 [info] create index activities_to_index | |
22:18:24.116 [info] create index activities_cc_index | |
22:18:24.116 [info] == Migrated in 0.0s | |
22:18:24.131 [info] == Running Pleroma.Repo.Migrations.RemoveRecipientsToAndCcFieldsFromActivities.change/0 forward | |
22:18:24.131 [info] alter table activities | |
22:18:24.131 [info] == Migrated in 0.0s | |
22:18:24.145 [info] == Running Pleroma.Repo.Migrations.UsersAddIsModeratorIndex.change/0 forward | |
22:18:24.145 [info] create index users_is_moderator_index | |
22:18:24.146 [info] == Migrated in 0.0s | |
22:18:24.162 [info] == Running Pleroma.Repo.Migrations.CreatePushSubscriptions.change/0 forward | |
22:18:24.163 [info] create table push_subscriptions | |
22:18:24.166 [info] create index push_subscriptions_user_id_token_id_index | |
22:18:24.167 [info] == Migrated in 0.0s | |
22:18:24.180 [info] == Running Pleroma.Repo.Migrations.UsersAddLastRefreshedAt.change/0 forward | |
22:18:24.180 [info] alter table users | |
22:18:24.181 [info] == Migrated in 0.0s | |
22:18:24.195 [info] == Running Pleroma.Repo.Migrations.AddUUIDExtension.change/0 forward | |
22:18:24.195 [info] execute "create extension if not exists \"uuid-ossp\"" | |
22:18:24.196 [info] == Migrated in 0.0s | |
22:18:24.209 [info] == Running Pleroma.Repo.Migrations.AddUUIDsToUserInfo.change/0 forward | |
22:18:24.209 [info] execute "update users set info = jsonb_set(info, '{\"id\"}', to_jsonb(uuid_generate_v4()))" | |
22:18:24.211 [info] == Migrated in 0.0s | |
22:18:24.225 [info] == Running Pleroma.Repo.Migrations.AddTagsToUsers.change/0 forward | |
22:18:24.225 [info] alter table users | |
22:18:24.226 [info] create index users_tags_index | |
22:18:24.226 [info] == Migrated in 0.0s | |
22:18:24.242 [info] == Running Pleroma.Repo.Migrations.AddBookmarksToUsers.change/0 forward | |
22:18:24.242 [info] alter table users | |
22:18:24.248 [info] == Migrated in 0.0s | |
22:18:24.274 [info] == Running Pleroma.Repo.Migrations.UsersAndActivitiesFlakeId.change/0 forward | |
22:18:24.275 [info] execute "LOCK TABLE activities;" | |
22:18:24.276 [info] execute "LOCK TABLE users;" | |
22:18:24.276 [info] execute " ALTER TABLE activities\n DROP CONSTRAINT activities_pkey CASCADE,\n ALTER COLUMN id DROP default,\n ALTER COLUMN id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(id), 32, '0' ) AS uuid),\n ADD PRIMARY KEY (id);\n" | |
22:18:24.284 [info] execute "ALTER TABLE users\nDROP CONSTRAINT users_pkey CASCADE,\nALTER COLUMN id DROP default,\nALTER COLUMN id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(id), 32, '0' ) AS uuid),\nADD PRIMARY KEY (id);\n" | |
22:18:24.292 [info] execute "UPDATE users SET info = jsonb_set(info, '{pinned_activities}', array_to_json(ARRAY(select jsonb_array_elements_text(info->'pinned_activities')))::jsonb);" | |
22:18:24.293 [info] execute "ALTER TABLE notifications\nALTER COLUMN activity_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(activity_id), 32, '0' ) AS uuid),\nADD CONSTRAINT notifications_activity_id_fkey FOREIGN KEY (activity_id) REFERENCES activities(id) ON DELETE CASCADE;\n" | |
22:18:24.295 [info] execute "ALTER TABLE notifications\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT notifications_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.298 [info] execute "ALTER TABLE filters\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT filters_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.302 [info] execute "ALTER TABLE lists\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT lists_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.306 [info] execute "ALTER TABLE oauth_authorizations\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT oauth_authorizations_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.308 [info] execute "ALTER TABLE oauth_tokens\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT oauth_tokens_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.311 [info] execute "ALTER TABLE password_reset_tokens\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT password_reset_tokens_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.313 [info] execute "ALTER TABLE push_subscriptions\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT push_subscriptions_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.317 [info] execute "ALTER TABLE websub_client_subscriptions\nALTER COLUMN user_id SET DATA TYPE uuid USING CAST( LPAD( TO_HEX(user_id), 32, '0' ) AS uuid),\nADD CONSTRAINT websub_client_subscriptions_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;\n" | |
22:18:24.319 [info] == Migrated in 0.0s | |
22:18:24.336 [info] == Running Pleroma.Repo.Migrations.AddVisibilityFunction.up/0 forward | |
22:18:24.336 [info] execute "create or replace function activity_visibility(actor varchar, recipients varchar[], data jsonb) returns varchar as $$\nDECLARE\n fa varchar;\n public varchar := 'https://www.w3.org/ns/activitystreams#Public';\nBEGIN\n SELECT COALESCE(users.follower_address, '') into fa from users where users.ap_id = actor;\n\n IF data->'to' ? public THEN\n RETURN 'public';\n ELSIF data->'cc' ? public THEN\n RETURN 'unlisted';\n ELSIF ARRAY[fa] && recipients THEN\n RETURN 'private';\n ELSIF not(ARRAY[fa, public] && recipients) THEN\n RETURN 'direct';\n ELSE\n RETURN 'unknown';\n END IF;\nEND;\n$$ LANGUAGE plpgsql IMMUTABLE;\n" | |
22:18:24.339 [info] create index activities_visibility_index | |
22:18:24.340 [info] == Migrated in 0.0s | |
22:18:24.352 [info] == Running Pleroma.Repo.Migrations.CreateUserFtsIndex.change/0 forward | |
22:18:24.352 [info] create index users_fts_index | |
22:18:24.354 [info] == Migrated in 0.0s | |
22:18:24.367 [info] == Running Pleroma.Repo.Migrations.FixUserTrigramIndex.up/0 forward | |
22:18:24.367 [info] drop index if exists users_trigram_index | |
22:18:24.368 [info] create index users_trigram_index | |
22:18:24.369 [info] == Migrated in 0.0s | |
22:18:24.381 [info] == Running Pleroma.Repo.Migrations.UpdateActivityVisibility.up/0 forward | |
22:18:24.381 [info] execute "create or replace function activity_visibility(actor varchar, recipients varchar[], data jsonb) returns varchar as $$\nDECLARE\n fa varchar;\n public varchar := 'https://www.w3.org/ns/activitystreams#Public';\nBEGIN\n SELECT COALESCE(users.follower_address, '') into fa from users where users.ap_id = actor;\n\n IF data->'to' ? public THEN\n RETURN 'public';\n ELSIF data->'cc' ? public THEN\n RETURN 'unlisted';\n ELSIF ARRAY[fa] && recipients THEN\n RETURN 'private';\n ELSIF not(ARRAY[fa, public] && recipients) THEN\n RETURN 'direct';\n ELSE\n RETURN 'unknown';\n END IF;\nEND;\n$$ LANGUAGE plpgsql IMMUTABLE PARALLEL SAFE SECURITY DEFINER;\n" | |
22:18:24.382 [info] == Migrated in 0.0s | |
22:18:24.399 [info] == Running Pleroma.Repo.Migrations.CreateInstances.change/0 forward | |
22:18:24.400 [info] create table instances | |
22:18:24.402 [info] create index instances_host_index | |
22:18:24.403 [info] create index instances_unreachable_since_index | |
22:18:24.403 [info] == Migrated in 0.0s | |
22:18:24.417 [info] == Running Pleroma.Repo.Migrations.FixInfoIds.change/0 forward | |
22:18:24.417 [info] execute "update users set info = jsonb_set(info, '{id}', to_jsonb(uuid_generate_v4())) where info->'id' is null;" | |
22:18:24.418 [info] == Migrated in 0.0s | |
22:18:24.432 [info] == Running Pleroma.Repo.Migrations.UpdateActivityVisibilityAgain.up/0 forward | |
22:18:24.433 [info] execute "create or replace function activity_visibility(actor varchar, recipients varchar[], data jsonb) returns varchar as $$\nDECLARE\n fa varchar;\n public varchar := 'https://www.w3.org/ns/activitystreams#Public';\nBEGIN\n SELECT COALESCE(users.follower_address, '') into fa from public.users where users.ap_id = actor;\n\n IF data->'to' ? public THEN\n RETURN 'public';\n ELSIF data->'cc' ? public THEN\n RETURN 'unlisted';\n ELSIF ARRAY[fa] && recipients THEN\n RETURN 'private';\n ELSIF not(ARRAY[fa, public] && recipients) THEN\n RETURN 'direct';\n ELSE\n RETURN 'unknown';\n END IF;\nEND;\n$$ LANGUAGE plpgsql IMMUTABLE PARALLEL SAFE SECURITY DEFINER;\n" | |
22:18:24.434 [info] == Migrated in 0.0s | |
22:18:24.447 [info] == Running Pleroma.Repo.Migrations.ChangePushSubscriptionsVarchar.change/0 forward | |
22:18:24.447 [info] alter table push_subscriptions | |
22:18:24.448 [info] == Migrated in 0.0s | |
22:18:24.460 [info] == Running Pleroma.Repo.Migrations.AddActivitiesLikesIndex.change/0 forward | |
22:18:24.460 [info] create index activities_likes | |
22:18:24.461 [info] == Migrated in 0.0s | |
22:18:24.473 [info] == Running Pleroma.Repo.Migrations.SplitHideNetwork.up/0 forward | |
22:18:24.474 [info] execute "UPDATE users SET info = jsonb_set(info, '{hide_network}'::text[], 'false'::jsonb) WHERE NOT(info::jsonb ? 'hide_network') AND local" | |
22:18:24.475 [info] execute "UPDATE users SET info = jsonb_set(info, '{hide_followings}'::text[], info->'hide_network') WHERE local" | |
22:18:24.475 [info] execute "UPDATE users SET info = jsonb_set(info, '{hide_followers}'::text[], info->'hide_network') WHERE local" | |
22:18:24.475 [info] == Migrated in 0.0s | |
22:18:24.489 [info] == Running Pleroma.Repo.Migrations.AddCorrectDMIndex.up/0 forward | |
22:18:24.489 [info] drop index if exists activities_visibility_index | |
22:18:24.490 [info] create index activities_visibility_index | |
22:18:24.492 [info] == Migrated in 0.0s | |
noel@pl:/opt/pleroma$ sudo -Hu pleroma MIX_ENV=prod mix phx.server | |
22:18:42.170 [warn] !!!DEPRECATION WARNING!!! | |
You are using the old configuration mechanism for the frontend. Please check config.md. | |
22:18:42.255 [info] Retry queue disabled | |
22:18:42.312 [info] Running Pleroma.Web.Endpoint with cowboy 1.1.2 at https://pl.noellabo.jp | |
22:18:42.312 [info] Gopher server disabled | |
22:18:45.962 [info] tzdata release in place is from a file last modified Thu, 03 May 2018 23:55:14 GMT. Release file on server was last modified Tue, 26 Mar 2019 05:40:14 GMT. | |
22:18:47.403 [error] GenServer Tzdata.EtsHolder terminating | |
** (MatchError) no match of right hand side value: {:error, :cannot_create_table} | |
(tzdata) lib/tzdata/ets_holder.ex:59: Tzdata.EtsHolder.load_ets_table/1 | |
(tzdata) lib/tzdata/ets_holder.ex:52: Tzdata.EtsHolder.load_release/0 | |
(tzdata) lib/tzdata/ets_holder.ex:23: Tzdata.EtsHolder.handle_cast/2 | |
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:711: :gen_server.handle_msg/6 | |
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3 | |
Last message: {:"$gen_cast", :new_release_has_been_downloaded} | |
22:19:26.108 request_id=2mjnc1jqho0ti7o5fo000052 [info] GET / | |
22:19:26.137 request_id=2mjnc1jqho0ti7o5fo000052 [info] Sent 200 in 28ms | |
22:19:26.418 request_id=2mjnc1kd81s5suuoik0000lh [info] GET /api/statusnet/config.json | |
22:19:26.419 request_id=2mjnc1kd8aljtmr5nk00005i [info] GET /api/pleroma/emoji.json | |
22:19:26.420 request_id=2mjnc1kdaephs7o5fo000062 [info] GET /nodeinfo/2.0.json | |
22:19:26.440 request_id=2mjnc1kd8aljtmr5nk00005i [info] Sent 200 in 21ms | |
22:19:26.445 request_id=2mjnc1kd81s5suuoik0000lh [info] Sent 200 in 26ms | |
22:19:26.463 request_id=2mjnc1kdaephs7o5fo000062 [info] Sent 200 in 43ms | |
22:19:26.553 request_id=2mjnc1kl848i4uuoik0000m1 [info] GET /api/statuses/public_and_external_timeline.json | |
22:19:26.567 request_id=2mjnc1km372qqmi9e80000n1 [info] GET /api/statuses/public_and_external_timeline.json | |
22:19:26.592 request_id=2mjnc1km372qqmi9e80000n1 [info] Sent 200 in 25ms | |
22:19:26.592 request_id=2mjnc1kl848i4uuoik0000m1 [info] Sent 200 in 39ms | |
22:19:36.556 request_id=2mjnc279g0l6u47c7s0000nh [info] GET /api/statuses/public_and_external_timeline.json | |
22:19:36.571 request_id=2mjnc279g0l6u47c7s0000nh [info] Sent 200 in 14ms | |
22:19:46.555 request_id=2mjnc2ptfqk69v28i00000oh [info] GET /api/statuses/public_and_external_timeline.json | |
22:19:46.570 request_id=2mjnc2ptfqk69v28i00000oh [info] Sent 200 in 15ms | |
^C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment