I am running Wordpress on my nas and it doesn't allow me to add media larger that 2 MB.
I downloaded "Increase Maximum Upload File Size" plugin, and it says
"Important: if you want to upload files larger than 2MB (which is the limit set by your hosting provider) you have to contact your hosting provider. It's NOT POSSIBLE to increase that hosting defined upload limit from a plugin.
Maximum upload file size, set by your hosting provider: 2MB
Maximum upload file size, set by WordPress: 64MB"
And I gúess the hosting service is my Asustor in some way?
What should I do?
Thanks in advance.
ADM version: 3.5.7.RJR1
BIOS version: 1.10
Modell: AS1002T v2
Processor: ARMv7 Processor rev 1 (v7l)
Maximum upload file size, set by your hosting provider: 2MB
-
- Posts: 2
- youtube meble na wymiar Warszawa
- Joined: Thu Aug 19, 2021 10:25 pm
- Nazar78
- Posts: 2079
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Maximum upload file size, set by your hosting provider: 2MB
You'll need to change the limit here: /volume1/.@plugins/AppCentral/php7/etc/php.ini
upload_max_filesize = 2M
Also look at the post_max_size change it to suit your needs.
Then restart php by turning it off then on.
upload_max_filesize = 2M
Also look at the post_max_size change it to suit your needs.
Then restart php by turning it off then on.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 2
- Joined: Thu Aug 19, 2021 10:25 pm
Re: Maximum upload file size, set by your hosting provider: 2MB
Thanks Nazar78, you solved my issue.
It was a bit tricky (for me) to find the folder (it is slightly hidden),
but using ssh (shell in a box app) I managed to find the file and edit it using vi.
It was a bit tricky (for me) to find the folder (it is slightly hidden),
but using ssh (shell in a box app) I managed to find the file and edit it using vi.
-
- Posts: 26
- Joined: Fri Aug 05, 2016 11:13 am
Re: Maximum upload file size, set by your hosting provider: 2MB
i am using as6604T and i couldn't find /volume1/.@plugins/AppCentral/php7/etc/php.ini
i am using shell in a box as well.
i am using shell in a box as well.
- Nazar78
- Posts: 2079
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Maximum upload file size, set by your hosting provider: 2MB
ov2rey wrote:i am using as6604T and i couldn't find /volume1/.@plugins/AppCentral/php7/etc/php.ini
i am using shell in a box as well.
Code: Select all
find /volume1/.@plugins/AppCentral -type f -name php.ini
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 26
- Joined: Fri Aug 05, 2016 11:13 am
Re: Maximum upload file size, set by your hosting provider: 2MB
Thank you Nazar78,
I am completely idiot on sh.
i already login user name and password, but i keep getting this problem.
-sh: /volume1/.@plugins/AppCentral: Permission denied
ADM 4.0
I am completely idiot on sh.
i already login user name and password, but i keep getting this problem.
-sh: /volume1/.@plugins/AppCentral: Permission denied
ADM 4.0
- Nazar78
- Posts: 2079
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Maximum upload file size, set by your hosting provider: 2MB
Are you using non admin login? Try login with the admin account which also you can use sudo command for root privileges.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 26
- Joined: Fri Aug 05, 2016 11:13 am
Re: Maximum upload file size, set by your hosting provider: 2MB
Dear Nazar78,
i did login admin account, but still getting the error.
i did login admin account, but still getting the error.
- Nazar78
- Posts: 2079
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Maximum upload file size, set by your hosting provider: 2MB
You're missing the beginning "find" command in your screenshot, instead you're trying to execute the path which of course is not possible.ov2rey wrote:
I'm using a different model, also I'm using php-fpm running in chroot but I believe it is the same default path location for Asustor: /volume1/.@plugins/AppCentral/php7/etc/php.ini
Usually directly editing using the absolute path should work provided you know its full path and filename. E.g.
Code: Select all
vi /volume1/.@plugins/AppCentral/php7/etc/php.ini
Or if you're not comfortable editing/navigating in linux, assuming you're using Windows, install WinSCP then "SFTP" into your NAS edit using its internal editor or you can set it to use your favorite editor but take note of the cr/lf between windows/linux. Also take note of the permission/ownership (chmod/chown) when dealing with the folders/files. Finally WinSCP IIRC doesn't show hidden folders/files, those names starting with a period. You can enable them in the settings.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 26
- Joined: Fri Aug 05, 2016 11:13 am
Re: Maximum upload file size, set by your hosting provider: 2MB
Dear Nazar78,
Great and i will try it tonight!
thank you for your help.
Great and i will try it tonight!
thank you for your help.