friendica / docker

Docker image for Friendica
https://friendi.ca
GNU Affero General Public License v3.0
48 stars 19 forks source link

Docker Compose Install Not able to complete Install Wizard #266

Open tokenwizard opened 1 week ago

tokenwizard commented 1 week ago

Trying to setup a fresh instance using the recommended docker-compose.yml method.

Here is my docker-compose.yml

services:
  db:
    image: mariadb
    restart: always
    volumes:
      - ./db:/var/lib/mysql
    environment:
      - MYSQL_USER=friendica
      - MYSQL_PASSWORD=secretpassword
      - MYSQL_DATABASE=friendica
      - MYSQL_RANDOM_ROOT_PASSWORD=yes

  app:
    image: friendica
    restart: always
    volumes:
      - ./friendica:/var/www/html
    ports:
      - "8080:80"
    environment:
      - MYSQL_HOST=db
      - MYSQL_USER=friendica
      - MYSQL_PASSWORD=secretpassword
      - MYSQL_DATABASE=friendica
      - FRIENDICA_ADMIN_MAIL=root@friendica.local     
    depends_on:
      - db

Here is the console after the first time trying to complete install. Everything seems to start up fine for the db and app.

[+] Running 2/0
 ✔ Container friendica-db-1   Created                                                                                                                                                                                                                       0.0s 
 ✔ Container friendica-app-1  Created                                                                                                                                                                                                                       0.0s 
