Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ファイル共有ソフトウェアのOpenCloud 8.0.0を試す

ファイル共有ソフトウェアのOpenCloud 8.0.0を試す

Avatar for Kenichiro MATOHARA

Kenichiro MATOHARA

September 20, 2026

More Decks by Kenichiro MATOHARA

Other Decks in Technology

Transcript

  1. Nitter GitHub This repository was archived by the owner on

    Sep 11, 2026. It is now read-only. [!NOTE] On 24 August 2026, cease and desist letters were sent by X Corp. demanding a permanent takedown of Nitter instance **UPDATE:** Following legal advice, the Nitter project will continue. More details will be announced soon. 6
  2. OpenCloud 8.0.0 release セルフホストファイル共有ソフトウェア Nextcloudなどに比べて軽量 10人程度までならRaspberry Pi 3(1GHz(Single-core), 512 MB

    RAM)から シングルバイナリで始められてお手軽 E2EE対応 Windows, macOS, Linux, Android, iOSのクライアントアプリあ り WebDav対応, アプリ対応…… Go製, Apache-2.0 license 8
  3. 設定差分確認 以前の設定があるのでdiffを確認 $ ./opencloud-8.0.1-linux-amd64 init --diff Do you want to

    configure OpenCloud with certificate checking disabled? This is not recommended for public instances! [yes | no = default] running in diff mode diff -u /home/matoken/.opencloud/config/opencloud.yaml /home/matoken/.opencloud/config/opencloud.yaml.tmp : 差分が多いしテストでしか使ってなかったので設定を上書きすることに $ ./opencloud-8.0.1-linux-amd64 init --force-overwrite --insecure true 12
  4. SEGV? $ ./opencloud-8.0.0-linux-amd64 server panic: runtime error: invalid memory address

    or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1b0 pc=0x7f404a03b157] Linux armhfだと動く Issueにも上がっていないしおま環? 13
  5. タイミングによりメッセージが変 わる? {"level":"error","service":"opencloud","event":"opencloud: Failed service 'sharing' (1.000000 failures of 5.000000

    aring","supervisor":"opencloud","restarting":true,"failures":1,"threshold":5,"error":"listen tcp 127.0.0.1:9150: b {"level":"error","service":"opencloud","event":"opencloud: Failed service 'sharing' (1.629878 failures of 5.000000 aring","supervisor":"opencloud","restarting":true,"failures":1.6298778555015767,"threshold":5,"error":"listen tcp e terminated"} panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1b0 pc=0x7f843683b157] 14
  6. tcp 9150が当たっている? listen tcp 127.0.0.1:9150: bind: address already in use

    $ sudo ss -ltnp 'sport = :9150' State Recv-Q LISTEN 0 $ sudo service tor stop Send-Q 4096 Local Address:Port 127.0.0.1:9150 やっぱり駄目? → Tor Browserのtorが当たっていてTor Browser を終了するとOpenCloudが起動した 15
  7. E2EEのファイル $ ls ~/.opencloud/storage/users/users/856d7c13-f335-43c9-9bd4-34ed3dd30602/ 1 E2EE_DIR.vault IMG_20260918_205934.webp IMG_20260918_210048.webp IMG_20260918_210103.webp IMG_20260918_215813.

    $ ls -l ~/.opencloud/storage/users/users/856d7c13-f335-43c9-9bd4-34ed3dd30602/E2EE_DIR.vault/ 2 合計 196 -rw-rw-r-- 1 matoken matoken 23518 Sep 18 22:03 7t8h17kjp222j53saaci6alcu3k27uit5r2k4n33cmjlbls2ge90 -rw-rw-r-- 1 matoken matoken 46006 Sep 18 22:03 b8kgk6og2d8lbi44sr71rut3fckkdkgjc1a7dselmpa6hlq9r4n0 -rw-rw-r-- 1 matoken matoken 39328 Sep 18 22:03 mmjpnq4q8hgc57b3b01j6u8hhv2ads8tp2mobsnavusm4k5c9850 -rw-rw-r-- 1 matoken matoken 66684 Sep 18 22:03 nq9rj6dhg2fjvbk7eoh6ktf2a2e2li1falhne9jcudk7uogvt6hg $ od -xc ~/.opencloud/storage/users/users/856d7c13-f335-43c9-9bd4-34ed3dd30602/E2EE_DIR.vault/7t8h17kjp222j53saaci 0000000 4352 4f4c 454e 0000 2587 1ca3 eb5e 77b6 R C L O N E \0 \0 207 % 243 034 ^ 353 266 w 0000020 0858 f530 e848 257a a60d 7b15 2262 6bdf X \b 0 365 H 350 z % \r 246 025 { b " 337 k 0000040 88d5 6ea7 0969 8ad9 0327 a5f4 3b1f 3a03 325 210 247 n i \t 331 212 ' 003 364 245 037 ; 003 : 0000060 42fe 0db3 e25e 0bd3 932f 44b2 d336 a7d4 376 B 263 \r ^ 342 323 \v / 223 262 D 6 323 324 247 0000100 d4d0 6ac6 0af5 5174 1871 db9d 04f2 a2f8 320 324 306 j 365 \n t Q q 030 235 333 362 004 370 242 1 通常ディレクトリはファイルがそのままある 2 暗号領域はファイル名と内容は暗号化されている 28
  8. apps Arcade Arcade lets you open and play gameboy, nes,

    snes and n64 ROMs in your browser. BPMN Extension for BPMN diagrams. Calculator A calculator search provider for the global search. Development boilerplate Get started with app development for OpenCloud. Draw.io View and edit draw.io diagram files (.drawio). External Sites Add links to the app switcher (embedded or external). Importer Import files from external clouds into your OpenCloud. JSON Viewer View JSON files (.json) with syntax highlighting and collapsible nodes. Maps Open .gpx files and view location data of geotagged images in the sidebar. OpenCloud Forms Create forms, collect responses and file uploads, and export results to spreadsheets. Pastebin A pastebin app to share text snippets with others. Presentation Viewer Extension to view markdown presentation slides with reveal.js library. Progress Bars A collection of progress bars for users to choose from. Unzip Unzip .zip files to the current folder, directly in your OpenCloud. 37
  9. OpenCloudアプリ導入 使いたいアプリのダウンロードリンクで.zipを入手 $OC_DATA_DIR/web/assets/apps 以下に展開する GitHub Releaseのシングルバイナリで規定値の場合 ~/.opencloud/web/assets/apps になるが,web以下のデ ィレクトリがないので作成する この後OpenCloudを起動し直すと反映される

    $ mkdir -p ~/.opencloud/web/assets/apps $ cd ~/.opencloud/web/assets/apps $ unzip ~/Downloads/pastebin-2.1.0.zip  formsアプリはディレクトリが1階層少ないのでformsディレクト リを作ってその下に展開する必要があった 38
  10. Nextcloudから乗り換えできそう? 自分がNextcloudでよく使っているアプリや機能 Calender, forms, MFA関連, Share renamer(共有名の編 集) OpenCloudに無さそうな機能 Calender

    → カレンダーアプリのRadicle連携は可能 MFA → Keycloakとの連携で実現可能だが少人数では大げさ, かつOpenCloudでの実装予定なし Share renamer → httpdのrewriteで逃げる?(db書き換 え?) 41