- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
"question" - failed to open dir
- holzmann
- Topic Author
- Offline
- New Member
Less
More
4 years 2 days ago #197851
by holzmann
"question" - failed to open dir was created by holzmann
Hi,
I'm trying to upgrade my Limesurvey Version 3.22.11 to Version 4.1.0.
Sadly I get an error by trying to upgrade the database under #URL/index.php/admin/databaseupdate/sa/db/continue/yes
The error says:
RecursiveDirectoryIterator::__construct(upload/themes/question): failed to open dir: No such file or directory
Datei updatedb_helper.php, Zeile 3047.
The german description of that error says "Ein Fehler trat während des Datenbankupdates auf. Fehlerinformation:", that says "There was an error during the database upgrade. Information of the error:".
Thing is, in my installation i got the following in my upload-folder:
So there's really only one folder called survey in there. The "question" folder that seems to be missing isn't available. When I create an emtpy folder, the error message displays anyway and the database-upgrade can't be finished.
What changes do I have to make on my installation to be able to finish the upgrade?
Thank you very much for your response and help.
All the best
I'm trying to upgrade my Limesurvey Version 3.22.11 to Version 4.1.0.
Sadly I get an error by trying to upgrade the database under #URL/index.php/admin/databaseupdate/sa/db/continue/yes
The error says:
RecursiveDirectoryIterator::__construct(upload/themes/question): failed to open dir: No such file or directory
Datei updatedb_helper.php, Zeile 3047.
The german description of that error says "Ein Fehler trat während des Datenbankupdates auf. Fehlerinformation:", that says "There was an error during the database upgrade. Information of the error:".
Thing is, in my installation i got the following in my upload-folder:
Code:
#ls limesurvey/upload/themes/ > survey
So there's really only one folder called survey in there. The "question" folder that seems to be missing isn't available. When I create an emtpy folder, the error message displays anyway and the database-upgrade can't be finished.
What changes do I have to make on my installation to be able to finish the upgrade?
Thank you very much for your response and help.
All the best
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
4 years 1 day ago #197876
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic "question" - failed to open dir
What are your versions of PHP and MySQL on your server?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
4 years 4 hours ago #197952
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic "question" - failed to open dir
Maybe it muts be reported : upload/themes/question must be created
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- holzmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 11 months ago #197989
by holzmann
Replied by holzmann on topic "question" - failed to open dir
I'm running with PHP 7.2.27 and mysql Ver 15.1 Distrib 10.4.12-MariaDB
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
3 years 11 months ago #198024
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic "question" - failed to open dir
OK, so the problem shouldn't be in the PHP and Database version.
What rights does your "uploads" folder have?
What rights does your "uploads" folder have?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- holzmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 11 months ago #198044
by holzmann
Replied by holzmann on topic "question" - failed to open dir
That would be:
drwxr-xr-x www-data www-data upload
drwxr-xr-x www-data www-data upload
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
3 years 11 months ago #198047
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic "question" - failed to open dir
Looks good in my opinion. 755 is recommended:
manual.limesurvey.org/Installation_-_Lim...irectory_permissions
I assume the "themes" folder has the same rights inherited from the "uploads" folder.
manual.limesurvey.org/Installation_-_Lim...irectory_permissions
I assume the "themes" folder has the same rights inherited from the "uploads" folder.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- holzmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 11 months ago #198053
by holzmann
Replied by holzmann on topic "question" - failed to open dir
correct, this is inside my uploads-folder:
drwxr-xr-x www-data www-data surveys
drwxr-xr-x www-data www-data themes
And inside "themes" we have:
drwxr-xr-x www-data www-data survey
drwxr-xr-x www-data www-data surveys
drwxr-xr-x www-data www-data themes
And inside "themes" we have:
drwxr-xr-x www-data www-data survey
The topic has been locked.
- holzmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 11 months ago #198054
by holzmann
Replied by holzmann on topic "question" - failed to open dir
wait, seems it worked now.
That's weird!
After trying and trying, I needed to login again.
But this time I was redirected right to the administration desk, without having a notice about a database update, and now the notification area says "The database was updated from version 424 to version 425" (in German "Die Datenbank wurde von Version 424 auf Version 425 aktualisiert.")
The info on the lower right corner says I'm running Version 4.1.0 now.
I even was able to upgrade to 4.2.0 without any more errors.
The database is on version 426 now.
That's weird!
After trying and trying, I needed to login again.
But this time I was redirected right to the administration desk, without having a notice about a database update, and now the notification area says "The database was updated from version 424 to version 425" (in German "Die Datenbank wurde von Version 424 auf Version 425 aktualisiert.")
The info on the lower right corner says I'm running Version 4.1.0 now.
I even was able to upgrade to 4.2.0 without any more errors.
The database is on version 426 now.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
3 years 11 months ago #198057
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic "question" - failed to open dir
Strange, but good that it worked out.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
3 years 11 months ago #198064
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic "question" - failed to open dir
Maybe we create the directory after testing it ?
Potential issue in 424 or 424 or 425 upgrade.
Potential issue in 424 or 424 or 425 upgrade.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.