Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Reset the Coolify Root Password

Use SSH and Docker to reset a self-hosted Coolify root password without email access. This guide covers prerequisites, exact commands, email and 2FA recovery, token revocation, and troubleshooting.
Length8 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a self-hosted Coolify installation, reset the root password directly from the server with Docker. SSH to the host, verify that the coolify container is running, and run php artisan root:reset-password inside it. The reset changes only the root account password; it does not restart Coolify or interrupt deployed applications, databases, or services.

This method is intended for a forgotten password when an emailed reset link is unavailable or cannot be used. It requires SSH access to the machine running Coolify and permission to run Docker. Coolify Cloud users cannot access the underlying container and should contact the Coolify team for account recovery instead.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before you start

Confirm that this is a self-hosted Coolify server. The procedure below depends on entering commands on the host that runs the Coolify container, so it is not available to users of Coolify Cloud.

  • SSH access: You need an account that can connect to the server. The documented example is ssh root@<server-ip>.
  • Docker permission: Your SSH account must be allowed to run Docker commands. If it is not, prepend sudo to the Docker commands or use an administrator account.
  • Root login email: Have the email address currently associated with the Coolify root account. You will use it after the password is reset unless you also need to change the email.
  • Replacement password: Prepare a unique, long password and save it in a password manager. The terminal command checks that both entries match, but it does not enforce the password rules used by the dashboard.

Coolify’s general self-hosting guidance lists a baseline of 2 CPU cores, 2 GB of RAM, and 10 GB of disk space. Those figures describe the infrastructure for a self-hosted installation; they are not special requirements imposed by the password-reset command.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Reset the password from the server terminal

1. Connect to the Coolify host

Open an SSH session to the machine where Coolify is installed:

ssh root@<server-ip>

Replace <server-ip> with the server’s address. If you use a non-root SSH account, that account must have Docker permission. Where it does not, run the Docker commands with sudo, for example sudo docker inspect ... and sudo docker exec ....

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This is server access, not the Coolify web login. The account used for SSH only needs enough operating-system privilege to inspect and execute commands in the Coolify container.

2. Check that the Coolify container is running

Run:

docker inspect --format '{{.State.Status}}' coolify

The expected output is:

running

The command asks Docker for the state of the container named coolify. If Docker reports running, continue. If it reports another state or cannot find the container, do not run the reset command against a different name by guesswork. Confirm that you are connected to the correct host and that the installation’s container is actually named coolify. A non-running or missing container is an installation or host-access issue rather than a password-entry issue; resolve that with the server administrator or the applicable Coolify deployment documentation before proceeding.

3. Run Coolify’s root-password command

With the container running, execute:

docker exec -it coolify php artisan root:reset-password

If your SSH account needs elevated Docker access, use:

sudo docker exec -it coolify php artisan root:reset-password

The command prompts for the new password twice. Enter the same value at both prompts. The terminal does not echo the password while you type; that is normal. The command checks that the two entries match, but it does not apply the dashboard’s password-strength rules, so choose a long, random, unique value rather than relying on the command to reject a weak one.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Do not paste the password into a shell command or save it in shell history. Type it at the hidden prompts, then store the finished credential in a password manager. If the two entries differ, repeat the command and enter the intended value carefully.

4. Sign in again

After the command completes, open the Coolify login page in a private or incognito browser window. Sign in with:

  1. The root account’s current email address.
  2. The new password you entered in the terminal.
  3. The 2FA code, if two-factor authentication is enabled for the root account.

A private window avoids confusing a stale browser session with the result of the reset. It does not change the account or bypass 2FA; it simply gives you a clean login context.

What the reset changes—and what it does not

Changes to expect

  • The password for the Coolify root account is replaced with the value entered in the terminal.
  • The root account is signed out on every device.
  • Every API token owned by that root account is revoked.

Because the tokens are revoked, create replacement tokens after you sign in if automation or integrations use the root account. Revoked tokens cannot be restored. Update each dependent integration with a newly generated token rather than trying to reuse the old value.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Operations that continue

The reset command does not restart Coolify. It does not interrupt deployed applications, databases, or services. Those workloads should continue running while the account credential is changed, although you still need to plan any later token updates for automation that authenticates as the root account.

Other users

The reset targets only the root account. Other users’ sessions and API tokens are unaffected. If another user’s access is the problem, resetting the root password is not a substitute for that user’s own recovery process.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Choose the recovery method that matches the failure

Not every sign-in problem requires a server-side password reset. Use the method that matches the access you still have:

Situation Recovery path What it depends on
You can still open the dashboard as the root user Change the password from the account profile/settings area Existing dashboard access; no SSH or email dependency
You know the account email and can receive Coolify’s transactional messages Use the emailed forgot-password link Working transactional email and access to the mailbox
You cannot sign in and email recovery is unavailable Run docker exec -it coolify php artisan root:reset-password on the host SSH access and permission to run Docker
The password works but the account email is wrong or inaccessible Run the documented email-change command SSH access and Docker permission; the command changes the email immediately
2FA is blocking sign-in Use Coolify’s separate Reset 2FA procedure The recovered or known password and the procedure’s current requirements

The terminal reset is the least dependent on email, but it cannot be performed without access to the server that runs Coolify. A dashboard profile change is simplest when a valid session remains open. An emailed link is convenient only when the configured mailbox and transactional email delivery work.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the root email address is unavailable

A successful password reset still requires the current root email at login. If that address is wrong, inaccessible, or no longer usable, Coolify documents this command for self-hosted instances:

docker exec -it coolify php artisan root:change-email

Use the same SSH and Docker-permission requirements as the password reset. The email-change command changes the login email immediately and does not send a verification message. Treat the new address as a credential-recovery detail: use an inbox you control, record it in your password manager, and then sign in with that address and the newly reset password.

Changing the email does not itself solve a forgotten password. If both the password and email are unusable, perform the password reset first, change the email as needed, and then log in with the resulting credentials.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If two-factor authentication is the blocker

The password-reset command does not remove 2FA. After resetting the password, the login page still asks for the authenticator code when 2FA is enabled.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Coolify has a separate Reset 2FA procedure for this case. Use that procedure after recovering or knowing the password, and follow the current official instructions for your installed version. Clearing 2FA removes the authenticator setup and the associated recovery codes, so you must configure two-factor authentication again and save the new recovery codes securely once access is restored.

If you still have a valid 2FA code, enter it during the normal login after the password reset. Do not assume that changing the password disables an existing authenticator.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting the terminal procedure

Docker says permission is denied

Your SSH account can reach the server but cannot communicate with Docker. Re-run the command with sudo if that account is authorized to elevate, or ask the server administrator to grant the account the required Docker permission. The Coolify command itself has not failed until it is actually executed inside the container.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The container status is not running

The documented check must return running. If it returns another state, verify the host and container name before attempting recovery. Do not substitute a similarly named container without confirming that it is the Coolify application container. If the installation is stopped, investigate the host or deployment state through the administrator or current Coolify operational documentation; the password command is not a container-start command.

Docker cannot find coolify

This usually means the command is being run on the wrong machine, the installation uses a different container name, or the container has not been created. Confirm the SSH destination and the installation’s actual container configuration. The documented reset syntax specifically targets a container named coolify.

The password prompts do not accept the value

Hidden terminal input is expected: characters will not appear while typing. Enter the same password at both prompts. If the command reports a mismatch, run it again and type the value carefully. Since the command does not enforce dashboard password rules, a rejection at this stage is about the two entries not matching rather than a strength-policy warning.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

The new password works but an automation job fails

The reset revokes every API token owned by the root account. Sign in, create replacement tokens, and update the affected automation with those new values. There is no supported way to restore the revoked tokens.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The browser still shows the old login state

Close the old session and retry in a private browser window. The reset signs the root account out on every device, so an existing tab may display a stale page or redirect. Use the root email, the new password, and the 2FA code when applicable.

Security steps after regaining access

  1. Confirm that the root email shown in the account is an inbox you control. If it is not, change it with the documented root:change-email command.
  2. Review integrations that used root-account API tokens. Generate replacement tokens and update those integrations because the previous tokens are permanently revoked.
  3. Store the new password in a password manager rather than in a shell history file, chat message, or deployment script.
  4. If 2FA was cleared during recovery, enroll an authenticator again and store the newly issued recovery codes in a separate secure location.
  5. Close the SSH session when the recovery work is finished, especially if you connected with a privileged account.

These steps do not alter deployed workloads; they secure the credentials and integrations affected by the account reset.

Quick command reference

Purpose Command Expected or important result
Connect to the host ssh root@<server-ip> Opens an SSH session on the Coolify server
Check container state docker inspect --format '{{.State.Status}}' coolify Must print running
Reset root password docker exec -it coolify php artisan root:reset-password Prompts twice for the new password; input is hidden
Change root email docker exec -it coolify php artisan root:change-email Changes the login email immediately; no verification message is sent

For a non-root SSH account that lacks direct Docker permission, prepend sudo to the Docker commands. The SSH command itself depends on how that account is configured on the server.

When to contact Coolify support

Contact the Coolify team if you use Coolify Cloud, because Cloud users cannot access the container that runs the reset command. For self-hosted installations, seek help from the server administrator when you cannot establish SSH access, cannot obtain Docker permission, or the expected coolify container is absent. Those conditions must be resolved at the host or deployment layer before an account-password command can run.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.