Trellis development and admin usernames

Dunno if this is a bug or anything but wanted to share this.

When spinning up a new project, we can’t use admin_user: @username as the @ character in front of the username as vagrant up isn’t allowing it.

The error is “found character that cannot start any token while scanning for the next token”

I use @ to separate the admin users from the woocommerce order users easily (@admins get to the top of the list) but tend to do this on non woocomerce sites aswell. :)grin:

A workaround for this is to fire up the production server first and create the @user at setup, then migrate the production server db to development environment and continue to work there.

Did you try putting the username in quotes?

admin_user: "@username"

1 Like

:confused: Facepalm… yes that’s the proper way of doing it. :slight_smile: Thanks.