スレッド:ubuntu/debian用で動作せず
ubuntu/debian用で動作せず 投稿者:mag 投稿日:2025/01/02(Thu) 11:29:00 No.1080
エラーメッセージはでないのですが、httpアクセスしてもwebページが表示されません。
環境: raspberrypi 4 + ubuntu server 24.04.1 LTS
(pi imagerで書き込み)
https://github.com/rfriends/rfriends_ubuntu
のスクリプトをダウンロードして指示通りにインストール。

画面上には最後まで動いていてこのように終了しました。
しかし、この後念の為リブートしたあとでも httpアクセスでwebページが表示されず、アクセスが拒否されましたというようなメッセージが出てしまいます。
---------------------------------------------------
2025-01-01 15:40:38 (23.1 MB/s) - ‘rfriends3_latest_script.zip’ saved [1469746/1469746]


configure samba


configure usrdir


configure lighttpd

Enabling fastcgi: ok
Run "service lighttpd force-reload" to enable changes
Enabling fastcgi-php: ok
Run "service lighttpd force-reload" to enable changes
Synchronizing state of smbd.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable smbd
Synchronizing state of lighttpd.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable lighttpd
Synchronizing state of atd.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable atd
Synchronizing state of cron.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable cron

ブラウザで、http://192.168.0.109:8000 にアクセスしてください。

Wed Jan 1 03:40:47 PM JST 2025

---------------------------------------------------

現在は 同じ環境を再構築し、raspios用のスクリプトをむりやり実行して(途中raspios向けの部分でエラーはでますが) webアクセスできる所までは確認できました。
Re: ubuntu/debian用で動作せず 投稿者:rfriends 投稿日:2025/01/02(Thu) 13:48:18 No.1081
スクリプトに誤りがありました。
以下の修正を行うか、再度インストールしてください。

/etc/lighttpd/lighttpd.conf
server.username = "rfriendsuser"
server.groupname = "rfriendsuser"

上記2か所のrfriendsuserを実行ユーザ名に変更し
sudo systemctl restart lightppd
Re^2: ubuntu/debian用で動作せず 投稿者:mag 投稿日:2025/01/02(Thu) 18:22:41 No.1082
正月からありがとうございました。
修正により動作確認できました。

> スクリプトに誤りがありました。
> 以下の修正を行うか、再度インストールしてください。

- WebForum -