can't run the install process of wallabag (docker / raspberry pi)

クローズ
#277 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, php, raspberry-pi, sqlite

調査の方向性

wallabag/docker のセットアップとその POPULATE_DATABASE ドキュメントから始め、次に Raspberry Pi 環境で bin/console wallabag:install --env=prod --no-interaction を使って失敗を再現します。var/cache/prod パスと、報告されている生成ファイルの欠落を調査します。データベースが初期化され、キャッシュ読み込みエラーなしでインストールが完了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Environment
  • Version: latest docker image
  • Installation: docker
  • PHP version: n/a
  • OS: raspberry
  • Database: sqlite
  • Parameters: n/a

I'm trying to install Wallabag on a raspberry pi so I know I should maybe file an issue into the wallabag/docker repository. But as I am installing Wallabg on a raspberry pi host rather that on an amd64 host, it would maybe not be the right place.

Since I don't really know if the problem comes from the Wallabag layer, the Docker layer, or the raspberry pi layer, I'm filing this issue here, and I'll move it elsewhere if needed.

My first surprise is that Wallabag do not create his own database when starting. It might not be a problem when using a standard install on a VPS, but it is definitely annoying when using containers. I don't think that the POPULATE_DATABASE parameter is effective.

The second problem is that even on a manual install, I can't make it succeed as i get an error when installing:

PHP Warning: require(/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php): failed to open stream: No such file or directory in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430
PHP Fatal error: require(): Failed opening required '/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php' (include_path='.:') in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430

My log from install are below: ``` $ docker exec -t dd6ccaedf294 /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction

wallabag installer

Step 1 of 4: Checking system requirements.


Checked Status Recommendation


PDO Driver (pdo_sqlite) OK!
Database connection OK!
Database version OK!
curl_exec OK!
curl_multi_init OK!


[OK] Success! Your system can run wallabag properly.

Step 2 of 4: Setting up database.

Clearing the cache...
PHP Warning: require(/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php): failed to open stream: No such file or directory in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430
PHP Fatal error: require(): Failed opening required '/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php' (include_path='.:') in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430

In appProdProjectContainer.php line 1430:

Compile Error: require(): Failed opening required '/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php' (include_path='.:')

cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]

</details>

### What steps will reproduce the bug?

<!--
Enter details about your bug and how to reproduce it
-->
主要言語
Shell
スター
776
フォーク
172
平均マージ
8時間 58分
マージ済み PR(30日)
6

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wallabag/docker のほかの issue

wallabag/docker の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。