Hi!
Would it be possible the get a lamp app with PHP 8 as default?
Hi!
Would it be possible the get a lamp app with PHP 8 as default?
@girish Now it doesn't output any errors, but I can't access the page:
; Add custom PHP configuration in this file
; Settings here are merged with the package's built-in php.ini
disable_functions = ;
@girish I'm getting an error with LAMP's PHP.ini. Chaning the PHP.ini in the data dir doesn't fix it. What do I do?
The error as following:
May 07 22:10:38 PHP: syntax error, unexpected $end in /etc/php/7.4/cli/conf.d/99-cloudron.ini on line 5
May 07 22:10:38
May 07 22:10:38 ErrorException
May 07 22:10:38
May 07 22:10:38 pcntl_async_signals() has been disabled for security reasons
May 07 22:10:38
May 07 22:10:38 at /app/data/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:639
May 07 22:10:38 635▕ * @return void
May 07 22:10:38 636▕ */
May 07 22:10:38 637▕ protected function listenForSignals()
May 07 22:10:38 638▕ {
May 07 22:10:38 ➜ 639▕ pcntl_async_signals(true);
May 07 22:10:38 640▕
May 07 22:10:38 641▕ pcntl_signal(SIGTERM, function () {
May 07 22:10:38 642▕ $this->shouldQuit = true;
May 07 22:10:38 643▕ });
May 07 22:10:38
May 07 22:10:38 +17 vendor frames
May 07 22:10:38 18 /app/data/artisan:37
May 07 22:10:38 Illuminate\Foundation\Console\Kernel::handle()
May 07 22:10:38 box:tasks 6710: {"percent":100,"message":"Done"}
May 07 22:10:39 box:apptask xevoid.com updating app with values: {"installationState":"installed","error":null,"health":null}
May 07 22:10:39 box:taskworker Task took 24.15 seconds
May 07 22:10:39 box:tasks setCompleted - 6710: {"result":null,"error":null}
May 07 22:10:39 box:tasks 6710: {"percent":100,"result":null,"error":null}
May 07 22:10:43 ==> Do not override existing index file
May 07 22:10:43 ==> Source custom startup script
May 07 22:10:43 PHP: syntax error, unexpected $end in /etc/php/7.4/cli/conf.d/99-cloudron.ini on line 5
May 07 22:10:43
@girish said in Creating a queue worker for laravel app?:
udo -u www-data /usr/bin/php /var/www/app/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3 &
Not sure, but I'll try. I'll report what I find
@girish Any ideas?
@girish Yes
Hi!
I've developed a Laravel app, but I can't get the queue worker to work, as I'm unable to create the file...
# APPNAME Queue Worker File
# ----------------------------------
[Unit]
Description=APPNAME Queue Worker
After=redis-server.service
[Service]
# On some systems the user and group might be different.
# Some systems use `apache` or `nginx` as the user and group.
User=www-data
Group=www-data
Restart=always
ExecStart=/usr/bin/php /var/www/app/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
[Install]
WantedBy=multi-user.target
I'm aware of that the ExecStart
path is wrong, but I can't create this file Any ideas?
@erics said in Dolibarr not responding:
hen you can display informations about "where" it is "stopped" (in loop, waiting for something, bug in ldap setup...).
Do you got an email that I send them to?
@girish Yeah, I have the same feeling, the only thing that I don't like about Dolibarr is that I can't import all my reports from WHMCS
@robi I'll look into it
@erics Well after like a 2½ hour in "not responding" it was marked as "running" so it currently works as of this moment.
@girish Alright thank you
Hi!
I've restored Cloudron v6.0.1, after moving servers, and then I installed Dolibarr, which seems like a cool app, however, it doesn't respond/always are in "starting move". How can I fix this?
@girish If I try to uninstall it again, the same error just pops up...
logs
Jan 16 19:08:23 box:apptask accounting.xevotech.com deleting app containers (app, scheduler)
Jan 16 19:08:23 box:shell removeCollectdProfile spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurecollectd.sh remove 700a273d-3bb1-4957-8d6d-239d5ee27385
Jan 16 19:08:23 box:shell removeCollectdProfile (stdout): Restarting collectd
Jan 16 19:08:23 box:shell removeCollectdProfile (stdout): Removing collectd stats of 700a273d-3bb1-4957-8d6d-239d5ee27385
Jan 16 19:08:23 box:shell removeLogrotateConfig spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurelogrotate.sh remove 700a273d-3bb1-4957-8d6d-239d5ee27385
Jan 16 19:08:23 box:apptask accounting.xevotech.com updating app with values: {"containerId":null}
Jan 16 19:08:23 box:tasks 5786: {"percent":30,"message":"Teardown addons"}
Jan 16 19:08:25 box:addons accounting.xevotech.com teardownAddons: Tearing down ["mysql","localstorage","sendmail","ldap","scheduler"]
Jan 16 19:08:25 box:addons accounting.xevotech.com Tearing down addon mysql with options {}
Jan 16 19:08:26 box:addons accounting.xevotech.com Tearing down addon localstorage with options {}
Jan 16 19:08:26 box:addons accounting.xevotech.com teardownLocalStorage
Jan 16 19:08:26 box:taskworker TypeError: Cannot read property 'device' of null
at /home/yellowtent/box/src/docker.js:670:41
at /home/yellowtent/box/node_modules/dockerode/lib/volume.js:44:7
at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:273:7)
at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:232:14)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Hello!
I have an app that I'm not able to uninstall... I get the error Task Error - Task 5781 crashed with code 1 and signal null
the app that I'm trying to uninstall is called "Dolibarr", which is marked as unstable. Could it be the reason?
Hi!
On my server, I have two 2TB disks. But when I go under System Info, I see /dev/sda3 & /dev/sda4 but nothing on the sdb
drive. I use lsblk
I can see that I have sda
& sdb
as my drives. How can I make Cloudron use the sdb
drive as well as the sda
?
Best Regards, and thanks in advance
Fixed it by taking a new backup, after I reinstated my API Credentails
@girish On the "Cloudron Restore page"
https://i.imgur.com/eDbGa6I.png
https://docs.cloudron.io/backups/#restore-cloudron