Back to n8n Management Hub

n8n Docker Update & Compose Locator

Automated tool to locate your docker-compose.yml and generate update commands for n8n.
เครื่องมืออัตโนมัติสำหรับค้นหาไฟล์ docker-compose.yml และสร้างคำสั่งอัปเดต n8n

1Locate Your docker-compose.yml ขั้นตอนที่ 1: ค้นหาไฟล์ docker-compose.yml ของคุณ

Run the following command on your droplet to locate your docker-compose.yml file:
รันคำสั่งต่อไปนี้บน droplet เพื่อค้นหาไฟล์ docker-compose.yml ของคุณ:

find / -name "docker-compose.yml" 2>/dev/null
This command will search your entire system for docker-compose.yml files and show their locations.
คำสั่งนี้ จะค้นหาไฟล์ docker-compose.yml ทั้งระบบและแสดงตำแหน่งของไฟล์

2Generate the Update Command ขั้นตอนที่ 2: สร้างคำสั่งอัปเดต

Enter the directory path where your docker-compose.yml is located (for example, /opt/n8n-docker-caddy):
ใส่พาธไดเรกทอรีที่ไฟล์ docker-compose.yml ของคุณอยู่ (ตัวอย่างเช่น /opt/n8n-docker-caddy):

Your update command will appear here.
Note: The generated command will pull the latest n8n image, stop current containers, and restart them with the new version.
หมายเหตุ: คำสั่งที่สร้างจะดาวน์โหลด n8n เวอร์ชันล่าสุด หยุดคอนเทนเนอร์ปัจจุบัน และเริ่มใหม่ด้วยเวอร์ชันใหม่

3Verify the Update ขั้นตอนที่ 3: ตรวจสอบการอัปเดต

After running the update command, verify that your containers are running by executing:
หลังจากรันคำสั่งอัปเดตแล้ว ให้ตรวจสอบว่าคอนเทนเนอร์ของคุณกำลังทำงานอยู่โดยรันคำสั่ง:

docker ps

Then, check the n8n logs for any errors:
จากนั้นตรวจสอบล็อกของ n8n หากมีข้อผิดพลาด:

docker logs n8n-docker-caddy-n8n-1 --tail=50

Success! สำเร็จ!

If everything looks good, your n8n instance has been updated successfully!
ถ้าทุกอย่างดูเรียบร้อยดี แสดงว่าอัปเดต n8n ของคุณสำเร็จแล้ว!