Skip to content

how solve this issues in local installation in ubuntu 22 #162

Description

@johnfelipe

Describe the bug

[ContentMain]
ContentMain.js:18 [ContentService] document.readyState: loading
ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 623163460, FrameId: 0}
_app-51463f32638807d0.js:50007 Has database: false
_app-51463f32638807d0.js:50007 Has database: false
chrome-extension://a…ih/draggable.js:190 Uncaught SyntaxError: Unexpected token 'export'
chrome-extension://a…khih/recorder.js:41 Uncaught SyntaxError: Unexpected token 'export'
:3000/_vercel/insights/script.js:1 
        
        
       Failed to load resource: the server responded with a status of 404 (Not Found)
ContentMain.js:18 [ContentMain]
ContentMain.js:18 [ContentService] document.readyState: loading
ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 623163460, FrameId: 560}
ContentMain.js:18 [ContentMain]
ContentMain.js:18 [ContentService] document.readyState: loading
ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 623163460, FrameId: 561}
:3000/api/connection/db_schema:1 
        
        
       Failed to load resource: the server responded with a status of 400 (Bad Request)
192.168.20.24/:1 Uncaught (in promise) AxiosError

i put this:

docker run -d --name sqlchat --platform linux/amd64 \
  --env NEXTAUTH_SECRET="$(openssl rand -hex 5)" \
  --env OPENAI_API_KEY=sk-hahahah \
  --env NEXTAUTH_URL=http://192.168.20.24:3000 \
  --env NEXT_PUBLIC_USE_DATABASE=true \
  --env DATABASE_URL="sqlserver://hcdcadressql.database.windows.net:1433;database=hcdc_adres;user=your_username;password=your_password;encrypt=true;trustServerCertificate=true" \
  --env DEBUG="*" \
  -p 3000:3000 \
  sqlchat/sqlchat

To reproduce

https://drive.google.com/file/d/1JZlXcdmgtia6wgRHYQpElduwTppkRPjI/view?usp=drivesdk

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions