dori
(Halldór Axelsson)
7 May 2020 17:46
1
Hello, I have been using Emoncms on PI for many years, now i want to install multi user server on ubuntu. All is fine and and the inputs and database work. Now i want to install group module and get errors. Also the email took a long time to fix. And now i have installed the Task module but cant find process module that is required.
can someone help?
Edited thread name. BT, moderator
Hello @dori Im not sure that the task module is up to date with the latest emoncms version, It was a development by carbon coop here GitHub - carboncoop/task: An emonCMS module it looks like the last updates were 2-3 years ago. Might be worth raising an issue there but not sure if its still in development now
dori
(Halldór Axelsson)
8 May 2020 15:23
3
Hi Trystan
I will check that. What about the group module, the gui is not showing and there is no menu showing.
The group module should work, are you using latest master branch of both core are the group module?
dori
(Halldór Axelsson)
8 May 2020 21:19
5
Þann 08.05.2020 16:03, skrifaði Trystan Lea via Community:
TrystanLea [1]
8 May
The group module should work, are you using latest master branch of
both core are the group module?
Visit Topic [2] or reply to this email to respond.
IN REPLY TO
dori [3] Halldór Axelsson
8 May
Hi Trystan I will check that. What about the group module, the gui is
not showing and there is no menu showing.
Visit Topic [2] or reply to this email to respond.
To unsubscribe from these emails, click here [4].
Links:
[1] Profile - TrystanLea - OpenEnergyMonitor Community
[2]
Installing emoncms on local servers - #4 by TrystanLea
[3] Profile - dori - OpenEnergyMonitor Community
[4]
OpenEnergyMonitor Community
Hi
Im using this
is that correct?
@dori did you install emoncms using git?
version of emoncms core:
/var/www/emoncms/version.txt
version of the group module:
/var/www/emoncms/Modules/group/module.json
dori
(Halldór Axelsson)
9 May 2020 15:13
7
Hello
My directory is /var/www/emoncmsorg/emoncms end there is no file “version.txt”
The modus file says “Name” : Group and “version” : 2.0.0
Hello @dori
I would use the emoncms repository rather than the emoncmsorg repository. The latest version of emoncms.org is closer to the main emoncms repository now and I still need to update the emoncmsorg repository which is lagging behind a bit now.
You will get the best results if you use our EmonScripts install script on a debian server GitHub - openenergymonitor/EmonScripts: Emoncms Stack Installation and Update scripts .
dori
(Halldór Axelsson)
9 May 2020 19:21
9
Ok, Will I have the https support and multi user functionality.?
yes both are covered by the standard repository
you need to add
enable_multi_user = true
in the interface section of settings.ini
https is independent of emoncms , e.g you could use letsencrypt?
dori
(Halldór Axelsson)
10 May 2020 10:10
11
Hi TrystanLea
Do I then not use the input_qeue_processor or the storageserver0 code. I already have inputs and feeds in the system. Do I have to reconfigure that?
Hello @dori , how many accounts and feeds are you hosting on this server? Have you been running the server for a long time?
dori
(Halldór Axelsson)
11 May 2020 13:03
13
Hello TrystanLea
I have about 8 accounts and 50 feeds for 15 days. The old data is now
working in the new server. I have php 7.3 and now the email is not
working. I have installed SwiftMailer as instructed.
ERROR>email.php|check() Could not find SwiftMailer, email functions are
ignored.
Þann 10.05.2020 13:50, skrifaði Trystan Lea via Community:
great, where did you install swiftmailer? Do you have the /opt/emoncms/modules directory structure?
dori
(Halldór Axelsson)
11 May 2020 14:01
15
Yes we followed the instruction in the Lib/email.php file.
dori
(Halldór Axelsson)
12 May 2020 14:37
16
Hi
How can we debug this email error, SwiftMailer can send messages with a small test program. So it is emoncms code not finding the right path?
Im not sure what is going wrong Im afraid.
The error that you are seeing is coming from this line: emoncms/email.php at master · emoncms/emoncms · GitHub and so the !$this->have_swift condition must be satisfied.
It should have loaded swift here: emoncms/email.php at master · emoncms/emoncms · GitHub
$this->have_swift = @include_once("$linked_modules_dir/swiftmailer/lib/swift_required.php");
One possibility is that $linked_modules_dir is incorrect on your system.
$linked_modules_dir is set here emoncms/process_settings.php at master · emoncms/emoncms · GitHub and should be /opt/emoncms/modules
Is the file /opt/emoncms/modules/swiftmailer/lib/swift_required.php present on your system?
dori
(Halldór Axelsson)
12 May 2020 16:45
18
Ok, it gives me /home/pi as the $linked_modules_dir ?
Thanks @dori are you using settings.ini or a settings.php file to configure?
dori
(Halldór Axelsson)
12 May 2020 18:47
20
Hi
I believe settins.php but there is also settins.ini in my folder.