Comments (8)
OK forget the previous error, tried doubling the RAm to 4096MB again, and now it builds. And pm2 restart pingvin-share-frontend
works... very strange... Previous builds were possible to build with 1024MB, since when it is running, it never uses 4096MB at all: 5.75% (235.42 MiB von 4.00 GiB)
I am downgrading RAM again to 1024MB, now I know for updates it needs more RAM.
from pingvin-share.
Thanks, but I avoid docker, since it has too much overhead compared to LXC and is too complex to maintain, so I prefer (and have only) bare metal for everything. It is also easier to include security measurements in bare metal than in docker containers. Docker is just easy to deploy, but for everything other than that, this is a big disadvantage.
from pingvin-share.
pm2 start --name="pingvin-share-frontend" .next/standalone/server.js
gives
[PM2][ERROR] Script not found: /opt/pingvin-share/frontend/.next/standalone/server.js
from pingvin-share.
Does this issue only occur since the last release? Could you also please share the output of cd frontend && npm run build
?
from pingvin-share.
frontend builds and starts fine, no errors. I am on version Version 0.28.0, so yes.
from pingvin-share.
frontend builds and starts fine
So does it work now? If not, could you please try pm2 start --name="pingvin-share-frontend" npm -- run start
instead of pm2 start --name="pingvin-share-frontend" .next/standalone/server.js
?
from pingvin-share.
sorry, got confused with #546
I tried it again, this time it is another error. It does not build now. So a step ahead of the previous time I tried it.
Already tried to double the RAM to the LXC and has now 2048MB. It uses only max. 63% of available RAM.
I run this command: cd ../frontend && npm install && npx prisma generate && npm run build
up to date, audited 785 packages in 1s
162 packages are looking for funding
run `npm fund` for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
> [email protected] build
> next build
▲ Next.js 14.2.3
./src/components/account/showShareInformationsModal.tsx
6:10 Warning: 'FileMetaData' is defined but never used. no-unused-vars
./src/components/admin/configuration/AdminConfigInput.tsx
17:26 Warning: 'variable' is defined but never used. no-unused-vars
./src/components/admin/shares/ManageShareTable.tsx
28:17 Warning: 'share' is defined but never used. no-unused-vars
./src/components/admin/users/ManageUserTable.tsx
6:28 Warning: 'useIntl' is defined but never used. no-unused-vars
16:16 Warning: 'user' is defined but never used. no-unused-vars
./src/components/header/ActionAvatar.tsx
6:28 Warning: 'useIntl' is defined but never used. no-unused-vars
./src/components/share/FileSizeInput.tsx
15:14 Warning: 'number' is defined but never used. no-unused-vars
./src/components/share/showEnterPasswordModal.tsx
11:20 Warning: 'password' is defined but never used. no-unused-vars
26:20 Warning: 'password' is defined but never used. no-unused-vars
./src/components/upload/Dropzone.tsx
44:20 Warning: 'files' is defined but never used. no-unused-vars
./src/components/upload/FileList.tsx
71:14 Warning: 'files' is defined but never used. no-unused-vars
./src/components/upload/modals/showCreateUploadModal.tsx
48:20 Warning: 'createShare' is defined but never used. no-unused-vars
48:46 Warning: 'files' is defined but never used. no-unused-vars
100:20 Warning: 'createShare' is defined but never used. no-unused-vars
100:46 Warning: 'files' is defined but never used. no-unused-vars
461:20 Warning: 'createShare' is defined but never used. no-unused-vars
461:46 Warning: 'files' is defined but never used. no-unused-vars
./src/pages/account/shares.tsx
7:3 Warning: 'MediaQuery' is defined but never used. no-unused-vars
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
✓ Linting and checking validity of types
Creating an optimized production build ...
> [PWA] Compile server
> [PWA] Compile server
> [PWA] Compile client (static)
> [PWA] Auto register service worker with: /opt/pingvin-share/frontend/node_modules/next-pwa/register.js
> [PWA] Service worker: /opt/pingvin-share/frontend/public/sw.js
> [PWA] url: /sw.js
> [PWA] scope: /
✓ Compiled successfully
Collecting page data ...Killed
from pingvin-share.
Okay thanks. Alternatively I would recommend you the Docker installation, with that you don't have to build the project.
from pingvin-share.
Related Issues (20)
- 🚀 Feature: Disable Email Registration all together HOT 2
- 🐛 Bug Report: Get Started Button on Home Page not working when Sign-Up is disabled HOT 1
- 🚀 Feature: S3 file storage HOT 2
- 🌐 Language request: Czech HOT 1
- 🐛 Bug Report: Missing translation for LDAP "Admin group" field description HOT 1
- 🚀 Feature: Add description field to reverse share
- 🐛 Bug Report: No Logo HOT 4
- 🌐 Language request: Vietnamese HOT 1
- 🐛 Bug Report: Page views "my shares". HOT 6
- 🚀 Feature: Option for admin approval for every signup
- 🐛 Bug Report: Translation for {expires} in Emails HOT 1
- 🐛 Bug Report: Generated Link has the Port inside of it, but does not work HOT 1
- 🚀 Feature: Require E-mail confirmation upon sign up
- 🌐 Language request: Bulgarian HOT 1
- 🚀 Feature: Favicon HOT 5
- 🚀 Feature: Sign Up with social login not clear for users
- 🐛 Bug Report: LDAP Auth not working for Active Directory HOT 5
- 🚀 Feature: Add "next item" in the preview window
- 🐛 Bug Report: Nonce error 500 internal server error with social logins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingvin-share.