Ctrlpanel-gg / panel

CtrlPanel offers an easy-to-use and free billing solution for all starting and experienced hosting providers that seamlessly integrates with the Pterodactyl panel.
https://ctrlpanel.gg/
MIT License
410 stars 147 forks source link

[Bug]: double topbar entries (or install errors) #898

Closed kenshin133 closed 4 months ago

kenshin133 commented 1 year ago

What is your request about?

image I saw this on my recent fresh install.. as far as I know the seeding step may have ran twice, but not three times. I removed the db, and .env file, then created a new db and ran install again in browser, image

Could be unrelated but Ill attach whole install log just in case its helpful for this issue or others.

during install it said it failed, but I clicked to continue again and it completed. (likely seeding again and causing the double situation.

Branch

development

Solution idea

During install it said it failed, but I clicked to continue again and it completed. (likely seeding again and causing the double situation. installer.log laravel.log cron.log

Controlpanel Logs

No response

Additional Info

No response

MrWeez commented 1 year ago

You can configure this in the useful links section

1day2die commented 1 year ago

yeah the installer fails on the seeding step of the installation, but if you click "continue" again, it will succeed. i couldnt wrap my head around why this happens yet

kenshin133 commented 1 year ago

==> laravel.log <== [2023-08-02 00:20:03] production.DEBUG: Failed to construct Pterodactyl client, Settings table not available? {"exception":"[object] (Illuminate\Database\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list' (SQL: select name, payload from settings where group = pterodactyl) at /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)

This was the first error on my new install. will attach the tail -f from all three logs starting at the pre-install checks, to when the seeding fails. seedingfailed.log

S0ly commented 4 months ago

have this been fixed in the dev branch ?

kenshin133 commented 4 months ago

I do think so. And if not it was a side effect of a larger bigger problem so it's not a priority.

On Wed, May 15, 2024, 10:39 AM S0ly @.***> wrote:

have this been fixed in the dev branch ?

— Reply to this email directly, view it on GitHub https://github.com/Ctrlpanel-gg/panel/issues/898#issuecomment-2112727719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDX6FY6AMJTZWIUPA46CKLZCNXRVAVCNFSM6AAAAAA24XNGD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSG4ZDONZRHE . You are receiving this because you authored the thread.Message ID: @.***>

S0ly commented 4 months ago

Okay, we are fixing the installer anyway on the next version , so would you like to close this issue ?

kenshin133 commented 4 months ago

Yes, please! I'll reopen if I hit it again.

On Wed, May 15, 2024, 11:13 AM S0ly @.***> wrote:

Okay, we are fixing the installer anyway on the next version , so would you like to close this issue ?

— Reply to this email directly, view it on GitHub https://github.com/Ctrlpanel-gg/panel/issues/898#issuecomment-2112824350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDX6F7OS72SBYIUGW7BMN3ZCN3P3AVCNFSM6AAAAAA24XNGD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSHAZDIMZVGA . You are receiving this because you authored the thread.Message ID: @.***>

S0ly commented 4 months ago

okay thanks !

S0ly commented 4 months ago

Issue may be resolved in futur version or is already resolved