Questions tagged [deployment]
A series of activities that makes a program available for use (usually in test or production environments)
24,911
questions
0
votes
1
answer
16
views
Laravel 9 is getting "PHP Fatal error: Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in" after deployment
I build an aplication in Laravel 9 using Laravel Breeze and also vite. There is no problem with my application on my localhost (PHP 8.2). Problem stars when I try to deploy the application on server, ...
0
votes
0
answers
8
views
Vercel app gets caught in promise but localhost:4000 renders the fetch perfectly
In the localhost:4000, the fetch works perfectly and a user is able to register
Here's the code:
const response = await fetch("/api/users/signup", {
method: "POST",
...
0
votes
0
answers
14
views
Error when trying to deploy app on Netflify?
I am having some trouble trying to get my app to deploy via Github, I keep getting this message. I have even deleted the package.json, however not really sure if that did anything at all.
Here is the ...
0
votes
0
answers
14
views
Angular 14 and Bootsrap 5 working locally when deployed but not on online server
I have an Angular (14.2.0) application along with bootstrap (5.2.3).
When I build the app and deploy it locally on IIS it works fine and everything is displaying correctly like below:
But as soon as ...
0
votes
0
answers
30
views
What are the problems with using "composer install" in production? [closed]
I understand that using composer update in production is not advisable because it has indeterminate results; a package could have been updated since you last tested on dev/staging.
But is composer ...
1
vote
0
answers
14
views
PhpStorm updates the web AUTOMATICALLY when making changes
I've been working with PhpStorm for a few months and without the need to save, it already automatically updates any change I make on the production website. This leads to numerous problems and ...
-2
votes
2
answers
30
views
The 'image' attribute has no file associated with it django
I am doing an ecommerce project for deployment in pythonanywhere.com, some error is coming
I would really appreciate if any one could help me to find out the problem as I am a basic learner
TIA
I have ...
-1
votes
0
answers
12
views
How do I automatically authorize app script in a merged doc
Im a newbie to App Scrips and have challenges with having to authorize my app script to run on each newly created document.
I run a merge with Sheet data in to a Doc template (using Autocrat) and have ...
0
votes
0
answers
16
views
Dockerfile build takes too long then crashes with craco - either missing tailwindcss module or heap memory
I am a beginner with Docker and I am trying to prepare and containerise my react frontend for a production build in order to deploy it to AWS ECS.
My frontend folder is around 660mb with all its ...
0
votes
0
answers
15
views
How can I save a pytorch model, so that I don't have to create a Model instance on loading to make predictions?
I have built a custom Pytorch model, that I would like to deploy as a project. I'm doing so with Airflow on two separate containers. I'm having a problem making predictions on the inference container, ...
0
votes
0
answers
10
views
Nextjs site says 500 when creating build
I have a website (https://checkeden.com) built in Next.js version 12 which is deployed in AWS lightsail server. Whenever I made some changes and create a new build the page shows 500 internal server ...
0
votes
0
answers
11
views
Stop Vercel preview deployments on Dependabot PRs
I want to stop Vercel from creating preview deployments for the dependabot pull requests.
In Vercel, in the Ignored Build Step I've tried this:
bash vercel.sh
and in my repo, the vercel.sh file looks ...
-1
votes
0
answers
6
views
How to deploy Spring MVC application to server
I have spring mvc application, so there are frontend and backend inside my application. And I have VDS server with domain but how can I deploy my application to server so that when user enter "...
0
votes
0
answers
10
views
Elasticbeanstalk stopping procfile services during deploy
Hi I am struggling to figure out how to prevent services other than Web running during an elastic beanstalk al2 deploy.
I've realised that all processes listed in the procfile are created as services ...
0
votes
1
answer
21
views
Capistrano gem. Compiling error. SSHKit::Command::Failed: rake exit status: 1
I'm attempting to deploy my project. Had no issues before but I'm suddenly getting the following error on compiling step.
00:10 deploy:assets:precompile
01 /usr/local/rvm/bin/rvm default do ...
0
votes
0
answers
9
views
how to deploy next.js website on nginx for SSR
I built my reactjs website for a company but it needs SSR for shareing its pages on social emedias, therefore I want to migrate my website on next.js but am not sure how to do so, I tried googling it ...
0
votes
0
answers
13
views
How should the port where server.js is listenting be changed when deploying
I have a React App and I use a server.js file for a Contact Form. Now my question is: In the code below what should be changed before deploying? Because my app is listening to port 5000.
const express ...
0
votes
0
answers
38
views
Running my deployed MAUI app on Android doesn't work
I cannot publish my MAUI app
Hello
My MAUI app runs fine in Debug... Sort of.
In the emulator (Pixel 5 Api 33) of course it runs.
On my test phone (a Xiaomi) it runs fine while I keep my phone ...
-1
votes
0
answers
25
views
Log out from GitHub account in terminal [duplicate]
I built a React App and I deployed it with Netlify from a GitHub repo. I pushed the project to the GitHub repo from VSCode terminal, using git:
git remote add origin https://github.com/owner/project....
-3
votes
0
answers
19
views
I want to run my ec2 instance in the root and not in the port [closed]
In ec2 my instance is running something like 1.4.5.6:5000 but now I want it to run without the port just in 1.4.5.6 someone please help me.
-1
votes
0
answers
26
views
Uncaught syntaxerror unexpected token '<' on init app React with docker + nginx [closed]
My React application works normally in a local test, but after deploying it on docker with NGINX, I receive the message without any pattern: Uncaught syntaxerror unexpected token '<'
Error
When ...
0
votes
1
answer
22
views
Error: cannot find artifact "VRFCoordinatorV2Mocks"
I am getting error while deploying mocks.
code where error is showing:
Mocks:
`if (developmentChains.includes(network.name)) {
log("Local network detected! Deploying mocks")
await deploy(&...
1
vote
1
answer
24
views
How to change container name and image in kustomization.yaml
I want to change all the dev-app to demo-app using kustomization.
In my base deployment.yaml I have the following:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
service: dev-...
-1
votes
0
answers
21
views
Where to deploy spring boot application with environment variables? [closed]
Hey folks my question is related to the deployment of a REST full web service, I'm a student I have built a lot of projects but I'm unable to showcase those projects on my portfolio and resume because ...
-2
votes
0
answers
11
views
Deploy Django Project on Hostgator shared hosting
I am currently delving into the world of Django and have aspirations to bring my small project to fruition by deploying it. I have secured a cloud hosting plan with Hostgator for one year, which is a ...
0
votes
0
answers
32
views
Cloud Functions Deployment Issue (.Net 6)
This is the first time I'm working on Google Cloud Functions. I've created a http trigger cloud function using .Net6 framework and trying to deploy it using gcloud Cli. The deployment was failing, and ...
0
votes
0
answers
14
views
Maven deploy: Could not find artifact after no changes
I am trying to publish a maven artifact to GitHub using GitHub packages. I've used GitHub packages before, and the artifact is not new, it's just a new version. I have changed nothing since the last ...
0
votes
0
answers
14
views
vercel deploy fails: Request failed with status code 503
I pushed a new commit for my portfolio GitHub repo. I did not change any dependency, But deploy fails with this error:
> Build error occurred
Error: Request failed with status code 503
at ...
0
votes
1
answer
28
views
Deploying React app on Debian 11 with serve throws unexplainable error in the CI/CD Pipeline on gitlab
The following as the pipeline we are using to deploy the App to the Debian server.
stages:
- deploy
deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *...
0
votes
2
answers
20
views
Changing server.js when deploying
I know almost nothing about NodeJS, but I am building my Portfolio website in React and I wanna include a Contact Form. I use nodemailer but there is something I don't know:
I have my server.js file ...
0
votes
0
answers
10
views
s3 bucket does not collect created pdfs in media folder django/aws
I just deployed my django application to a beanstalk server linked to an s3 bucket in the aws console.
In my application pdfs from each post are created and forwarded to the media folder in the ...
0
votes
1
answer
28
views
Error coming while deploying carbon application of WSO2 MI on Docker Container
I am deploying carbon application (car file) of a service I made on docker. When I checked the logs after running command 'docker-compose up -d'. I am getting an error.
The error is below:
Error ...
0
votes
0
answers
26
views
ActiveModel::UnknownAttributeError because of schema cache in sidekiq server
I have two servers in my application;
・server for web request(server 1)
・server for sidekiq process(server 2)
One day I added a new column to database by migration file and deployed it to two servers.
...
0
votes
0
answers
22
views
CreateContainerError with microk8s, ghrc.io image
The error message is CreateContainerError
Error: failed to create containerd container: error unpacking image: failed to extract layer sha256:b9b5285004b8a3: failed to get stream processor for ...
0
votes
0
answers
13
views
onRender first time deploying a MERN blog app trouble with API
I've deployed my client side fine, but once I deployed my api I can't get my front end to pick it up? (I get 404 when fetching posts and etc.)
What settings do I need to change? Do I need to edit my ...
1
vote
0
answers
14
views
Error: Configuration property "mongoURI" is not defined, when trying to deploy my api on render.com
I have trouble getting my web service up and running. I developed a full stack MERN application and have my client folder already successfully deployed. However, when I try to deploy my backend folder ...
0
votes
0
answers
13
views
Configuring FHIR OSS to use a specific database name
I am deploying the Microsoft Open Source FHIR server to Azure using the supplied ARM templates (which I have converted to BICEP templates).
I want to deploy a test instance and a prod instance (in ...
0
votes
0
answers
17
views
How to route docker api endpoints to a specific subdomain?
I successfully deployed my docker image on a centos VPS, it is a .NET CORE web Api, here is my domain structure:
domain.com
> sub1.domain.com
> sub2.domain.com
My docker api endpoints are ...
0
votes
0
answers
6
views
Should database schema-changes be done by the application during startup, or a separate process during deployment?
What is the most appropriate method for creating or modifying database schema during deploy: Should it be through (1) a separate deployment step before application deploy, or (2) done by the a "...
0
votes
1
answer
16
views
Node.js Express app not working after hosting on Heroku, need help troubleshooting
My Node.js web application, built with Express, Mongoose, and EJS, is not working after hosting it on Heroku. The app connects to a MongoDB Atlas database and has routes for creating, reading, ...
0
votes
0
answers
16
views
local-devices library arp -an error in production?
I'm creating an api in node. with an endpoint that returns devices connected to my wifi using the function find of local-devices dependency. locally it works fine and it brings me the data correctly. ...
-1
votes
0
answers
15
views
How to build in locale with Docker?
I'm developing a web application using docker, everythink looked fine when testing in localhost, then my collegue deployed the application on some servers, I tested If everything worked fine, but I ...
0
votes
2
answers
21
views
How to deploy a Stencil App with a web server?
I'm trying to learn how to deploy a Stencil web app using a web server like Ngnix but I can't make it work on localhost. I suspect there is no entry point for the minified build.
As an example, I'm ...
-7
votes
0
answers
27
views
What is the best way to deploy a React app with a Java backend for production? [closed]
I have an EJB application and a frontend app with React.
I have three choices to deploy:
Deploy war file combine with frontend and backend project in JBoss
Deploy them separately in JBoss
Deploy ...
0
votes
1
answer
11
views
Server not functioning in mern heroku deployment
I have a semi successful deployment to heroku but the calls to the server are saying CONNECTION REFUSED and I can't figure it out.
I can hit the route and it returns correctly in postman but not in ...
0
votes
0
answers
19
views
Deploying a project via AWS - Vue.js (Nuxt Framework) / Backend - Java SpringBoot
My workplace gave me a task to configure servers myself for the upcoming project, which I am glad to carry out... if I knew how to do so! A minimal deployment would do the job alright, since there ...
1
vote
1
answer
27
views
Deploying / Handoff a website to client using google domains and github pages
I am starting a new career as a developer and I am trying to offer my services to shops in my area for free to use as my portfolio. My question is, is it okay to deploy/hand off a website to my client ...
0
votes
0
answers
18
views
Vercel Error: Command "npm run build" exited with 126
I built an app using React.js and it ran fine on the local server. But when I publish on Vercel, this error happens. How can I solve this?
sh: /vercel/path0/node_modules/.bin/react-scripts: Permission ...
0
votes
1
answer
31
views
I can't find a working way to change the Heroku OpenJDK to 11 instead of 8
as you can see in the title, I'm trying to deploy an app to Heroku. But when I try to push to main branch, Heroku builds the app with OpenJDK 8. As I'm using Gradle 7.5.1, I need at least Java 11 to ...
0
votes
0
answers
30
views
How can I deploy a Vite Node.js app on Heroku? Everything I do seems to build but fails to run
I am deploying using Github (automatic fetching and building from the repository). The project version there is the dev version, but since Heroku builds it first, it shouldnt be a problem.
First ...