GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    pyu224@misskey.kindworld.one's status on Tuesday, 15-Aug-2023 09:49:50 JST PYU224 PYU224

    PeerTubeでS3を設定したけどdaemonが起動できない。
    謎。 #peertube root@ubuntu:~$ sudo journalctl -u peertube -f Aug 15 00:38:21 ubuntu peertube[1009]: at Module.load (node:internal/modules/cjs/loader:1091:32) Aug 15 00:38:21 ubuntu peertube[1009]: at Module._load (node:internal/modules/cjs/loader:938:12) Aug 15 00:38:21 ubuntu peertube[1009]: Node.js v20.5.1 Aug 15 00:38:22 ubuntu systemd[1]: peertube.service: Main process exited, code=exited, status=1/FAILURE Aug 15 00:38:22 ubuntu systemd[1]: peertube.service: Failed with result 'exit-code'. Aug 15 00:38:22 ubuntu systemd[1]: peertube.service: Scheduled restart job, restart counter is at 5. Aug 15 00:38:22 ubuntu systemd[1]: Stopped PeerTube daemon. Aug 15 00:38:22 ubuntu systemd[1]: peertube.service: Start request repeated too quickly. Aug 15 00:38:22 ubuntu systemd[1]: peertube.service: Failed with result 'exit-code'. Aug 15 00:38:22 ubuntu systemd[1]: Failed to start PeerTube daemon.

    In conversation Tuesday, 15-Aug-2023 09:49:50 JST from misskey.kindworld.one permalink
    • Embed this notice
      ふよん (fuyon@misskey.kindworld.one)'s status on Tuesday, 15-Aug-2023 13:11:34 JST ふよん ふよん
      in reply to

      @PYU224 journalctlは標準で直近10行のログを出力しますが、エラーが長くて先頭部分が削れてますね。 -n で行数が指定できるので、以下のようにある程度大きな値を設定すればエラー全体が見えると思います。sudo journalctl -u peertube -n 50

      In conversation Tuesday, 15-Aug-2023 13:11:34 JST permalink
      PYU224 likes this.
    • Embed this notice
      pyu224@misskey.kindworld.one's status on Tuesday, 15-Aug-2023 13:22:44 JST PYU224 PYU224
      in reply to
      • ふよん

      @fuyon エラーメッセージが見えました。
      S3のエンドポイントの後に半角の「:」が無かったから起きたエラーのようです。
      修正できました。ありがとうございます。Aug 15 00:38:21 ubuntu systemd[1]: peertube.service: Main process exited, code=exited, status=1/FAILURE Aug 15 00:38:21 ubuntu systemd[1]: peertube.service: Failed with result 'exit-code'. Aug 15 00:38:21 ubuntu systemd[1]: peertube.service: Scheduled restart job, restart counter is at 4. Aug 15 00:38:21 ubuntu systemd[1]: Stopped PeerTube daemon. Aug 15 00:38:21 ubuntu systemd[1]: Started PeerTube daemon. Aug 15 00:38:21 ubuntu peertube[1009]: /var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:853 Aug 15 00:38:21 ubuntu peertube[1009]: throw new Error("Cannot parse config file: '" + fullFilename + "': " + e3); Aug 15 00:38:21 ubuntu peertube[1009]: ^ Aug 15 00:38:21 ubuntu peertube[1009]: Error: Cannot parse config file: '/var/www/peertube/config/production.yaml': YAMLException: can not read an implicit mapping pai> Aug 15 00:38:21 ubuntu peertube[1009]: 159 | enabled: true Aug 15 00:38:21 ubuntu peertube[1009]: 160 | Aug 15 00:38:21 ubuntu peertube[1009]: 161 | # Without protocol, will default to HTTPS Aug 15 00:38:21 ubuntu peertube[1009]: 162 | endpoint 's3.terrahost.no' # 's3.amazonaws.com' or 's3.fr- ... Aug 15 00:38:21 ubuntu peertube[1009]: ------------------------------------^ Aug 15 00:38:21 ubuntu peertube[1009]: 163 | Aug 15 00:38:21 ubuntu peertube[1009]: 164 | region: 'no-south-1' Aug 15 00:38:21 ubuntu peertube[1009]: at util.parseFile (/var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:853:11) Aug 15 00:38:21 ubuntu peertube[1009]: at /var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:649:26 Aug 15 00:38:21 ubuntu peertube[1009]: at Array.forEach () Aug 15 00:38:21 ubuntu peertube[1009]: at util.loadFileConfigs (/var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:648:16) Aug 15 00:38:21 ubuntu peertube[1009]: at new Config (/var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:113:27) Aug 15 00:38:21 ubuntu peertube[1009]: at Object. (/var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:1510:31) Aug 15 00:38:21 ubuntu peertube[1009]: at Module._compile (node:internal/modules/cjs/loader:1233:14) Aug 15 00:38:21 ubuntu peertube[1009]: at Module._extensions..js (node:internal/modules/cjs/loader:1287:10) Aug 15 00:38:21 ubuntu peertube[1009]: at Module.load (node:internal/modules/cjs/loader:1091:32)

      In conversation Tuesday, 15-Aug-2023 13:22:44 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: a0.awsstatic.com
        Cloud Object Storage – Amazon S3 – Amazon Web Services
        Amazon S3 is cloud object storage with industry-leading scalability, data availability, security, and performance. S3 is ideal for data lakes, mobile applications, backup and restore, archival, IoT devices, ML, AI, and analytics.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.