I upgraded 3.3.0.6 to 3.3.0.7

Hi @staff

I upgraded 3.3.0.6 to 3.3.0.7

I had a problem when uploading files

Error : “HTTP Error.”

Module PHP “fileinfo” already exist on my website

5

4

Hi @staff

Anyone to help me please.

URGENT :pray: I am blocked :pray:

@staff

More info in file : error_log

#0 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php(148): PKP\Services\PKPFileService->add(NULL, 'journals/1/arti...')
#1 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php(370): SubmissionFilesUploadForm->execute()
#2 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/core/PKPRouter.inc.php(395): FileUploadWizardHandler->uploadFile(Array, Object(Request))
#3 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
#4 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPCompon in /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/services/PKPFileService.inc.php on line 80
[19-Jul-2021 23:25:13 UTC] PHP Warning:  fopen(/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/usageStats/usageEventLogs/usage_events_20210719.log): failed to open stream: Permission denied in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 767
[19-Jul-2021 23:25:13 UTC] PHP Warning:  flock() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 768
[19-Jul-2021 23:25:13 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 775
[19-Jul-2021 23:25:39 UTC] PHP Warning:  fopen(/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/usageStats/usageEventLogs/usage_events_20210719.log): failed to open stream: Permission denied in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 767
[19-Jul-2021 23:25:39 UTC] PHP Warning:  flock() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 768
[19-Jul-2021 23:25:39 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 775
[19-Jul-2021 23:26:45 UTC] PHP Warning:  Declaration of ManageFinalDraftFilesForm::execute($stageSubmissionFiles, $fileStage = NULL) should be compatible with ManageSubmissionFilesForm::execute($stageSubmissionFiles = NULL, $fileStage = NULL, ...$functionArgs) in /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/controllers/grid/files/final/form/ManageFinalDraftFilesForm.inc.php on line 39
[19-Jul-2021 23:27:00 UTC] PHP Warning:  fopen(/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/journals/1/articles/534/60f60a4411487.pdf): failed to open stream: Permission denied in /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/lib/vendor/league/flysystem/src/Adapter/Local.php on line 157
[19-Jul-2021 23:27:00 UTC] PHP Fatal error:  Uncaught Exception: Unable to write file at journals/1/articles/534/60f60a4411487.pdf. in /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/services/PKPFileService.inc.php:83
Stack trace:
#0 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php(148): PKP\Services\PKPFileService->add('/tmp/php2w8zfy', 'journals/1/arti...')
#1 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php(370): SubmissionFilesUploadForm->execute()
#2 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/core/PKPRouter.inc.php(395): FileUploadWizardHandler->uploadFile(Array, Object(Request))
#3 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
#4 /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/core/Dispatcher.inc.ph in /home/wxnsgxmy/public_html/mediterraneanjournalscom/lib/pkp/classes/services/PKPFileService.inc.php on line 83
[19-Jul-2021 23:29:55 UTC] PHP Warning:  fopen(/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/usageStats/usageEventLogs/usage_events_20210719.log): failed to open stream: Permission denied in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 767
[19-Jul-2021 23:29:55 UTC] PHP Warning:  flock() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 768
[19-Jul-2021 23:29:55 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 775
[19-Jul-2021 23:31:48 UTC] PHP Warning:  fopen(/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/usageStats/usageEventLogs/usage_events_20210719.log): failed to open stream: Permission denied in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 767
[19-Jul-2021 23:31:48 UTC] PHP Warning:  flock() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 768
[19-Jul-2021 23:31:48 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 775
[19-Jul-2021 23:34:37 UTC] PHP Warning:  fopen(/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/usageStats/usageEventLogs/usage_events_20210719.log): failed to open stream: Permission denied in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 767
[19-Jul-2021 23:34:37 UTC] PHP Warning:  flock() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 768
[19-Jul-2021 23:34:37 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /home/wxnsgxmy/public_html/mediterraneanjournalscom/plugins/generic/usageStats/UsageStatsPlugin.inc.php on line 775```

Hi,

This looks like a permissions problem. Are you sure that your web server can write to the directories in question?

Doesn’t look like it can write to /home/wxnsgxmy/public_html/mediterraneanjournalscom/files/journals/1/articles

Cheers,
Jason

Hi @jnugent

I normally make changes to all server files

What should I do to solve this problem

Hi @jnugent @staff

Thanks for reply.
This is good now.
2

Best regards.

Thanks a lot @asmecher

Hi @jnugent
As you can see in the picture, I have all the permissions on folder “articles”, but I’m still having the same problem.

Thanks for the support in advance.
Have a good day.

Hi @rebas_saber

Please look very carefully at your error message. The problem isn’t with the “articles” folder, the problem is with the file here:

/home/wxnsgxmy/public_html/mediterraneanjournalscom/files/journals/1/articles/534/60f60a4411487.pdf

So this is probably something you need to fix recursively in the entire files/ directory. Just correcting the permission on the articles folder is not enough. I’m not how you’d do that in your web interface, but from the command line you’d do something like:

chmod -R 755 files/journals

Where 755 is the mode. 755 may not be the mode you should use here, typically you want to make this as restrictive as possible and so it depends on who owns the files.

Regards,
Jason

Thanks, @jnugent for the quick response

I did this, the permissions have changed, but the problem remains, unfortunately.

6

Hi @rebas_saber

Okay, so like I said, 755 might not be what you need. It entirely depends on who owns the files, who the web server runs as, and (possibly) other security considerations in the installation. Try this:

ls -ld /home/wxnsgxmy/public_html/mediterraneanjournalscom/files/

And you’ll get the owner and the permission on the top level directory for your files_dir.

Jason

Hi @jnugent

I did this, the result its :

drwxr-xr-x 7 root root 4096 Jul 17 11:11 /home/wxnsgxmy/public_html/mediterraneanjournalscom/files/

okay, so what this is telling us is that the root user owns the files directory, and no one else can “write” to it. I suspect the other directories below this are also problematic. The other thing I will mention right now is that it is generally a bad idea to have your files directory inside of your web root for security reasons.

But anyway, what needs to happen now is that you need to change the ownership of the files directory, and sub directories, to the user your web server runs as. You should find that out next. It is probably ‘nobody’ or ‘wwwuser’ or if you’re using php-cgi or php-fpm it may be someone else entirely. Examine your process list using the “ps auxww” command.

Jason

Hi @jnugent

The result its :

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1 191420  3200 ?        Ss   Jul17  11:37 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
root         2  0.0  0.0      0     0 ?        S    Jul17   0:00 [kthreadd]
root         4  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    Jul17   1:24 [ksoftirqd/0]
root         7  0.0  0.0      0     0 ?        S    Jul17   0:01 [migration/0]
root         8  0.0  0.0      0     0 ?        S    Jul17   0:00 [rcu_bh]
root         9  0.3  0.0      0     0 ?        S    Jul17  58:08 [rcu_sched]
root        10  0.0  0.0      0     0 ?        S<   Jul17   0:00 [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    Jul17   0:05 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    Jul17   0:04 [watchdog/1]
root        13  0.0  0.0      0     0 ?        S    Jul17   0:01 [migration/1]
root        14  0.0  0.0      0     0 ?        S    Jul17   1:46 [ksoftirqd/1]
root        16  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kworker/1:0H]
root        18  0.0  0.0      0     0 ?        S    Jul17   0:00 [kdevtmpfs]
root        19  0.0  0.0      0     0 ?        S<   Jul17   0:00 [netns]
root        20  0.0  0.0      0     0 ?        S    Jul17   0:02 [khungtaskd]
root        21  0.0  0.0      0     0 ?        S<   Jul17   0:00 [writeback]
root        22  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kintegrityd]
root        23  0.0  0.0      0     0 ?        S<   Jul17   0:00 [bioset]
root        24  0.0  0.0      0     0 ?        S<   Jul17   0:00 [bioset]
root        25  0.0  0.0      0     0 ?        S<   Jul17   0:00 [bioset]
root        26  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kblockd]
root        27  0.0  0.0      0     0 ?        S<   Jul17   0:00 [md]
root        28  0.0  0.0      0     0 ?        S<   Jul17   0:00 [edac-poller]
root        29  0.0  0.0      0     0 ?        S<   Jul17   0:00 [watchdogd]
root        35  0.0  0.0      0     0 ?        S    Jul17   3:03 [kswapd0]
root        36  0.0  0.0      0     0 ?        SN   Jul17   0:00 [ksmd]
root        37  0.0  0.0      0     0 ?        SN   Jul17   0:08 [khugepaged]
root        38  0.0  0.0      0     0 ?        S<   Jul17   0:00 [crypto]
root        46  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kthrotld]
root        48  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kmpath_rdacd]
root        49  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kaluad]
root        50  0.0  0.0      0     0 ?        S<   Jul17   0:00 [kpsmoused]
root        51  0.0  0.0      0     0 ?        S<   Jul17   0:00 [ipv6_addrconf]
root        65  0.0  0.0      0     0 ?        S<   Jul17   0:00 [deferwq]
root       103  0.0  0.0      0     0 ?        S    Jul17   0:03 [kauditd]
root       219  0.0  0.0      0     0 ?        S<   Jul17   0:00 [ata_sff]
root       234  0.0  0.0      0     0 ?        S    Jul17   0:00 [scsi_eh_0]
root       235  0.0  0.0      0     0 ?        S<   Jul17   0:00 [scsi_tmf_0]
root       236  0.0  0.0      0     0 ?        S    Jul17   0:00 [scsi_eh_1]
root       237  0.0  0.0      0     0 ?        S<   Jul17   0:00 [scsi_tmf_1]
root       242  0.0  0.0      0     0 ?        S<   Jul17   0:00 [virtscsi-scan]
root       243  0.0  0.0      0     0 ?        S    Jul17   0:00 [scsi_eh_2]
root       244  0.0  0.0      0     0 ?        S<   Jul17   0:00 [scsi_tmf_2]
root       262  0.0  0.0      0     0 ?        S    Jul17   0:59 [jbd2/sda1-8]
root       263  0.0  0.0      0     0 ?        S<   Jul17   0:00 [ext4-rsv-conver]
root       361  0.0  0.1  39480  3516 ?        Ss   Jul17   1:53 /usr/lib/systemd/systemd-journald
root       386  0.0  0.0 116644     0 ?        Ss   Jul17   0:00 /usr/sbin/lvmetad -f
root       400  0.0  0.0  45696   332 ?        Ss   Jul17   0:00 /usr/lib/systemd/systemd-udevd
root       401  0.0  0.0      0     0 ?        S<   Jul17   0:07 [kworker/1:1H]
root       459  0.0  0.0      0     0 ?        S<   Jul17   0:00 [ttm_swap]
root       488  0.0  0.0      0     0 ?        S<   Jul17   0:00 [nfit]
root       516  0.0  0.0  55532    96 ?        S<sl Jul17   0:10 /sbin/auditd
rpc        541  0.0  0.0  69256   468 ?        Ss   Jul17   0:03 /sbin/rpcbind -w
libstor+   543  0.0  0.0   8580    24 ?        Ss   Jul17   0:04 /usr/bin/lsmd -d
root       544  0.0  0.0  44220   636 ?        Ss   Jul17   0:01 /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 --blacklist=guest-file-open,guest-file-close,guest-file-read,guest-file-write,guest-file-seek,guest-file-flush,guest-exec,guest-exec-status -F/etc/qemu-ga/fsfreeze-hook
root       546  0.0  0.0  90608     0 ?        Ss   Jul17   2:52 /sbin/rngd -f
polkitd    547  0.0  0.0 614316   808 ?        Ssl  Jul17   1:04 /usr/lib/polkit-1/polkitd --no-debug
root       549  0.0  0.0  52852   296 ?        Ss   Jul17   0:00 /usr/sbin/smartd -n -q never
root       550  0.0  0.0  30684   968 ?        Ss   Jul17   1:39 /usr/lib/systemd/systemd-logind
root       553  0.0  0.0  21540   416 ?        Ss   Jul17   0:29 /usr/sbin/irqbalance --foreground
root       557  0.0  0.0 232908   536 ?        Ss   Jul17   0:00 /usr/sbin/abrtd -d -s
root       562  0.0  0.0 225864    96 ?        Ss   Jul17   0:08 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
dbus       578  0.0  0.0  62760  1140 ?        Ss   Jul17   3:14 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
chrony     600  0.0  0.0 100908   860 ?        S    Jul17   0:02 /usr/sbin/chronyd
root       643  0.0  0.0      0     0 ?        S<   Jul17   0:09 [kworker/0:1H]
root       663  0.0  0.0      0     0 ?        S<   Jul17   0:03 [loop0]
root       667  0.0  0.0      0     0 ?        S    Jul17   0:00 [jbd2/loop0-8]
root       668  0.0  0.0      0     0 ?        S<   Jul17   0:00 [ext4-rsv-conver]
root       898  0.0  0.0 578580   812 ?        Ssl  Jul17   2:08 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
root      1142  0.0  0.0 117792   352 ?        Ss   Jul17   0:10 /usr/sbin/sshd -D
named     1145  0.0  0.3 741616  5684 ?        Ssl  Jul17   2:28 /usr/sbin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no
root      1149  0.0  0.2 306512  5040 ?        Ssl  Jul17   1:58 /usr/sbin/rsyslogd -n
root      1155  0.0  1.4 147768 27676 ?        Ss   Jul17   6:11 cpsrvd (SSL) - waiting for connections
root      1156  0.0  0.0  15992    56 ?        Ss   Jul17   0:00 /usr/sbin/collectd
root      1160  0.0  0.0 130688   328 ?        Ss   Jul17   0:20 /usr/sbin/crond -n
root      1161  0.0  0.0  30420   164 ?        Ss   Jul17   0:00 /usr/sbin/atd -f
root      1162  0.0  0.0 108292     8 tty1     Ss+  Jul17   0:00 /sbin/agetty --noclear tty1 linux
root      1359  0.0  0.3 183648  5972 ?        Ss   Jul17   0:16 cpdavd - accepting connections on: 2079, 2080, 2077, 2078 (dormant)
root      1360  0.0  0.9 102732 17428 ?        Ss   Jul17   0:46 tailwatchd
root      1363  0.0  0.2 167616  4144 ?        Ss   Jul17   0:30 dnsadmin - dormant mode
root      4492  0.0  0.5 151640 10052 ?        S    07:40   0:00 cPhulkd - dbprocessor
root      7460  0.0  0.6 190168 12428 ?        Ss   Jul18   3:53 cPhulkd - processor
root      7651  0.0  0.0      0     0 ?        S    02:25   0:00 [kworker/u4:1]
mysql     8258  0.4 12.7 1451644 239908 ?      Sl   Jul19  63:06 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
root     10084  0.1  6.3 251600 120100 ?       Ss   08:33   0:05 /usr/local/cpanel/3rdparty/perl/532/bin/perl -T -w /usr/local/cpanel/3rdparty/bin/spamd --allowed-ips=127.0.0.1,::1 --max-children=5 --pidfile=/var/run/spamd.pid --listen=5 --listen=6
dovecot  11243  0.0  0.0  10368  1516 ?        S    08:45   0:00 dovecot/imap-hibernate
root     11417  0.0  6.2 252712 117532 ?       S    08:47   0:00 spamd child
root     11418  0.0  6.1 251600 116028 ?       S    08:47   0:00 spamd child
root     12127  0.0  0.0      0     0 ?        S    08:54   0:00 [kworker/0:3]
root     12793  0.0  0.3 164516  6496 ?        Ss   09:01   0:00 sshd: root@pts/0
root     12817  0.0  0.1 120892  3052 pts/0    Ss+  09:01   0:00 -bash
root     13945  0.0  0.0 159612   668 ?        Ss   Jul17   0:02 pure-ftpd (SERVER)
root     13946  0.0  0.0 152776   408 ?        Ss   Jul17   0:02 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth
root     14171  0.0  0.0      0     0 ?        S    09:15   0:00 [kworker/u4:0]
root     14344  0.0  0.0      0     0 ?        S    09:17   0:00 [kworker/1:2]
root     14408  0.0  0.0      0     0 ?        S    09:18   0:00 [kworker/0:0]
root     14818  0.0  0.0      0     0 ?        R    09:24   0:00 [kworker/1:1]
root     15315  0.0  0.3 164516  6504 ?        Ss   09:29   0:00 sshd: root@pts/1
root     15332  0.0  0.1 120892  3056 pts/1    Ss   09:29   0:00 -bash
root     15425  0.0  0.0      0     0 ?        S    09:30   0:00 [kworker/1:0]
root     15428  0.0  0.0      0     0 ?        S    09:30   0:00 [kworker/0:1]
root     15575  0.0  0.0      0     0 ?        S    09:32   0:00 [kworker/0:2]
wxnsgxmy 15607  3.7  1.6 484968 30868 ?        R    09:32   0:02 php-fpm: pool mediterraneanjournals_com
nobody   15615  0.0  0.3 985320  7424 ?        Sl   09:32   0:00 /usr/sbin/httpd -k start
dovecot  15679  0.1  0.2  70872  4560 ?        S    09:33   0:00 dovecot/auth
root     15722  0.0  0.2  60712  4496 ?        S    09:33   0:00 dovecot/lmtp
root     15729  0.0  0.2  70740  4208 ?        S    09:33   0:00 dovecot/auth -w
mailnull 15772  0.0  0.3  89716  6068 ?        Ss   09:33   0:00 /usr/sbin/exim -ps -bd -q15m -oP /var/spool/exim/exim-daemon.pid
root     15834  0.0  0.0      0     0 ?        Z    09:33   0:00 [cpsrvd (SSL) - ] <defunct>
wxnsgxmy 15836  8.1  1.7 488944 32092 ?        S    09:33   0:01 php-fpm: pool mediterraneanjournals_com
wxnsgxmy 15845  3.4  1.2 407596 24356 ?        S    09:33   0:00 php-fpm: pool mediterraneanjournals_com
root     15857  0.0  0.0 159748  1788 pts/1    R+   09:33   0:00 ps auxww
root     17010  0.0  0.5  83784  9444 ?        Ss   Jul19   0:51 queueprocd - waiting up to 60s to process a task
nscd     17363  0.0  0.1 1336608 2016 ?        Ssl  Jul19   0:59 /usr/sbin/nscd
root     17504  0.0  0.1  26460  1928 ?        SN   Jul19   0:04 cpanellogd - sleeping for logs
nobody   27174  0.0  0.8 1313232 16396 ?       Sl   Jul28   0:09 /usr/sbin/httpd -k start
nobody   27204  0.0  0.8 1313112 16508 ?       Sl   Jul28   0:08 /usr/sbin/httpd -k start
nobody   27235  0.0  0.8 1313112 16400 ?       Sl   Jul28   0:08 /usr/sbin/httpd -k start
nobody   27265  0.0  0.8 1313112 16156 ?       Sl   Jul28   0:08 /usr/sbin/httpd -k start
root     30415  0.0  0.3 394532  6176 ?        Ss   Jul19   1:21 php-fpm: master process (/opt/cpanel/ea-php74/root/etc/php-fpm.conf)
root     30815  0.0  0.2 267488  4364 ?        Ss   Jul20   0:36 php-fpm: master process (/usr/local/cpanel/etc/php-fpm.conf)
root     31021  0.0  0.0  21568  1048 ?        Ss   Jul20   0:08 /usr/sbin/dovecot -F -c /etc/dovecot/dovecot.conf
dovenull 31022  0.0  0.1  47260  3428 ?        S    Jul20   0:01 dovecot/pop3-login
dovenull 31023  0.0  0.2  49444  5128 ?        S    Jul20   0:14 dovecot/imap-login
dovecot  31024  0.0  0.0  10256   736 ?        S    Jul20   0:02 dovecot/anvil
root     31025  0.0  0.0  10512   940 ?        S    Jul20   0:03 dovecot/log
dovenull 31026  0.0  0.1  47492  3748 ?        S    Jul20   0:02 dovecot/pop3-login
root     31027  0.0  0.1  22352  3076 ?        S    Jul20   0:11 dovecot/config
dovecot  31028  0.0  0.0  47788  1704 ?        S    Jul20   0:04 dovecot/stats
dovenull 31030  0.0  0.2  49648  5560 ?        S    Jul20   0:24 dovecot/imap-login
root     31397  0.0  0.5 274556 10012 ?        Ss   Jul20   1:35 /usr/sbin/httpd -k start
root     31772  0.0  0.0  12736   556 ?        S    Jul20   0:04 /usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=server.wxn.sgx.mybluehost.me --suffix=-bytes_log
root     31773  0.0  0.0  12744   556 ?        S    Jul20   0:04 /usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=server.wxn.sgx.mybluehost.me --mainout=/etc/apache2/logs/access_log
nobody   31774  0.0  0.2 274556  4040 ?        S    Jul20   0:00 /usr/sbin/httpd -k start
root     31775  0.0  0.5  53096 10052 ?        S    Jul20   0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/bin/leechprotect

Modification :

This user “wxnsgxmy” i use to login to my “cpanel”

Okay, so you probably want to make your files/ directory (and directories below it) owned by your wxnsgxmy user. It looks like your installation is using PHP-FPM and because I suspect everything is owned by root now (did you run the upgrade as root or chown it in some way?) your user cannot write to where it needs to.

chown -R wxnsgxmy /home/wxnsgxmy/public_html/mediterraneanjournalscom/files/

If this fixes the problem you will also want to do this to your cache/ and public/ directories as well.

Regards,
Jason

1 Like

Hi @jnugent

:pray: URGENT :pray:

My website its fallen.

after use this command : chown -R wxnsgxmy /home/wxnsgxmy/public_html/mediterraneanjournalscom/files/

And tested upload file. “but the problem remains, unfortunately.”

I have done clear model cache from OJS, And the site fell.

no new in “error_log” file

Hi @rebas_saber

Without having shell access to your server (and I don’t want it) debugging this is completely blind. I’d recommend reaching out to your host support at this point. I’ve tried to help here, but I clearly don’t have all of the information I need to provide you with the best advice.

That chown command shouldn’t have taken down your site. What I suspect happened is you’ve cleared your cache and OJS can’t write to it, so it’s also encountering permissions issues and can no longer compile templates. There will definitely be errors in your log for this.

Regards
Jason

Hi @jnugent

Don’t worry my friend, the site has worked

I would like to thank you, the “HTTP error” issue has been resolved.

Thanks a lot, bro. :pray:

Hi @rebas_saber

Glad that you’re up and running. What was the solution to the issue for you?

Jason