Skip to content

issue with certbot.service #5

Open

Description

@genewitch

Issue: certbot.service fails (quietly) because of running nginx
Expected: nginx is stopped before running the 60-90 day certbot.service renewal job

certbot.service fails because port 80 is unusable by the certbot tool.

should anyone run in to this the proper sequence of commands to get around this is

systemctl stop nginx && systemctl start certbot && systemctl start ngnix

Activity

  1. tamaina commented on Aug 10, 2022

    @tamaina
    Contributor

    It has been fixed certbot to work with the following nginx config:
    https://github.com/joinmisskey/bash-install/blob/main/ubuntu.sh#L595-L599

    At least, that problem does not occur in my environment.

  2. tamaina commented on Jan 8, 2023

    @tamaina
    Contributor

    あ〜〜、nginx有効かつcloudflare無効の時は確かに無理なのか

  3. tamaina commented on Jan 8, 2023

    @tamaina
    Contributor

    maybe fixed on v2

  4. genewitch commented on Jan 12, 2023

    @genewitch
    Author

    This may be an entirely different issue, so i can move it or someone on the project can move it

    maybe fixed on v2

    I can't upgrade/update anymore, when i run sudo bash update.ubuntu.sh:

    Check: root user;
            OK. I am root user.
    Process: import environment and detect method;
    method: systemd / user: misskey / dir: misskey / localhost:3000
    Process: update (systemd);
    Process: git pull;
    Already up to date.
    Process: stop daemon;
    Process: clean;
    bash: line 7: yarn: command not found
    Process: start daemon;
    

    misskey webui shows:

    Enviroment
    Misskey
    12.119.2
    Node.js
    v18.12.1
    PostgreSQL
    13.9 (Ubuntu 13.9-1.pgdg20.04+1)
    Redis
    7.0.7
    Vue
    3.2.39
    
  5. tamaina commented on Jan 12, 2023

    @tamaina
    Contributor

    corepack may be not enabled.

    Please check Releases page and migrate to v2 from the version you installed. update.sh doesn't update the environment, update only the version of Misskey.

  6. tamaina commented on Jan 12, 2023

    @tamaina
    Contributor

    I think the fix of certbot might not apply.

    You should change the crontab of certbot to --webroot --webroot-path /var/www/html (you should mkdir -p) instead of --standalone. To execute (immediate by you) the changed command in crontab will fix the cerfitication error your Msiskey have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions