You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environemnt :
OS : Windows 10
DB : SqlServer 2019
Go : 1.19
I am new to Go and Corteza and I don't really know if the solution provided is correct or not. But when building Corteza server in the development and editing environment of Windows (10), the building system encounters errors at several points:
Current Behavior:
In the users.go file located in the path : corteza\server\system\commands and in line 124: if password, err = terminal.ReadPassword(syscall.Stdin); err != nil {
When compiling with an error cannot use syscall.Stdin (variable of type "syscall".Handle) as int value in argument to terminal.ReadPassword
will arise.
solution :
change code to: if password, err = terminal.ReadPassword(int(os.Stdin.Fd())); err != nil {
and problem solved.
When building the system, to find local languages, the path ../../locale is searched by default, which does not exist.
solution :
in the .env file, LOCALE_PATH=../locale should be set.
When using the SQL Server driver, if intense is not the default and we have used named Instance, the program setup will fail during migration and the following error will be displayed. could not upgrade primary store: mssql: Invalid object name 'INSTANCENAME.information_schema.columns
solution :
When running boot_levels.go in the startup process of the program and when upgrading the database, an error occurred. In the SQL profile, I traced the executed commands and saw that to check the created tables and columns, the name of the instance came before information_schema, which caused error.just used default instance and problem solved. but it is not acceptable in production environment.
The text was updated successfully, but these errors were encountered:
Githubuser338
changed the title
When try to build Corteza server in windows environemnt , build system fails because of some code does not compile or run coorectly in windows.
When try to build Corteza server in windows environemnt , build system fails because of some code does not compile or run correctly in windows.
Oct 22, 2023
Corteza Version :
2023.3.7
Environemnt :
OS : Windows 10
DB : SqlServer 2019
Go : 1.19
I am new to Go and Corteza and I don't really know if the solution provided is correct or not. But when building Corteza server in the development and editing environment of Windows (10), the building system encounters errors at several points:
Current Behavior:
if password, err = terminal.ReadPassword(syscall.Stdin); err != nil {
When compiling with an error
cannot use syscall.Stdin (variable of type "syscall".Handle) as int value in argument to terminal.ReadPassword
will arise.
solution :
change code to:
if password, err = terminal.ReadPassword(int(os.Stdin.Fd())); err != nil {
and problem solved.
When building the system, to find local languages, the path ../../locale is searched by default, which does not exist.
solution :
in the .env file, LOCALE_PATH=../locale should be set.
When using the SQL Server driver, if intense is not the default and we have used named Instance, the program setup will fail during migration and the following error will be displayed.
could not upgrade primary store: mssql: Invalid object name 'INSTANCENAME.information_schema.columns
solution :
When running boot_levels.go in the startup process of the program and when upgrading the database, an error occurred. In the SQL profile, I traced the executed commands and saw that to check the created tables and columns, the name of the instance came before information_schema, which caused error.just used default instance and problem solved. but it is not acceptable in production environment.
The text was updated successfully, but these errors were encountered: