Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

php artisan storage:link outputs incorrect target path label [storagepublic] #55630

Copy link
Copy link
Closed
@wtw24

Description

@wtw24
Issue body actions

Laravel Version

12.12.0

PHP Version

PHP 8.4.6

Database Driver & Version

No response

Description

When running:

php artisan storage:link

Laravel outputs:

The [public/storage] link has been connected to [storagepublic].

But $target is:

/app/storage/app/public

Confirmed via:

dump($link, $target);

This appears to be a display bug in Illuminate\Console\View\Components\Info, where the ANSI-formatted output misrepresents the $target path.

Expected Output:

The [public/storage] link has been connected to [/app/storage/app/public].

Actual Output:

The [public/storage] link has been connected to [storagepublic].

Environment: Docker (Alpine-based container)

Steps To Reproduce

run

php artisan storage:link

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.