plainpad
plainpad copied to clipboard
Installation of self-hosted version fails / stucks
Hi Alex, According to your description here ...
Alternatively you can open the browser to the /url/to/public/setup.php file and submit the installation form.
I've uploaded all the contents of the ZIP-File to a shared webhosting.
I've set up a subdomain https://notes.example.com which pointed to the "public" directory.
Then I opened https://notes.example.com/setup.php which leads me to the database-form.
I filled the form with the database credentials (double checked them for correctness!) and hit the Install-Button.
No errors, no warnings, no success message apperead and the browser points now to https://notes.example.com/#/login.
As I have no login credentials, I'm stuck right here. I checked the database, but there was no table inside.
What am I doing wrong and what can I do ?
in case i understood you correctly, you managed to install plainpad correctly and now are missing login credentials?
default credentials are username: [email protected] password: 12345
@tetsuoinc Did you manage to login?
![]() |
  Alex Tselegidis, Plainpad Creator   Need a customization? Contact me in person! |
Closing due to inactivity
![]() |
  Alex Tselegidis, Plainpad Creator   Need a customization? Contact me in person! |
Hello,
I have exactly the same problem. I tried the default credentials: username: [email protected] password: 12345
but no success.
Alright I'm reopening this issue with further troubleshooting as it looks like it affects more users.
First things first, there are two reasons for this issue:
- The seed command was not executed properly so there is no admin record in the database.
- HTTP requests are not routed correctly and that means that JS cannot perform the login request properly.
It is important to understand which of the two cases are applied for you.
In order to do that, you will need to check your database and see if there's an admin user record in the users
table.
If there's no record or no table at all, then the migration/seeding failed.
If there is a record then you can open your browser developer tools by pressing F12 and open the "console" tab inside them.
After you reload the page you should be able to see errors in there, please post them here for further troubleshooting.
![]() |
Alex Tselegidis, Easy!Appointments Creator Need a customization? Get a free quote! |
Hello,
Same issue here as well, the credentials did not work. I did the setup with setup.php and it create a .env file at the root.
Plus when doing:
php artisan migrate:fresh --seed
I've this: ` ErrorException
Undefined index: mail_driver
at vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1367 1363▕ * @return mixed 1364▕ / 1365▕ public function offsetGet($key) 1366▕ { ➜ 1367▕ return $this->items[$key]; 1368▕ } 1369▕ 1370▕ /* 1371▕ * Set the item at a given offset.
+1 vendor frames
2 app/Providers/MailConfigServiceProvider.php:42 Illuminate\Support\Collection::offsetGet()
+7 vendor frames
10 artisan:37 Illuminate\Foundation\Console\Kernel::handle()`
The database and the user for mysql are present.
How to fix it and make it work?
Regards,
Guillaume
I ran into similar issues getting this to work.
First, you must run php artisan migrate:fresh --seed to properly create the user table. You'll see something like: Login with the default admin user (email: [email protected] & password: 12345). Seeded: Database\Seeders\UsersSeeder (48.63ms) Seeding: Database\Seeders\SettingsSeeder Seeded: Database\Seeders\SettingsSeeder (10.35ms) Database seeding completed successfully. if it worked correctly.
Second issue was I personally am running ngnix and only .htaccess files for apache are included Here's the equiv for ngnix to make the api calls work: location /plainpad/public/api.php/v1/ { try_files $uri $uri/ /plainpad/public/api.php?$args; }
Thanks it works now! ;-) I hope it gonna help peoples encountering the same issue.
Thanks for all your input! This will be fixed for the next version.
![]() |
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Hello Alex, here reopening this thread. I am having this same issue on my Synology NAS. I have ran the setup.php and added the nginx lines. My JS console is throwing some errors that I think are due to missing Laravel files.
For example: plainpad/vendor/laravel/framework/src/Illuminate/Routing/Matching/MethodValidator.php plainpad/vendor/laravel/framework/src/Illuminate/Routing/Matching/SchemeValidator.php
after adding those 2 files, i was able to login and use the app. hope it helps.
Hello!
@julyprum Thanks for posting this! Could it be that the files were not uploaded correctly or do you think the files are missing from the archive?
![]() |
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
I ran into similar issues getting this to work.
First, you must run php artisan migrate:fresh --seed to properly create the user table. You'll see something like: Login with the default admin user (email: [email protected] & password: 12345). Seeded: Database\Seeders\UsersSeeder (48.63ms) Seeding: Database\Seeders\SettingsSeeder Seeded: Database\Seeders\SettingsSeeder (10.35ms) Database seeding completed successfully. if it worked correctly.
Second issue was I personally am running ngnix and only .htaccess files for apache are included Here's the equiv for ngnix to make the api calls work: location /plainpad/public/api.php/v1/ { try_files $uri $uri/ /plainpad/public/api.php?$args; }
can you explain how I make this work please? I am on nginx and cannot log in with default credentials. The user has been created in the database
@j-r-e-i-d Can you make sure your DB is seeded, by checking the default [email protected] record inside the users table?
![]() |
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Oh man I gave up on this weeks ago. Too hard. I use Joplin now
also running nginx, also stuck on login - added 'location' config to nginx.
artisan have problem to work (not only to seed)
ubuntu 22
$ php artisan PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1354 Stack trace: #0 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() #1 /var/www/html/pp/vendor/composer/ClassLoader.php(444): include('...') #2 /var/www/html/pp/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #3 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass() #4 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect() #5 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config() #6 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #7 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap() #8 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith() #9 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap() #10 /var/www/html/pp/artisan(37): Illuminate\Foundation\Console\Kernel->handle() #11 {main} in /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 11
In Collection.php line 11:
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of
Illuminate\Support\Collection::offsetExists($key) should either be compatib
le with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTyp
eWillChange] attribute should be used to temporarily suppress the notice in
/var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Colle
ction.php:1354
Stack trace:
#0 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Col
lection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleEr
ror()
#1 /var/www/html/pp/vendor/composer/ClassLoader.php(444): include('...')
#2 /var/www/html/pp/vendor/composer/ClassLoader.php(322): Composer\Autoload
\includeFile()
#3 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/hel
pers.php(15): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Pack
ageManifest.php(89): collect()
#5 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Pack
ageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
#6 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Boot
strap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->alias
es()
#7 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Appl
ication.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstra
p()
#8 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Cons
ole/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
#9 /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Foundation/Cons
ole/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
#10 /var/www/html/pp/artisan(37): Illuminate\Foundation\Console\Kernel->han
dle()
#11 {main}
------ Edit (later) ----- have run composer on the folder. Noted issue that I run php8 while composer.json claims I need php7 (will try more)
Hello!
Thanks for providing all the information on the installation process.
I will take a closer look on them and report back.
FYI I'm planning to release a single-file installer in order to make things easier to manage moving forward.
![]() |
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Thanks for all your input! This will be fixed for the next version.
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote!
Has there been a new version? Doesn't seem so? No updates for more than a year. Are you still working on it @alextselegidis ?
Hello!
Yes, the new version will come up shortly.
I'm currently putting some work together for the next https://github.com/alextselegidis/easyappointments release and then the Plainpad one will follow shortly.
Stay tuned for more updates.
![]() |
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |