Code Monkey home page Code Monkey logo

Comments (5)

binwiederhier avatar binwiederhier commented on June 15, 2024

In yaml, lines starting with "#" are comments. So you don't really have TLS configured at all.

from ntfy.

iomari avatar iomari commented on June 15, 2024

In Tamil, lines starting with "#" are comments. So you don't really have TLS configured at all.

Maybe you didn't read my post carefully.
The current config works because the 3 https lines are commented out. If I uncomment them I get errors.

from ntfy.

binwiederhier avatar binwiederhier commented on June 15, 2024

Troubleshooting is best done on discord or matrix. Feel free to join.

If you get errors, it is a really really really good idea to include screenshots or copied text of the errors. Otherwise we cannot help.

You've done the equivalent of your mom telling you "my computer is broken" without giving any more details 😊

from ntfy.

iomari avatar iomari commented on June 15, 2024

sudo systemctl restart ntfy ; sleep 2 ; sudo systemctl status ntfy

× ntfy.service - ntfy server                                                                                                                                                                                                      
     Loaded: loaded (/lib/systemd/system/ntfy.service; enabled; vendor preset: enabled)                                                                                                                                           
     Active: failed (Result: exit-code) since Wed 2023-11-22 19:08:49 WAT; 401ms ago                                                                                                                                              
    Process: 1446959 ExecStart=/usr/bin/ntfy serve --no-log-dates (code=exited, status=1/FAILURE)                                                                                                                                 
   Main PID: 1446959 (code=exited, status=1/FAILURE)                                                                                                                                                                              
        CPU: 148ms                                                                                                                                                                                                                
                                                                                                                                                                                                                                  
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Scheduled restart job, restart counter is at 5.                                                                                                                                   
Nov 22 19:08:49 egwfw systemd[1]: Stopped ntfy server.                                                                                                                                                                            
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Start request repeated too quickly.                                                                                                                                               
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.                                                                                                                                                   
Nov 22 19:08:49 egwfw systemd[1]: Failed to start ntfy server.

The output of: sudo journalctl -xeu ntfy.service


░░ A start job for unit ntfy.service has finished with a failure.
░░
░░ The job identifier is 39865 and the job result is failed.
Nov 22 19:08:48 egwfw systemd[1]: Started ntfy server.
░░ Subject: A start job for unit ntfy.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ntfy.service has finished successfully.
░░
░░ The job identifier is 40173.
Nov 22 19:08:48 egwfw ntfy[1446862]: INFO Listening on :80[http] :443[https], ntfy 2.7.0, log level is INFO (tag=startup)
Nov 22 19:08:48 egwfw ntfy[1446862]: FATAL listen tcp :80: bind: address already in use (exit_code=1)
Nov 22 19:08:48 egwfw ntfy[1446862]: listen tcp :80: bind: address already in use
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ntfy.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ntfy.service has entered the 'failed' state with result 'exit-code'.
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Scheduled restart job, restart counter is at 1.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit ntfy.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 22 19:08:48 egwfw systemd[1]: Stopped ntfy server.
░░ Subject: A stop job for unit ntfy.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit ntfy.service has finished.
░░
░░ The job identifier is 40273 and the job result is done.
Nov 22 19:08:48 egwfw systemd[1]: Started ntfy server.
░░ Subject: A start job for unit ntfy.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ntfy.service has finished successfully.
░░
░░ The job identifier is 40273.
Nov 22 19:08:48 egwfw ntfy[1446891]: INFO Listening on :80[http] :443[https], ntfy 2.7.0, log level is INFO (tag=startup)
Nov 22 19:08:48 egwfw ntfy[1446891]: FATAL listen tcp :80: bind: address already in use (exit_code=1)
Nov 22 19:08:48 egwfw ntfy[1446891]: listen tcp :80: bind: address already in use
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ntfy.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ntfy.service has entered the 'failed' state with result 'exit-code'.
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit ntfy.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 22 19:08:48 egwfw systemd[1]: Stopped ntfy server.
░░ Subject: A stop job for unit ntfy.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit ntfy.service has finished.
░░
░░ The job identifier is 40373 and the job result is done.
Nov 22 19:08:48 egwfw systemd[1]: Started ntfy server.
░░ Subject: A start job for unit ntfy.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ntfy.service has finished successfully.
░░
░░ The job identifier is 40373.
Nov 22 19:08:48 egwfw ntfy[1446911]: INFO Listening on :80[http] :443[https], ntfy 2.7.0, log level is INFO (tag=startup)
Nov 22 19:08:48 egwfw ntfy[1446911]: FATAL listen tcp :80: bind: address already in use (exit_code=1)
Nov 22 19:08:48 egwfw ntfy[1446911]: listen tcp :80: bind: address already in use
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ntfy.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 22 19:08:48 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ntfy.service has entered the 'failed' state with result 'exit-code'.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Scheduled restart job, restart counter is at 3.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit ntfy.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 22 19:08:49 egwfw systemd[1]: Stopped ntfy server.
░░ Subject: A stop job for unit ntfy.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit ntfy.service has finished.
░░
░░ The job identifier is 40473 and the job result is done.
Nov 22 19:08:49 egwfw systemd[1]: Started ntfy server.
░░ Subject: A start job for unit ntfy.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ntfy.service has finished successfully.
░░
░░ The job identifier is 40473.
Nov 22 19:08:49 egwfw ntfy[1446932]: INFO Listening on :80[http] :443[https], ntfy 2.7.0, log level is INFO (tag=startup)
Nov 22 19:08:49 egwfw ntfy[1446932]: FATAL listen tcp :80: bind: address already in use (exit_code=1)
Nov 22 19:08:49 egwfw ntfy[1446932]: listen tcp :80: bind: address already in use
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ntfy.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ntfy.service has entered the 'failed' state with result 'exit-code'.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Scheduled restart job, restart counter is at 4.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit ntfy.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 22 19:08:49 egwfw systemd[1]: Stopped ntfy server.
░░ Subject: A stop job for unit ntfy.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit ntfy.service has finished.
░░
░░ The job identifier is 40573 and the job result is done.
Nov 22 19:08:49 egwfw systemd[1]: Started ntfy server.
░░ Subject: A start job for unit ntfy.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ntfy.service has finished successfully.
░░
░░ The job identifier is 40573.
Nov 22 19:08:49 egwfw ntfy[1446959]: INFO Listening on :80[http] :443[https], ntfy 2.7.0, log level is INFO (tag=startup)
Nov 22 19:08:49 egwfw ntfy[1446959]: FATAL listen tcp :80: bind: address already in use (exit_code=1)
Nov 22 19:08:49 egwfw ntfy[1446959]: listen tcp :80: bind: address already in use
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ntfy.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ntfy.service has entered the 'failed' state with result 'exit-code'.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit ntfy.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 22 19:08:49 egwfw systemd[1]: Stopped ntfy server.
░░ Subject: A stop job for unit ntfy.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit ntfy.service has finished.
░░
░░ The job identifier is 40673 and the job result is done.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Start request repeated too quickly.
Nov 22 19:08:49 egwfw systemd[1]: ntfy.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ntfy.service has entered the 'failed' state with result 'exit-code'.
Nov 22 19:08:49 egwfw systemd[1]: Failed to start ntfy server.
░░ Subject: A start job for unit ntfy.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ntfy.service has finished with a failure.
░░
░░ The job identifier is 40673 and the job result is failed.

from ntfy.

binwiederhier avatar binwiederhier commented on June 15, 2024

I'm a very patient person, but I ask you to learn to do some work yourself. Read the error message, or ask ChatGPT to interpret what's wrong. It's quite obvious.

I'll close this ticket, as it is clearly not a ntfy bug. Happy Thanksgiving 🦃

from ntfy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.