Hi,
I tried to rebuild PartKeepr from git on Ubuntu 22.04 and I could not get this part to work.
composer require symfony/webpack-encore-bundle
GitHub changed its API key stuff and the last version of composer 1.X (which is 1.10.7) is not compatible with the new format. I hit the "rate limit ... use GitHub token" stuff but the token format issue prevented me from getting any further.
I can rebuild PartKeepr from git on older versions of Debian but the "Your database schema is not up-to-date! Please re-run setup immediately!" stuff doesn't happen there.
On Ubuntu 22.04 I'm using mariadb-server 1:10.6.7-2ubuntu1.1 which is a patched 10.6.7.
For me the "Your database schema is not up-to-date! Please re-run setup immediately!" appears harmless "it just works".
Penultimately, the getSchemaQueries() method returns one too many queries to the getSchemaStatus() method causing getSchemaStatus() to return "incomplete".
Either the stuff that tests of this is bad or there might be uncommitted stuff, maybe from setup or something.
src/PartKeepr/CoreBundle/Services/SystemService.php
class SystemService extends ContainerAware
{
[...skip head...]
/**
* Checks if the schema is up-to-date. If yes, it returns "complete", if not, it returns "incomplete".
*
* @param none
*
* @return string Either "complete" or "incomplete"
*/
protected function getSchemaStatus()
{
$queries = $this->getSchemaQueries();
if (count($queries) > 0) {
return 'incomplete';
} else {
return 'complete';
}
}
[...snip...]