Attaching to app-1, db-1
db-1   | 2024-10-15 20:09:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.5.2+maria~ubu2404 started.
db-1   | 2024-10-15 20:09:11+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
db-1   | 2024-10-15 20:09:11+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db-1   | 2024-10-15 20:09:11+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.5.2+maria~ubu2404 started.
app-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
app-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
app-1  | [Tue Oct 15 20:09:11.879350 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.1.30 configured -- resuming normal operations
app-1  | [Tue Oct 15 20:09:11.879486 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
db-1   | 2024-10-15 20:09:12+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
db-1   | 2024-10-15 20:09:12 0 [Note] Starting MariaDB 11.5.2-MariaDB-ubu2404 source revision ea75a0b6009b0251e83193cd38c3974e36b65e06 server_uid <<redacted>> as process 1
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Compressed tables use zlib 1.3
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Number of transaction pools: 1
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
db-1   | 2024-10-15 20:09:12 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-1   | 2024-10-15 20:09:12 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 95
db-1   | 2024-10-15 20:09:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Completed initialization of buffer pool
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: End of log at LSN=47629
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Opened 3 undo tablespaces
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: log sequence number 47629; transaction id 14
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-1   | 2024-10-15 20:09:12 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1   | 2024-10-15 20:09:12 0 [Note] Plugin 'wsrep-provider' is disabled.
db-1   | 2024-10-15 20:09:12 0 [Note] InnoDB: Buffer pool(s) load completed at 241015 20:09:12
db-1   | 2024-10-15 20:09:16 0 [Note] Server socket created on IP: '0.0.0.0'.
db-1   | 2024-10-15 20:09:16 0 [Note] Server socket created on IP: '::'.
db-1   | 2024-10-15 20:09:16 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
db-1   | 2024-10-15 20:09:16 0 [Note] mariadbd: ready for connections.
db-1   | Version: '11.5.2-MariaDB-ubu2404'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:21 +0000] "GET / HTTP/1.1" 302 355 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 172.18.0.1 - - [15/Oct/2024:20:09:22 +0000] "GET /install/testrewrite HTTP/1.1" 204 180 "-" "Friendica/2024.08 DatabaseVersion/1571 +http://192.168.12.67:8080"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:21 +0000] "GET /install HTTP/1.1" 200 3637 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/global.css?v=2024.08 HTTP/1.1" 200 4617 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/jgrowl/jquery.jgrowl.min.css?v=2024.08 HTTP/1.1" 200 835 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/jquery-colorbox/example5/colorbox.css?v=2024.08 HTTP/1.1" 200 1599 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v=2024.08 HTTP/1.1" 200 943 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v=2024.08 HTTP/1.1" 200 4830 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/js/jquery.textinputs.js?v=2024.08 HTTP/1.1" 200 1882 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/js/autocomplete.js?v=2024.08 HTTP/1.1" 200 4450 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/jgrowl/jquery.jgrowl.min.js?v=2024.08 HTTP/1.1" 200 2096 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/asset/imagesloaded/imagesloaded.pkgd.min.js?v=2024.08 HTTP/1.1" 200 2161 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/asset/jquery-colorbox/jquery.colorbox-min.js?v=2024.08 HTTP/1.1" 200 5066 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/js/fancybox/jquery.fancybox.min.css?v=2024.08 HTTP/1.1" 200 3434 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v=2024.08 HTTP/1.1" 200 6856 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/js/fancybox/fancybox.config.js?v=2024.08 HTTP/1.1" 200 560 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/asset/base64/base64.min.js?v=2024.08 HTTP/1.1" 200 1067 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/asset/dompurify/dist/purify.min.js?v=2024.08 HTTP/1.1" 200 6599 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:22 +0000] "GET /view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v=2024.08 HTTP/1.1" 200 19551 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/js/main.js?v=2024.08 HTTP/1.1" 200 9739 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/js/fancybox/jquery.fancybox.min.js?v=2024.08 HTTP/1.1" 200 22366 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/js/vanillaEmojiPicker/vanillaEmojiPicker.min.js?v=2024.08 HTTP/1.1" 200 27050 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:23 +0000] "GET /view/install/style.css?v=2024.08 HTTP/1.1" 200 851 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:24 +0000] "GET /view/js/modernizr.js?v=2024.08 HTTP/1.1" 200 3970 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:24 +0000] "GET /view/asset/jquery/dist/jquery.min.js?v=2024.08 HTTP/1.1" 200 30176 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:25 +0000] "GET /view/asset/textcomplete/dist/textcomplete.min.js?v=2024.08 HTTP/1.1" 200 7489 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:25 +0000] "GET /view/install/green.png HTTP/1.1" 304 248 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:25 +0000] "GET /images/friendica.svg HTTP/1.1" 304 248 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:25 +0000] "GET /view/install/yellow.png HTTP/1.1" 304 248 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:25 +0000] "GET /friendica/view/install/info.png HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /friendica/view/install/install HTTP/1.1" 302 377 "http://192.168.12.67:8080/view/install/style.css?v=2024.08" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /ping?_=1729022964936 HTTP/1.1" 302 354 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:27 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 172.18.0.1 - - [15/Oct/2024:20:09:27 +0000] "GET /install/testrewrite HTTP/1.1" 204 180 "-" "Friendica/2024.08 DatabaseVersion/1571 +http://192.168.12.67:8080"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:26 +0000] "GET /install HTTP/1.1" 200 3637 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:28 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:29 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:30 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:31 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:32 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:33 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:34 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:35 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:36 +0000] "POST /index.php?pagename=install HTTP/1.1" 200 2879 "http://192.168.12.67:8080/install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:36 +0000] "GET /ping?_=1729022976765 HTTP/1.1" 302 354 "http://192.168.12.67:8080/index.php?pagename=install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:36 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"
app-1  | 172.18.0.1 - - [15/Oct/2024:20:09:40 +0000] "GET /install/testrewrite HTTP/1.1" 204 180 "-" "Friendica/2024.08 DatabaseVersion/1571 +http://192.168.12.67:8080"
app-1  | 192.168.12.128 - - [15/Oct/2024:20:09:36 +0000] "GET /install HTTP/1.1" 200 3637 "http://192.168.12.67:8080/index.php?pagename=install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
app-1  | 127.0.0.1 - - [15/Oct/2024:20:09:45 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.1.30 (internal dummy connection)"

I can access the install wizard at http://l<LAN_IP>:8080 and everything is green except TLS:

image

So far, so good. But when I click Next, it just goes to a blank white page and stops loading. What you see in the console output above includes what updated when I clicked next. Those last few lines just repeat themselves every 30 seconds or so but the page just stays white with no additional install wizard steps.

I'm using Zen/Firefox browser and installing into Arch linux in a Proxmox LXC (same way I am running several other LXCs for Docker Services)

                   -`                    root@Friendica 
                  .o+`                   -------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: PowerEdge R720 
               `+oooooo:                 Kernel: 6.8.8-4-pve 
               -+oooooo+:                Uptime: 49 mins 
             `/:-:++oooo+:               Packages: 131 (pacman) 
            `/++++/+++++++:              Shell: bash 5.2.37 
           `/++++++++++++++:             Resolution: 1024x768 
          `/+++ooooooooooooo/`           Terminal: /dev/pts/3 
         ./ooosssso++osssssso+`          CPU: Intel Xeon E5-2670 0 (4) @ 3.300GHz 
        .oossssso-````/ossssss+`         GPU: NVIDIA GeForce RTX 4060 Ti 16GB 
       -osssssso.      :ssssssso.        Memory: 104MiB / 4096MiB 
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-                               
   `/ossssso+/:-        -:/+osssso+-                             
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/

Docker Compose version 2.29.7

ne20002 commented 1 week ago

Thank you for the detailed description. It might be related / similar to https://github.com/friendica/friendica/issues/14450. I will give it a try myself based on your description and see if I can fix it.

tokenwizard commented 1 week ago

Looked at that post and thought I would try some of the troubleshooting there. From inside the docker container friendica-app-1, trying to manually add the admin user:

root@26a88f6ba38b:/var/www/html# bin/console user add
[Error] Database isn't ready or populated yet

So maybe the issue is more related to the db rather than friendica itself?

tokenwizard commented 1 week ago

Further digging...

Also inside the friendica-app-1 container, tried the "manual" setup mentioned in the above thread:

root@26a88f6ba38b:/var/www/html# mv config/local-sample.config.php config/local.config.php
root@26a88f6ba38b:/var/www/html# nano config/local.config.php
root@c243bd39e46b:/var/www/html# bin/console autoinstall -f config/local.config.php 
Initializing setup...
 Complete!

Checking environment...
 NOTICE: Not checking .htaccess/URL-Rewrite during CLI installation.

 Complete!

Loading config file 'config/local.config.php'...
 Complete!

Checking database...
 Complete!

Inserting data into database...

 Complete!

Installing theme
 Complete

Installation is finished
root@c243bd39e46b:/var/www/html# bin/console user add
Enter user name: 
admin
Enter user nickname: 
admin
Enter user email address: 
james@tandj-homelab.dev
Enter a language (optional): 
en
Enter URL of an image to use as avatar (optional): 

msmtp: account default not found: no configuration file available
root@c243bd39e46b:/var/www/html#

Here is the local.config.php file as I have edited it:

<?php

// Local configuration

/* If automatic system installation fails:
 *
 * Copy this file to local.config.php
 *
 * Why local.config.php? Because it contains sensitive information which could
 * give somebody complete control of your database. Apache's default
 * configuration will interpret any .php file as a script and won't show the values
 *
 * Then set the following for your MySQL installation
 *
 * If you're unsure about what any of the config keys below do, please check the static/defaults.config.php file for
 * detailed documentation of their data type and behavior.
 */

return [
    'database' => [
        'hostname' => 'localhost',
        'username' => 'friendica',
        'password' => 'mysecretpassword',
        'database' => 'friendica',
        'charset' => 'utf8mb4',
    ],

    // ****************************************************************
    // The configuration below will be overruled by the admin panel.
    // Changes made below will only have an effect if the database does
    // not contain any configuration for the friendica system.
    // ****************************************************************

    'config' => [
        'admin_email' => 'james@tandj-homelab.dev',
        'sitename' => 'T and J Friendica Network',
        'register_policy' => \Friendica\Module\Register::OPEN,
        'register_text' => '',
    ],
    'system' => [
        'default_timezone' => 'America/New_York',
        'language' => 'en',
        'url' => 'https://social.tjhome.dev',
    ],
];

Clearly there is an error with creating the admin user above. Restarting the container and trying to access the site now shows this: image

And the log/console output looks like:

[friendica@Friendica ~]$ docker logs -f friendica-app-1
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Wed Oct 16 12:27:31.498635 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.1.30 configured -- resuming normal operations
[Wed Oct 16 12:27:31.498736 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
192.168.12.56 - - [16/Oct/2024:12:27:32 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.56 - - [16/Oct/2024:12:27:34 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.56 - - [16/Oct/2024:12:27:34 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.56 - - [16/Oct/2024:12:27:35 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.56 - - [16/Oct/2024:12:27:35 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.56 - - [16/Oct/2024:12:27:36 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.128 - - [16/Oct/2024:12:27:41 +0000] "GET /ping?_=1729024581470 HTTP/1.1" 500 461 "http://192.168.12.67:8080/index.php?pagename=install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.56 - - [16/Oct/2024:12:27:47 +0000] "GET / HTTP/1.1" 500 461 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
192.168.12.128 - - [16/Oct/2024:12:28:21 +0000] "GET /ping?_=1729024581471 HTTP/1.1" 500 461 "http://192.168.12.67:8080/index.php?pagename=install" "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"