Uppgradering tillV3

http://karpero.mine.nu/ha

Moderators: Daniel, tom_rosenback, Telldus

Post Reply
coldhem
Posts: 3
Joined: Fri Mar 17, 2023 9:45 am

Uppgradering tillV3

Post by coldhem »

Fick detta under installationen av V3
Oops, something is wrong with your database!

Table 'versionchecks' already exists

Query: create table `versionchecks` ( `name` varchar (20) NOT NULL , `version` varchar (20) NOT NULL , `dismissed` tinyint DEFAULT '0', PRIMARY KEY (`name`))

Please correct the problem and try again.

Hint: If you get an error stating that you are missing a table and you have verified that your mysql_settings.php file is correct, delete the mysql_settings.php and put the install folder back and do the installation again.

Tagitbort Mysql_settings.php men inget ändras. www-data har access till www/HomeAutomation. finns ingen tabell som heter versionchecks enligt mysql när jag kör SHOW TABLES;
..

Ideer?
tom_rosenback
Posts: 779
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Uppgradering tillV3

Post by tom_rosenback »

coldhem wrote:Fick detta under installationen av V3
Oops, something is wrong with your database!

Table 'versionchecks' already exists

Query: create table `versionchecks` ( `name` varchar (20) NOT NULL , `version` varchar (20) NOT NULL , `dismissed` tinyint DEFAULT '0', PRIMARY KEY (`name`))

Please correct the problem and try again.

Hint: If you get an error stating that you are missing a table and you have verified that your mysql_settings.php file is correct, delete the mysql_settings.php and put the install folder back and do the installation again.

Tagitbort Mysql_settings.php men inget ändras. www-data har access till www/HomeAutomation. finns ingen tabell som heter versionchecks enligt mysql när jag kör SHOW TABLES;
..

Ideer?
Hej,

Vilken version har du kört före uppdatering? "versionchecks" tabellen har tillkommit i v3.0.1 och har du den sedan tidigare i databasen så klagar den precis sådär. Finns heller inget i installationsskriptet som skulle göra att den försöker skapa den 2 gånger.
//Tom

Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
coldhem
Posts: 3
Joined: Fri Mar 17, 2023 9:45 am

Re: Uppgradering tillV3

Post by coldhem »

Hej,

jag gjorde en tabbe, eftersom jag vid 1:a uppstart med v3.0 fick frågan om att ta bort installationsmappen, eller göra om installationen från början. Loggade in i myaql och tog bort den tabellen, fick installationen klar men nu hittar jag inte enheterna. tdtool --list i bash fungerar. Dock så när jag kör tdtool --on 1 så får jag felmeddelande trots att jag ser att lampan tänder..

Säöker lite mer i forumet:) tack för snabb respons!
Post Reply