Firebase hosting " An unexpected error has occurred" - firebase-hosting

I am trying to host my website and i logout from my old account and login to new account and it ask to update firebase then i try to update then it as to update npm then i do that but i am unable to continue because it is showing below error
What do you want to use as your public directory? youqq
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
? File youqq/index.html already exists. Overwrite? Yes
✔ Wrote youqq/index.html
i Writing configuration info to firebase.json...
Error: An unexpected error has occurred.
ubuntu 14.04 lts
node -v v7.6.0
npm -v 6.2.0
firebase -V 4.0.0

Related

Failed to authenticate after upgrade in goauthentik.io

I have upgraded to version 2022.10 from 2022.7.3 via docker-compose up -d and I hope I do not lose my data. However, after the upgrade, I can not login anymore. The error message I get is "Failed to authenticate"
Is there something I miss out?
Please help me on this matter
I copy and paste the docker file from https://goauthentik.io/docs/releases/2022.10#upgrading and run docker-compose up -d
After the upgrade, I can not login anymore, the error message I get is Failed to authenticate

Keycloak start failed: org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar does not exist

I follow this Keycloak guide to start Keycloak on my server. I am receiving the next exception when running the bin/kc.sh start-dev command:
ERROR: Failed to run 'build' command.
ERROR: java.lang.IllegalArgumentException: /srv/keycloak/lib/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar does not exist
ERROR: /srv/keycloak/lib/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar does not exist
ERROR: /srv/keycloak/lib/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar
For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.
The Keycloak version is 18.0.1, the installed JDK version is 11.0.15, the OS is Debian 11
Can anyone tell me how to solve it? Thanks
It turned out that some of the jars were missing after extracting the loaded Keycloak 18.0.2 tar.gz file on the server. After replacing the jars under keycloak/lib/lib/main and keycloak/lib/lib/deployment I was able to start the Keycloak. To do that, I extracted Keycloak 18.0.2 tar.gz on my local machine and uploaded corresponding jars to the server machine.

Superset database connection with Teradata error

I am trying to connect TD with superset running in kube. This is code from my Dockerfile:
USER root
RUN pip install sqlalchemy-teradata
RUN pip install teradatasql
RUN pip install "apache-superset[teradata]"
COPY tdodbc1700 /usr/local/lib/python3.8/site-packages/
ENV ODBCINI=/.../teradata/client/ODBC_64/odbc.ini
ENV ODBCINST=/.../teradata/client/ODBC_64/odbcinst.ini
This is the sql alchemy URI I am giving:
teradata://user:pwd#host:port/schema
Error I am getting:
"Unexpected error occurred, please check your logs for details"
I am not sure where to check log for more details? Please suggest how to get TD connected with Superset.
Note:
tdodbc1700 used in Dockerfile is ODBC driver for Linux. This is unzipped folder downloaded from TD site.
The base image I am using is amancevice/superset:latest

How can I install vscode-server in linux offline [duplicate]

This question already has answers here:
Using "Remote SSH" in VSCode on a target machine that only allows inbound SSH connections
(5 answers)
Closed last year.
I am trying to install VScode remote-ssh extensions, but my remote host could not connect to the Internet,so there is no way to download software is needed.
So I got some error message like that:
SSH Resolver called for "ssh-remote+kf"
SSH Resolver called for host: kf
Setting up SSH remote "kf"
Using commit id "daf71423252a707b8e396e8afa8102b717f8213b" and quality "insider" for server
Install and start server if needed
> bash: no job control in this shell
> Installing...
> Downloading with wget
> ERROR: certificate common name “*.azurewebsites.net” doesn’t match requested host name “update.code.visualstudio.com”. To connect to update.code.visualstudio.com insecurely, use ‘--no-check-certificate’.
> 2b948abc-b874-4ef5-875a-a29370a5f844##25##
"install" terminal command done
Received install output: 2b948abc-b874-4ef5-875a-a29370a5f844##25##
Server download failed
Downloading VS Code Server failed. Please try again later.
How could I fix this problem ?
First get commit id
Download vscode server from url: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
Upload the vscode-server-linux-x64.tar.gz to server
Unzip the downloaded vscode-server-linux-x64.tar.gz to ~/.vscode-server/bin/${commit_id} without vscode-server-linux-x64 dir
Create 0 file under ~/.vscode-server/bin/${commit_id}
commit_id=f06011ac164ae4dc8e753a3fe7f9549844d15e35
# Download url is: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
curl -sSL "https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable" -o vscode-server-linux-x64.tar.gz
mkdir -p ~/.vscode-server/bin/${commit_id}
# assume that you upload vscode-server-linux-x64.tar.gz to /tmp dir
tar zxvf /tmp/vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1
touch ~/.vscode-server/bin/${commit_id}/0
- or -
See this Gist download-vs-code-server for a more complete shell script that will also get the latest released commit SHA (from GitHub) so you do not need to supply it yourself.
[edited to add helpful comment in case comments disappear later:]
You can replace commit:<commit> with latest to get the latest release build. Example: https://update.code.visualstudio.com/latest/server-linux-x64/stable. Respects indicated quality i.e, stable, insider. – Doom5

How can install sensu-plugins through a proxy or by offline package

I am using Debian 7 amd64, sensu (version 0.28.4-1).
I install sensu-plugins through a proxy with the command:
/opt/sensu/embedded/bin/gem install sensu-plugins-redis --user-install --no-document -p http://myproxy:3128 --verbose -s https://rubygems.org/
But have an error:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - send(2)
When I try to directly install it in a server, which have directly internet connection, everything is successful.
I don't know why.
I also find key work: install sensu-plugins by offline package, but not have recommendation.
Please help me, thanks so much.