tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
12.96k stars 2.01k forks source link

Changedetection.io script appears not to work completely #3527

Closed alibosworth closed 1 month ago

alibosworth commented 1 month ago

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

I ran the changedetection.io install script, using default options, and it appeared to work, but the web ui was never available. Looking through old issues, it sems that the install output was incomplete, though no errors were reported.

This is what I saw when I installed

   ________                              ____       __            __  _           
  / ____/ /_  ____ _____  ____ ____     / __ \___  / /____  _____/ /_(_)___  ____ 
 / /   / __ \/ __ `/ __ \/ __ `/ _ \   / / / / _ \/ __/ _ \/ ___/ __/ / __ \/ __ \
/ /___/ / / / /_/ / / / / /_/ /  __/  / /_/ /  __/ /_/  __/ /__/ /_/ / /_/ / / / /
\____/_/ /_/\__,_/_/ /_/\__, /\___/  /_____/\___/\__/\___/\___/\__/_/\____/_/ /_/ 
                       /____/                                                     
Using Default Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: Automatic Login
Using Container ID: 107
Using Hostname: changedetection
Using Disk Size: 8GB
Allocated Cores 2
Allocated Ram 1024
Using Bridge: vmbr0
Using Static IP Address: dhcp
Using Gateway IP Address: Default
Using Apt-Cacher IP Address: Default
Disable IPv6: No
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server Address: Host
Using MAC Address: Default
Using VLAN Tag: Default
Enable Root SSH Access: No
Enable Verbose Mode: No
Creating a Change Detection LXC using the above default settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 107 was successfully created.
 ✓ Started LXC Container
 ✓ Completed Successfully!

Change Detection should be reachable by going to the following URL.
         http://192.168.0.128:5000 

I found this old issue where you show the install log, and it shows many more "checkmark" steps: https://github.com/tteck/Proxmox/issues/1448#issuecomment-1568684052

Restarting the container did not resolve it. Thinking that it might have been a temporary glitch, I removed the container, and restarted proxmox, and tried the install again, however I received this error:

Creating a Change Detection LXC using the above default settings
 \Configuration file 'nodes/proxmox/lxc/107.conf' does not exist

[ERROR] in line 624: exit code 0: while executing command pct start "$CTID"

Thank you for your scripts!

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

installed via

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/changedetection.sh)"

tteck commented 1 month ago

🏁 The script runs without any problems from this end.

   ________                              ____       __            __  _           
  / ____/ /_  ____ _____  ____ ____     / __ \___  / /____  _____/ /_(_)___  ____ 
 / /   / __ \/ __ `/ __ \/ __ `/ _ \   / / / / _ \/ __/ _ \/ ___/ __/ / __ \/ __ \
/ /___/ / / / /_/ / / / / /_/ /  __/  / /_/ /  __/ /_/  __/ /__/ /_/ / /_/ / / / /
\____/_/ /_/\__,_/_/ /_/\__, /\___/  /_____/\___/\__/\___/\___/\__/_/\____/_/ /_/ 
                       /____/                                                     
Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: Automatic Login
Container ID: 112
Using Hostname: changedetection
Using Disk Size: 8
Allocated Cores: 2
Allocated RAM: 1024
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: no
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a Change Detection LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using thin-pool for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 112 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.86.250 
 ✓ IPv4 Internet Connected
 ✗ IPv6 Internet Not Connected
 ✓ DNS Resolved github.com to 140.82.113.3
 ✓ Updated Container OS
 ✓ Installed Dependencies
 ✓ Updated Python3
 ✓ Set up Node.js Repository
 ✓ Installed Node.js
 ✓ Installed Change Detection
 ✓ Installed Browserless & Playwright
 ✓ Installed Font Packages
 ✓ Installed X11 Packages
 ✓ Created Services
 ✓ Customized Container
 ✓ Cleaned
 ✓ Completed Successfully!

Change Detection should be reachable by going to the following URL.
         http://192.168.86.250:5000 

Notice the difference? Whatever you're doing to execute the script, it's not running the changedetection-install.sh script.

Screenshot 2024-08-14 5 47 48 PM

alibosworth commented 1 month ago

Thanks @tteck . I updated proxmox to 8.2.4 and install ran smoothly now, thanks and sorry for the noise!