When I activate all functions for the customer the edit option appears. Is this a logical error of me?
Posts by thoand
-
-
sorry I misunderstood you. Here are the screens:
Reseller:
Bildschirmfoto 2016-07-06 um 09.29.58.pngCustomer:
Bildschirmfoto 2016-07-06 um 09.30.34.pngThe result of the mysql query:
Code- mysql> select phpini_perm_system, phpini_perm_allow_url_fopen, phpini_perm_display_errors, phpini_perm_disable_functions, phpini_perm_mail_function from domain where domain_id = 1;
- +--------------------+-----------------------------+----------------------------+-------------------------------+---------------------------+
- | phpini_perm_system | phpini_perm_allow_url_fopen | phpini_perm_display_errors | phpini_perm_disable_functions | phpini_perm_mail_function |
- +--------------------+-----------------------------+----------------------------+-------------------------------+---------------------------+
- | yes | no | no | no | yes |
- +--------------------+-----------------------------+----------------------------+-------------------------------+---------------------------+
- 1 row in set (0,00 sec)
regards,
thoand -
Screenshot of the reseller:
Bildschirmfoto 2016-07-06 um 08.57.54.png
Screenshot of the customer:
Bildschirmfoto 2016-07-06 um 08.58.39.pngResult of the mysql query:
regards, thoand
-
Hi there,
I have one reseller with php editor permission, but when he gives the right to edit php settings to a customer this option does not appear in the domain settings for all of them. Because it works for some customers it seems not to be a problem with the reseller rights.
i-MSCP version: 1.3.0
Update: The only installed Extension is Let's Encrypt, but even if I disable it the problem exists.
regards,
thoand -
Ok, could you tell me why you make a difference between the naming of the sql backup and the htdocs backup? There might be a reason I cannot see and I do not want to run into problems.
-
Hi,
to make downloading of backups more easy it is helpful, if the date of the backup is attached to the sql-backup like it is for the htdocs backup as well.
I did three little changes in /var/www/imscp/engine/backup/imscp-backup-all may be you could make them official part of the script:
Shell-Script: /var/www/imscp/engine/backup/imscp-backup-all- # Backup all customer databases
- if ($canDumpDatabases && $rdata->{$_}->{'allowbackup'} ~~ ['full', 'sql']) {
- my $dbData = $db->doQuery(
- 'sqld_name',
- "SELECT sqld_id, sqld_name FROM sql_database WHERE domain_id = ?",
- $rdata->{$_}->{'domain_id'}
- );
- unless (ref $dbData eq 'HASH') {
- error($dbData);
- $ret ||= 1;
- next;
- }
- for (keys %{$dbData}) {
- $rs = $db->dumpdb($_, "$bkpDir/$_-$date.sql");
- if($rs) {
- $ret ||= $rs;
- next;
- }
- my $file = iMSCP::File->new(filename => "$bkpDir/$_-$date.sql");
- $rs = $file->mode(0644);
- $ret ||= $rs;
- $rs = $file->owner($userName, $groupName);
- $ret ||= $rs;
- if($algorithm ne 'no') {
- my @cmd = (
- $main::imscpConfig{$command->{$algorithm}->{'command'}},
- '--force',
- escapeShell("$bkpDir/$_-$date.sql")
- );
- $rs = execute("@cmd", \$stdout, \$stderr);
- debug($stdout) if $stdout;
- error($stderr) if $stderr && $rs;
- error("Unable to compress the $_ database dump file") if $rs && ! $stderr;
- $ret ||= $rs;
- }
- }
- }
The only change is to add -$date to the three times where $bkpDir/$_.sql occurs, so that it is $bkpDir/$_-$date.sql.
regards,
thoand -
I looked in /tmp before, but there is no setup or build log. In the logs found there is nothing, that looks important:
Code- admin:~/imscp-1.1.2# ls /tmp/
- awstats_updateall.pl.lock imscp-backup-all.log imscp-dsk-quota.log imscp-srv-traff.lock imscp-vrl-traff.log
- imscp imscp-backup-imscp.lock imscp-httpd-logs-mngr.log imscp-srv-traff.log
- imscp-backup-all.lock imscp-dsk-quota.lock imscp.lock imscp-vrl-traff.lock
- admin:~/imscp-1.1.2# ls /tmp/imscp/var/log/imscp/
- admin:~/imscp-1.1.2#
-
Hi,
both of this logfiles are not updated during the setup run. (the timestamp stays the same) I think it is because I have to end the process using ctrl+c?
regards, thoand
-
Hi,
sorry but I cannot find where the debug logfile is beeing created.
I am using debian squeeze.
regards, thoand
-
Hi,
when I run the upgrade from 1.1.1 to 1.1.2 it hangs when showing "Processing Htgroup (tochange) tasks: statistics:22 (ID 22)"
I have no Idea what happens.
regards, thoand
SOLVED: it was a Problem with Bind9