:::
顯示具有 Nextcloud 標籤的文章。 顯示所有文章

在Docker的Nextcloud用腳本新增外部網頁連結 / Adding External Site Links Using Scripts in Nextcloud on Docker

布丁布丁吃布丁

在Docker的Nextcloud用腳本新增外部網頁連結 / Adding External Site Links Using Scripts in Nextcloud on Docker

2025-0121-233729.png

客製化Nextcloud的下一步,我們能不能將外部網頁嵌入到Nextcloud的應用程式裡面呢?答案是使用外部網頁(External sites)擴充功能。我們可以進一步在Docker的Hook Folders中的post-installation資料夾中加入腳本,讓Nextcloud安裝完成後,自動開啟外部網頁擴充功能,並且將指定的網址加入到Nextcloud系統中。

The next step in customizing Nextcloud: can we embed external web pages into Nextcloud applications?  The answer is yes, using the External sites app.  We can further automate this process by adding a script to the post-installation folder within the Docker Hook Folders. This script will enable the External sites app and add specific URLs to the Nextcloud system after Nextcloud installation is complete.

(more...)

Nextcloud客製化網頁:插入外部JavaScript腳本 / Nextcloud Customized Webpage: Inserting External JavaScript Scripts

布丁布丁吃布丁

Nextcloud客製化網頁:插入外部JavaScript腳本 / Nextcloud Customized Webpage: Inserting External JavaScript Scripts

2025-0121-132355.png

要大幅度修改Nextcloud的網頁的話,建立主題(theme)可能是最常見的建議。但如果我們是要在Nextcloud的網頁裡面插入外部JavaScript腳本的話,這手續可就麻煩得多了。讓我們應用調整Docker的Nextcloud的技巧,在Nextcloud安裝完後,自動佈署修改後的程式碼吧。

If you want to drastically modify the Nextcloud web interface, creating a theme is probably the most common suggestion. However, if you want to insert external JavaScript scripts into the Nextcloud web pages, the procedure becomes much more complicated. Let's apply the techniques of customizing a Dockerized Nextcloud instance to automatically deploy modified code after Nextcloud is installed.

(more...)

讓Docker架設的Nextcloud預設關閉或開啟應用程式 / Enabling or Disabling Apps by Default in a Dockerized Nextcloud Instance

布丁布丁吃布丁

讓Docker架設的Nextcloud預設關閉或開啟應用程式 / Enabling or Disabling Apps by Default in a Dockerized Nextcloud Instance

2025-0121-040807.png

既然談到用Docker架設Nextcloud,那我們就要活用Docker的架構,讓Nextcloud不僅僅是「開箱可用」,而且還是「自訂後」的可用。我們可以客製化的指令放在「/docker-entrypoint-hooks.d/post-installation」資料夾內,這樣就可以讓Nextcloud初次安裝完成後,自動進行我們要的設定。

Since we're talking about setting up Nextcloud with Docker, let's leverage Docker's architecture to make Nextcloud not just "usable out-of-the-box," but usable after customization. We can place custom commands in the /docker-entrypoint-hooks.d/post-installation directory, allowing Nextcloud to automatically perform our desired configurations after the initial installation completes.

(more...)

用Docker建構開箱可用的Nextcloud  / Deploying a Ready-to-Use Nextcloud Instance with Docker

布丁布丁吃布丁

用Docker建構開箱可用的Nextcloud  / Deploying a Ready-to-Use Nextcloud Instance with Docker

2025-0121-032627.png

Nextcloud是一個相當受歡迎的自架雲端硬碟應用程式。過往我都是用LXC的容器形式架設,這次我們要用Docker技術架設Nextcloud。要架設一個開箱可以用的Nextcloud其實還是有點複雜,我把相關參數整理成docker-compose.yml,希望對有需要的人有所幫助。

Nextcloud is a popular self-hosted cloud storage application. Previously, I used LXC containers for setup, but this time we'll use Docker. Setting up a ready-to-use Nextcloud instance can be somewhat complex. I've organized the relevant parameters into a docker-compose.yml file, hoping it will be helpful for those in need.

(more...)

雜談:怎麽讓AI能根據我的雲端硬碟回答問題 / TALK: How Can I Enable AI to Answer Questions Based on My Cloud Storage?

布丁布丁吃布丁

雜談:怎麽讓AI能根據我的雲端硬碟回答問題 / TALK: How Can I Enable AI to Answer Questions Based on My Cloud Storage?

2025-0121-143440.png

Nextcloud的AI應用程式不能處理中文,所以我自己用Langflow整合到Nextcloud,讓大型語言模型能夠根據我在雲端硬碟裡面的內容來回答問題。這篇就講一下大致上的做法。

(more...)

Linux傳到Google Drive的檔案打不開,怎麼辦? / How to Open the File Uploaded From Linux in Google Drive?

布丁布丁吃布丁

Linux傳到Google Drive的檔案打不開,怎麼辦? / How to Open the File Uploaded From Linux in Google Drive?

2023-0924-130018.png

改用Linux之後,用Google Drive從網頁上傳到Google Drive的Excel檔案會變得無法識別,但是用NextCloud跟RClone同步到Google Drive的Excel檔案,卻能夠像Google試算表一樣開啟。事情變得越來越複雜了。

(more...)

我是如何在Linux桌面端同步Google Drive的檔案 / How Do I Sync Google Drive Files on the Linux Desktop

布丁布丁吃布丁

我是如何在Linux桌面端同步Google Drive的檔案 / How Do I Sync Google Drive Files on the Linux Desktop

2023-0423-115405.png

Nextcloud Client + Nextcloud + rclone + Google Drive。這套組合真是複雜。

(more...)

Nextcloud同步失敗的處理方法 / How to Handle Sync Errors in Nextcloud

布丁布丁吃布丁

Nextcloud同步失敗的處理方法 / How to Handle Sync Errors in Nextcloud

2023-0423-112450.png

把遠端的檔案刪除即可。

(more...)

Nextcloud的安裝 / Nextcloud Installation

布丁布丁吃布丁

Nextcloud的安裝 / Nextcloud Installation

2023-0314-004036.png

隨手記錄一下Nextcloud的安裝方式。

(more...)