Skip to content

Cronicle install script should not copy init.d serviceΒ #8328

@de666

Description

@de666

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Cronicle Primary

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/cronicle.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 13

πŸ“ˆ Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-3-pve)

πŸ“ Provide a clear and concise description of the issue.

Install script should not copy cronicled service from the /opt/bin folder to /etc/init.d since Cronicle already install a service unit for systemd (cronicle.service).
This result in failing to execute one of the two services since Cronicle is already running and listening to the configured port.
I think this line should be removed from the script:

$STD cp /opt/cronicle/bin/cronicled.init /etc/init.d/cronicled

πŸ”„ Steps to reproduce the issue.

After boot check the status of cronicle.service and cronicled.service

❌ Paste the full error output (if available).

systemctl status cronicle
Γ— cronicle.service - Node Cronicle
     Loaded: loaded (/etc/systemd/system/cronicle.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2025-10-13 15:56:20 CEST; 2min 6s ago
   Duration: 2.014s
 Invocation: 649230294d3d44a0ac6cda537ecf3fb7
    Process: 167 ExecStart=/opt/cronicle/bin/control.sh start (code=exited, status=0/SUCCESS)
   Main PID: 326 (code=exited, status=1/FAILURE)
   Mem peak: 55.1M
        CPU: 2.080s

Oct 13 15:56:14 cronicle systemd[1]: Starting cronicle.service - Node Cronicle...
Oct 13 15:56:14 cronicle control.sh[167]: /opt/cronicle/bin/control.sh start: Starting up Cronicle Server...
Oct 13 15:56:18 cronicle control.sh[167]: /opt/cronicle/bin/control.sh start: Cronicle Server started
Oct 13 15:56:18 cronicle systemd[1]: Started cronicle.service - Node Cronicle.
Oct 13 15:56:20 cronicle systemd[1]: cronicle.service: Main process exited, code=exited, status=1/FAILURE
Oct 13 15:56:20 cronicle systemd[1]: cronicle.service: Failed with result 'exit-code'.
Oct 13 15:56:20 cronicle systemd[1]: cronicle.service: Consumed 2.080s CPU time, 55.1M memory peak.
root@cronicle:~# systemctl status cronicled
● cronicled.service - LSB: Start/Stop Cronicle Scheduler
     Loaded: loaded (/etc/init.d/cronicled; generated)
     Active: active (running) since Mon 2025-10-13 15:56:18 CEST; 2min 11s ago
 Invocation: ca60b4ca4c144b0ca93ab978c2505062
       Docs: man:systemd-sysv-generator(8)
    Process: 168 ExecStart=/etc/init.d/cronicled start (code=exited, status=0/SUCCESS)
      Tasks: 11 (limit: 6687)
     Memory: 64.6M (peak: 66.3M)
        CPU: 3.476s
     CGroup: /system.slice/cronicled.service
             └─327 "Cronicle Server"

Oct 13 15:56:14 cronicle systemd[1]: Starting cronicled.service - LSB: Start/Stop Cronicle Scheduler...
Oct 13 15:56:14 cronicle cronicled[173]: /opt/cronicle/bin/control.sh start: Starting up Cronicle Server...
Oct 13 15:56:18 cronicle cronicled[173]: /opt/cronicle/bin/control.sh start: Cronicle Server started
Oct 13 15:56:18 cronicle systemd[1]: Started cronicled.service - LSB: Start/Stop Cronicle Scheduler.

Cronicle.log

[1760363780.57][2025-10-13 15:56:20][cronicle][327][Cronicle][debug][4][Starting UDP server on port: 3014][]
[1760363780.58][2025-10-13 15:56:20][cronicle][326][Cronicle][error][startup][Component startup error: Error: listen EADDRINUSE: address already in use :::3012][]
[1760363780.58][2025-10-13 15:56:20][cronicle][326][Cronicle][debug][1][Component startup error: Error: listen EADDRINUSE: address already in use :::3012][]
[1760363780.58][2025-10-13 15:56:20][cronicle][326][Cronicle][debug][2][Shutting down][]
[1760363780.581][2025-10-13 15:56:20][cronicle][326][Cronicle][debug][9][Deleting PID File: logs/cronicled.pid: 326][]
[1760363780.583][2025-10-13 15:56:20][cronicle][326][Cronicle][error][1][Startup process was interrupted, exiting][]

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions