{"id":22974330,"url":"https://github.com/diversen/ubuntu-auto-upgrade","last_synced_at":"2025-04-02T07:25:18.582Z","repository":{"id":45642639,"uuid":"513860344","full_name":"diversen/ubuntu-auto-upgrade","owner":"diversen","description":"Script to auto update a ubuntu server and sending notification emails using SMTP","archived":false,"fork":false,"pushed_at":"2023-09-20T14:50:40.000Z","size":58,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T22:28:31.991Z","etag":null,"topics":["ubuntu-auto-upgrade","ubuntu-automation","ubuntu-php","ubuntu-upgrades"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diversen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-14T10:41:31.000Z","updated_at":"2023-09-14T14:42:23.000Z","dependencies_parsed_at":"2025-02-07T22:28:28.635Z","dependency_job_id":null,"html_url":"https://github.com/diversen/ubuntu-auto-upgrade","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fubuntu-auto-upgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fubuntu-auto-upgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fubuntu-auto-upgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fubuntu-auto-upgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/ubuntu-auto-upgrade/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771790,"owners_count":20831103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ubuntu-auto-upgrade","ubuntu-automation","ubuntu-php","ubuntu-upgrades"],"created_at":"2024-12-15T00:00:35.869Z","updated_at":"2025-04-02T07:25:18.564Z","avatar_url":"https://github.com/diversen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ubuntu Auto Upgrade\n\nThis script will auto-upgrade ubuntu and send email notifications using SMTP. \nIt will probably also work with other Debian variants of linux.\n\nThere is also a python port of these scripts:\n\n[ubuntu-auto-upgrade-py](https://github.com/diversen/ubuntu-auto-upgrade-py.git)\n\nTested on Ubuntu 20.04 LTS and 22.04 LTS\n\n## Install\n\n    git clone https://github.com/diversen/ubuntu-auto-upgrade.git\n    cd ubuntu-auto-upgrade\n    composer install\n\n## Config\n\nCreate config files:\n\n    cp -R config/* config-locale/\n\nEdit SMTP settings in `config-locale/SMTP.php`. \n`DefaultTo` setting in SMTP is the email address of the person who will receive emails. \n\nYou can also edit `config-locale/App.php`. `restart` determines if the server should restart if needed. \nYou may also set `timezone`. \n\n## Cron\n\nSet the script up as a cron script. Let it run every 10 minutes of so.\nYou will need to let the script run as root. Edit crontab as `sudo`, e.g.: \n\n    sudo crontab -e\n\nAdd the crontab line (change to your own source path):\n\n    */10 * * * * cd /home/dennis/ubuntu-auto-upgrade \u0026\u0026 php cron.php\n\n## Logs\n\nLogs are written to `logs/main.log`. This log file will be created if it does not exist.  \n\n# License\n\nMIT © [Dennis Iversen](https://github.com/diversen)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fubuntu-auto-upgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fubuntu-auto-upgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fubuntu-auto-upgrade/lists"}