Comments (3)
Hi @ArthurHoaro and thank you for your feedback! I'll try to answer all of your interrogations.
- I've tried to document all php and js dependencies here
- I don't think we need to suggest PHP extension, Laravel do this for us in its composer.json (no php extension required for excel)
- Additional documentation is now described here
- Yeah, I confess 👏(but no unit tests, only E2E tests)
from shaark.
I'm not familiar with node. I followed the installation instructions here (https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html) and managed to get it installed, but I'm getting a permissions error.
[previous exception] [object] (Symfony\\Component\\Process\\Exception\\ProcessFailedException(code: 0): The command \"'/home/ec2-user/.nvm/versions/node/v12.11.1/bin/node' '/var/www/shaarli/vendor/nesk/rialto/src/node-process/serve.js' '/var/www/shaarli/vendor/nesk/puphpeteer/src/PuppeteerConnectionDelegate.js' '{\"idle_timeout\":60,\"log_node_console\":false,\"log_browser_console\":false}'\" failed.
Exit Code: 126(Invoked command cannot execute)
Working directory: /var/www/shaarli/public
Output:
================
Error Output:
================
sh: /home/ec2-user/.nvm/versions/node/v12.11.1/bin/node: Permission denied
sh: line 0: exec: /home/ec2-user/.nvm/versions/node/v12.11.1/bin/node: cannot execute: Permission denied
at /var/www/shaarli/vendor/nesk/rialto/src/ProcessSupervisor.php:309)
Would you be able to share what your installation procedure is in order to get the "PDF Archiving" feature to work?
Update: I've managed to get node to run by not using sync
for queues. Probably because the webserver user (nginx/apache) in my case does not have permissions to run node, which was installed as ec2-user. I've switched to database queues and I've setup supervisor for it.
However, I run into dependancy hell.
Nesk\Rialto\Exceptions\Node\FatalException: Failed to launch chrome!
/var/www/shaarli/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
If you don't know the solution for this, please ignore my earlier request.
from shaark.
Yeah, I experienced the same issue on CentOS.
I had to install some dependencies:
yum install ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc -y
from shaark.
Related Issues (20)
- Docker installation on Synology
- Demo site is down HOT 1
- Two errors Docker on windows
- Archiving with Youtube-dl does not work
- Issues with running in Docker HOT 1
- Docker instance. 500 - Server Error Whoops, something went wrong on our servers.
- Image handling HOT 3
- Creating users currently not working HOT 1
- Suggestion: Add a combined template HOT 4
- Private does not seem to be private HOT 4
- Error when trying to play a youtube video HOT 4
- Wrong update status display HOT 2
- Public post can be edited by non-owner HOT 2
- Theme/Skin question HOT 4
- Small Improvement - start with empty screen except pinned HOT 2
- Problem with duplicate URLs HOT 2
- 🚀 Roadmap 2.0 HOT 12
- Settings unavailable on fresh install. HOT 4
- Shaark 1.2.44 does not show links when javascript is disabled
- Update to Laravel 10 and PHP 8.2 HOT 1
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 shaark.