System information
Client information:
Browser: Google chrome.
OS: windows 10.
To Reproduce
Steps to reproduce the behavior:
What i tried so far:
Screenshot:

Server is also replying with error code 500:

Stack trace:
Please include the actual error with the stack, it's the one line you didn't include.
Additionally please keep the error stack inside a code block so scrolling though this issue and reading it is easier.
@DaneEveritt i think the error is at the wings side because when i use the post api for subusers i get:
"errors": [
{
"code": "QueryException",
"status": "500",
"detail": "An unexpected error was encountered while processing this request, please try again."
}
]
the other part of the stack trace is:
[2020-10-26 09:59:45] production.ERROR: QueryException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'queue' in 'field list' (SQL: insert intojobs(queue,attempts,reserved_at,available_at,created_at,payload) values (standard, 0, ?, 1603720785, 1603720785, {"uuid":"REDACTED","displayName":"Pterodactyl\\Notifications\\AddedToServer","job":"Illuminate\\Queue\\CallQueuedHandler@call","maxTries":null,"maxExceptions":null,"delay":null,"timeout":null,"timeoutAt":null,"data":{"commandName":"Illuminate\\Notifications\\SendQueuedNotifications","command":"O:48:\"Illuminate\\Notifications\\SendQueuedNotifications\":13:{s:11:\"notifiables\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":4:{s:5:\"class\";s:23:\"Pterodactyl\\Models\\User\";s:2:\"id\";a:1:{i:0;i:2;}s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";}s:12:\"notification\";O:39:\"Pterodactyl\\Notifications\\AddedToServer\":10:{s:6:\"server\";O:8:\"stdClass\":3:{s:4:\"user\";s:5:\"Dylan\";s:4:\"name\";s:18:\"Testserver\";s:9:\"uuidShort\";s:8:\"REDACTED\";}s:2:\"id\";s:36:\"REDACTED\";s:6:\"locale\";N;s:10:\"connection\";N;s:5:\"queue\";N;s:15:\"chainConnection\";N;s:10:\"chainQueue\";N;s:5:\"delay\";N;s:10:\"middleware\";a:0:{}s:7:\"chained\";a:0:{}}s:8:\"channels\";a:1:{i:0;s:4:\"mail\";}s:5:\"tries\";N;s:7:\"timeout\";N;s:3:\"job\";N;s:10:\"connection\";N;s:5:\"queue\";N;s:15:\"chainConnection\";N;s:10:\"chainQueue\";N;s:5:\"delay\";N;s:10:\"middleware\";a:0:{}s:7:\"chained\";a:0:{}}"}})) in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
// I REPLACED SOME PARTS WITH 'REDACTED'
It looks like something is wrong with your database setup, since it is trying to access a column that does not exist at all.
@DaneEveritt The database should be fine.
I also manually added the rows for the subuser and everything is working. but what i said: the error has to be on the wings side because when i do an api request with curl i can fetch and everything. and i can change users that exist.
BUT when i ADD a user the api replies with: '"errors": [ { "code": "QueryException", "status": "500", "detail": "An unexpected error was encountered while processing this request, please try again." } ]' so there has to be something wrong there.
this is the error i get from CURL and from the html inspector.
i also enabled wings by doing wings --debug but there was not appearing anything while making that request
Subuser creation/management/deletion does not communicate with Wings, at all, so not sure what is leading you to believe that. :)
Also, the error is literally:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'queue' in 'field list'
my bad then! :)
But i do not know what happend with the database then. i did a full reinstall 2 times.
Sorry if it was a failure by me in any way then i am sorry i did take your time.
i was confinced it was a global bug and not a database bug. because i did a clean install a 2 times and also the database i followed the steps from the main site. but i wil take a deeper look then.
If your jobs table does not match this structure then I don't know what to tell you other than something is wrong with your database or you're not running the migrations properly.
CREATE TABLE `jobs` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`queue` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`attempts` tinyint unsigned NOT NULL,
`reserved_at` int unsigned DEFAULT NULL,
`available_at` int unsigned NOT NULL,
`created_at` int unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `jobs_queue_reserved_at_index` (`queue`,`reserved_at`)
) ENGINE=InnoDB AUTO_INCREMENT=21364 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
If your jobs table does not match this structure then I don't know what to tell you other than something is wrong with your database or you're not running the migrations properly.
CREATE TABLE `jobs` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT, `queue` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `attempts` tinyint unsigned NOT NULL, `reserved_at` int unsigned DEFAULT NULL, `available_at` int unsigned NOT NULL, `created_at` int unsigned NOT NULL, PRIMARY KEY (`id`), KEY `jobs_queue_reserved_at_index` (`queue`,`reserved_at`) ) ENGINE=InnoDB AUTO_INCREMENT=21364 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
thanks this fixed all my issues.
creating that table did it. thanks!!
you made my day 馃憤